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 12:06] – [Formatting the feed items] 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 108: | Line 108: | ||
| 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 on the Settings page, but each campaign can have a custom RSS template, which is entered on the RSS tab. | 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 on the Settings page, but each campaign can have a custom RSS template, which is entered on the RSS tab. | ||
| - | The template | + | In the template placeholders that will be replaced by fields from the item: |
| * [TITLE] | * [TITLE] | ||
| * [URL] | * [URL] | ||
| * [PUBLISHED] | * [PUBLISHED] | ||
| + | * [AUTHOR] | ||
| * [DESCRIPTION] | * [DESCRIPTION] | ||
| * [CONTENT] | * [CONTENT] | ||
| - | A feed entry may provide a short summary instead of, or as well as, the full content. The [DESCRIPTION] placeholder will be replaced by the RSS '' | + | A feed item may provide a short summary instead of, or as well as, the full content. The [DESCRIPTION] placeholder will be replaced by the RSS '' |
| Additionally, | Additionally, | ||
| Line 279: | 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 | ||
| - | ''' | + | 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. |
| - | When an item' | + | There was also a setting for whether to use a feed item's '' |
| - | + | ||
| - | <code html>< | + | |
| - | <link href=" | + | |
| - | + | ||
| - | For a YouTube video the content will be an iframe | + | |
| - | + | ||
| - | <code html>< | + | |
| - | + | ||
| - | For a pdf file the content will be a link to the file. | + | |
| - | <code html>< | + | |
| {{: | {{: | ||