meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| plugin:rssfeed [2024/12/22 14:00] – [Deleting RSS feed items] duncanc | plugin:rssfeed [2025/06/05 11:02] (current) – [Deleting all items] duncanc | ||
|---|---|---|---|
| Line 115: | Line 115: | ||
| The source of the content depends on the type of feed. For an RSS feed the '' | The source of the content depends on the type of feed. For an RSS feed the '' | ||
| - | The published date is formatted using a configuration setting. The default is to display as dd/mm/yyyy hh:mm. | ||
| Additionally, | Additionally, | ||
| Line 128: | Line 127: | ||
| The template is on the Settings page in the RSS Settings group. | The template is on the Settings page in the RSS Settings group. | ||
| + | |||
| + | === Formatting the published date === | ||
| + | |||
| + | If the php '' | ||
| + | {{: | ||
| + | |||
| + | If the php '' | ||
| ==== Send a test message ==== | ==== Send a test message ==== | ||
| Line 183: | Line 189: | ||
| ===== Deleting RSS feed items ===== | ===== Deleting RSS feed items ===== | ||
| - | Once feed items have been included in a campaign there is no need to keep them in the phplist database. To delete items older than a number of days use the menu Campaigns > Delete outdated RSS items. You can also select to delete feeds that have no items and are not used by any campaigns. | + | Once feed items have been included in a campaign there is no need to keep them in the phplist database. To delete items older than a number of days use the menu Campaigns > Delete outdated RSS items. You can also select to delete |
| The command can also be automated using a cron job. The command will be similar to this (but adjust for the directory in which phplist is installed). The '' | The command can also be automated using a cron job. The command will be similar to this (but adjust for the directory in which phplist is installed). The '' | ||
| Line 195: | Line 201: | ||
| + | ==== Deleting all items ==== | ||
| + | During testing of an RSS campaign it can be useful to remove all items so that the feed can be re-fetched. The page has a **Reset feeds** function which will delete all items and reset the '' | ||
| ===== View email in browser ===== | ===== View email in browser ===== | ||
| Line 268: | Line 276: | ||
| * Text to append when the title of the latest item is used in the subject. | * Text to append when the title of the latest item is used in the subject. | ||
| * Additional feed elements that should be included in each item's data. | * Additional feed elements that should be included in each item's data. | ||
| - | * The format to be used to display the published date. | + | * The php '' |
| + | * The php '' | ||
| * Whether to filter item content for whitelisted tags only. The default is to filter. | * Whether to filter item content for whitelisted tags only. The default is to filter. | ||
| * Whether to generate special content when an item's URL field is to YouTube or to a pdf file. The default is not to generate the special content. | * Whether to generate special content when an item's URL field is to YouTube or to a pdf file. The default is not to generate the special content. | ||