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 [2026/02/16 11:49] – [Add an RSS feed] duncanc | plugin:rssfeed [2026/02/17 13:56] (current) – [Formatting the feed items] duncanc | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| ====== Purpose ====== | ====== Purpose ====== | ||
| - | This plugin lets you create campaigns that include content from RSS and Atom feeds and are automatically repeated at regular intervals. | + | This plugin lets you create campaigns that include content from an RSS or Atom feed and which are automatically repeated at regular intervals. |
| So, for example, you can have a campaign that is sent every day at 09:00 which contains items from an RSS feed that were published in the previous day. | So, for example, you can have a campaign that is sent every day at 09:00 which contains items from an RSS feed that were published in the previous day. | ||
| Line 106: | Line 106: | ||
| ==== Formatting the feed items ==== | ==== Formatting the feed items ==== | ||
| - | When phplist is building the email to be sent the plugin replaces the [RSS] placeholder in the message content by the available feed items, each of which is formatted using an RSS template. The default RSS template is specfied | + | When phplist is building the email to be sent the plugin replaces the [RSS] placeholder in the message content by the available feed items, each of which is formatted using an RSS template. The default RSS template is specified |
| - | The template | + | In the template placeholders that will be replaced by fields from the item: |
| - | * [CONTENT] | + | |
| * [TITLE] | * [TITLE] | ||
| * [URL] | * [URL] | ||
| * [PUBLISHED] | * [PUBLISHED] | ||
| + | * [AUTHOR] | ||
| + | * [DESCRIPTION] | ||
| + | * [CONTENT] | ||
| - | The source | + | A feed item may provide a short summary instead |
| Additionally, | Additionally, | ||
| Line 278: | Line 280: | ||
| * The php '' | * The php '' | ||
| * The php '' | * The php '' | ||
| - | * 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. | ||
| - | * The maximum size of the HTTP body of the feed response. | ||
| - | * Whether to use the summary content or full content for the [CONTENT] placeholder. | ||
| - | The set of whitelisted tags are | ||
| - | |||
| - | ''' | ||
| - | |||
| - | When an item's URL field (taken from the '' | ||
| - | |||
| - | <code html>< | ||
| - | <link href=" | ||
| - | |||
| - | For a YouTube video the content will be an iframe element that refers to the video. This is not really useful because many email clients will not display an iframe element. | ||
| - | <code html>< | + | The plugin used to have settings for allowing only whitelisted tags, generating special content for a Youtube URL, and specifying the maximum size of the HTTP response. These were specific to the Picofeed package which is no longer used. |
| - | For a pdf file the content will be a link to the file. | + | There was also a setting for whether to use a feed item's '' |
| - | <code html>< | + | |
| {{: | {{: | ||