content.ini [RSSImportCleanupSettings]
The block [RSSImportCleanupSettings] of settings/content.ini, with 6 setting(s).
Never edit settings/content.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/content.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/content.ini.append.phpfor one siteaccess,extension/<extension>/settings/content.ini.append.phpin an extension (read when the extension is active).
Enabled
Trims what the RSS import has created, keeping the newest items of each feed.
An import run adds an object for every item in the feed and never takes one
away, so a site importing a busy feed grows without limit. Run it from the
cronjob part 'cleanuprss', or by hand:php bin/php/cleanuprss.php --dry-run
Nothing happens until Enabled is true AND ClassIdentifiers names at least one
class: this removes content, and on an installation that has not been set up
for it there is no safe guess about what may go.
Off until the site says otherwise.
Default: false.
# settings/override/content.ini.append.php
[RSSImportCleanupSettings]
Enabled=false
*/ ?>KeepPerFeed
How many items to keep per feed, newest first. Must be at least 1.
Default: 100.
# settings/override/content.ini.append.php
[RSSImportCleanupSettings]
KeepPerFeed=100
*/ ?>ClassIdentifiers
The classes that may be removed. Class identifiers, and nothing outside this
list is touched however old it is - so a folder or a page that happens to sit
in the destination is safe. Empty means nothing is removed.
Example:
ClassIdentifiers[]=article
Default: an empty list.
# settings/override/content.ini.append.php
[RSSImportCleanupSettings]
# an empty "ClassIdentifiers[]" first replaces the shipped list; without it the items are added
ClassIdentifiers[]
*/ ?>CleanupUser
Removing is permission checked, so it runs as somebody who may remove.
Default: admin.
# settings/override/content.ini.append.php
[RSSImportCleanupSettings]
CleanupUser=admin
*/ ?>LogFile
Where the run is recorded. Empty writes no file.
Default: rsscleanup.log.
# settings/override/content.ini.append.php
[RSSImportCleanupSettings]
LogFile=rsscleanup.log
*/ ?>MoveToTrash
Whether removed items go to the trash, where they can be recovered, or are
deleted outright. Trash on a busy feed is itself something to empty.
Default: true.
# settings/override/content.ini.append.php
[RSSImportCleanupSettings]
MoveToTrash=true
*/ ?>Related
Generated by ./console exp:help:examples from settings/content.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.