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/05/20 00:00] – external edit 127.0.0.1 | plugin:rssfeed [2025/03/07 13:24] (current) – [Formatting the feed items] duncanc | ||
---|---|---|---|
Line 39: | Line 39: | ||
==== Enter the RSS placeholder in the message content or the message template ==== | ==== Enter the RSS placeholder in the message content or the message template ==== | ||
- | You must include the [RSS] placeholder in the message area on the Content tab. You can include other markup if necessary. | + | You must include the [RSS] placeholder in the message area on the Content tab. You can include other markup if necessary. Alternatively The [RSS] placeholder can be included in the message template instead of the message content. |
- | <WRAP left round info 60%> | ||
- | Starting in release 2.4.2 of the plugin, the [RSS] placeholder can be included in the message template instead of the message content. | ||
- | </ | ||
==== RSS campaign schedule ==== | ==== RSS campaign schedule ==== | ||
Line 118: | 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 131: | 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 156: | Line 159: | ||
===== Retrieving RSS feed items ===== | ===== Retrieving RSS feed items ===== | ||
- | The plugin needs to periodically get new items from the feed. This can be done manually, using menu Campaigns > Fetch RSS items, or it can be automated using a cron job. The command will be similar to this for phplist release 3.0.9 or later, or if you are using php-cli with an earlier release of phplist | + | The plugin needs to periodically get new items from the feed. This can be done manually, using menu Campaigns > Fetch RSS items, or it can be automated using a cron job. The command will be similar to this (but adjust for the directory in which phplist is installed |
- | '' | + | '' |
- | With phpList 3.3.7 or later you can also run the command as a remote page if your cron job is limited to fetching web pages and cannot run linux commands. The URL for the remote page is | + | You can also run the command as a remote page if your cron job is limited to fetching web pages and cannot run linux commands. The URL for the remote page is |
< | < | ||
Line 186: | 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. | + | 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 unused feeds, those that have no items and are not used by any campaigns. |
- | 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 '' |
+ | The '' | ||
- | '' | + | '' |
- | You can also run the command as a remote page if you have a limited cron capability. This approach fetches the page using a linux command such as wget or curl. The URL requires the //Secret for remote processing// | + | You can also run the command as a remote page if you have a limited cron capability. This approach fetches the page using a linux command such as wget or curl. The URL requires the //Secret for remote processing// |
- | '' | + | '' |
Line 270: | Line 274: | ||
* 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. |