Reads multiple feeds. Output can be customized via templates. Is displayed via Shortcodes.
This plugin was created with the iTunes Podcast Feed in mind. However, you can feed it any RSS feed you like. If you would like to display some tags which are not supported right now, please feel free to contact me.
Create a template “myfeeds” in Settings > Multi Feed Reader
.
Add your Feeds.
Create a page and paste in one of these shortocdes:
[multi-feed-reader template="myfeeds"] [multi-feed-reader template="myfeeds" limit="10"] [multi-feed-reader template="myfeeds" cachetime="300"]
Enjoy 🙂
template
: (required) name of the templatelimit
: (optional) maximum number of items per feed. default: 15cachetime
: (optional) time in seconds to cache results. default: 300nocache
: (optional) set to “1” to deactivate cache. not recommended, will make your multifeed-page very slow. default: 0To clear the cache, call the site with parameter ?nocache=1
. So if your site is example.com/archives
, open example.com/archives?nocache=1
in your browser. You should then see the refreshed page immediately.
You can specify a custom template to display the archive elements.
Go to Settings > Multi Feed Reader
for plugin preferences.
Use HTML and any of the following template placeholders.
%TITLE%
– Episode title (<title>).%SUBTITLE%
– Episode subtitle (<itunes:subtitle>).%CONTENT%
– Episode content (<content:encoded>).%CONTENT|...%
– Same as above but truncated to the given amount of words.%DURATION%
– Episode duration (<itunes:duration>).%SUMMARY%
– Episode summary (<itunes:summary>).%LINK%
– Episode link (<link>).%GUID%
– Episode Globally Unique Identifier (<guid>)%DESCRIPTION%
– Episode description (<itunes:description> or <description>).%DESCRIPTION|...%
– Same as above but truncated to the given amount of words.%ENCLOSURE%
– Url of first episode enclosure (<enclosure> url attribute).%THUMBNAIL%
– Thumbnail tag in original size (<itunes:image>).%THUMBNAIL|...x...%
– Same as above but with certain dimensions. Example: %THUMBNAIL|75x75%
.%DATE%
– Episode publish date (<pubDate>) in WordPress default format. %DATE|...%
– Same as above but in a custom format. Example: %DATE|Y/m/d%
.Access data from app store feeds:
Use these placeholders to access global feed data:
%FEEDTITLE%
– Feed title (<title>).%FEEDSUBTITLE%
– Feed subtitle (<itunes:subtitle>).%FEEDSUMMARY%
– Feed summary (<itunes:summary>).%FEEDLINK%
– Feed link (<link>).%FEEDLANGUAGE%
– Feed language (<language>).%FEEDTHUMBNAIL%
– Feed image (<itunes:image>).%FEEDTHUMBNAIL|...x...%
– Same as above but with certain dimensions. Example: %FEEDTHUMBNAIL|75x75%
.multi-feed-reader
directory to the /wp-content/plugins/
directorySettings > Multi Feed Reader
and create a template[multi-feed-reader template="mytemplate"]
in your post or pagemulti-feed-reader
directory to the /wp-content/plugins/
directorySettings > Multi Feed Reader
and create a template[multi-feed-reader template="mytemplate"]
in your post or pagePHP 5.3 is available since June 2009.
It introduced some long overdue features to the language and I refuse to support legacy junk.
Please ask your hoster to update, kindly.
That depends on two aspects: Feed response time and feed size. Each feed you add increases the time needed to display the final page. The results are cached, so most of the time the page will render in a snap. If you’d like to see how long the page rendering takes when the cache is expired, have a look at the logfile (/wp-content/multi-feed-reader/reader.log). Look for the last line containing “template generated”. It contains the durations.
Rule of thumb: On average, one feed requires one second. 5 Feeds are fine. 10 might work. 20 is probably too much. Your mileage may vary 🙂
That would be awesome!
Visit https://github.com/eteubert/multi-feed-reader, fork the project, add your feature and create a Pull Request. I’ll be happy to review and add your changes.
mysql_insert_id()
)%CONTENT|...%
cachetime
parameterDESCRIPTION|...
placeholder%THUMBNAIL%
: Use <itunes:image> if available. Otherwise, look for the first suitable <img> in <content:encoded>%FEEDTITLE%
, %FEEDSUBTITLE%
, %FEEDSUMMARY%
, %FEEDLINK%
, %FEEDLANGUAGE%
, %FEEDTHUMBNAIL%
, %FEEDTHUMBNAIL|...x...%