Contributors: oeschger and pickettj Tags: feed, rss, archive, shortcode, custom, template, html, customizable Requires at least: 3.0 Tested up to: 3.7.5 Stable tag: trunk
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 > WReader
.
Add your Feeds.
Create a page and paste in one of these shortocdes:
[wreader template="myfeeds"]
[wreader template="myfeeds" limit="10"]
[wreader template="myfeeds" cachetime="300"]
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: 0
To 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 > WReader
for plugin preferences.
Use HTML and any of the following template placeholders.
%TITLE%
- Item title (<title>).%SUBTITLE%
- Item subtitle (<itunes:subtitle>).%CONTENT%
- Item content (<content:encoded>).%CONTENT|...%
- Same as above but truncated to the given amount of words.%SUMMARY%
- Item summary (<itunes:summary>).%LINK%
- Item link (<link>).%DESCRIPTION%
- Item description (<itunes:description> or <description>).%DESCRIPTION|...%
- Same as above but truncated to the given amount of words.%THUMBNAIL%
- Thumbnail tag in original size (<itunes:image>).%THUMBNAIL|...x...%
- Same as above but with certain dimensions. Example:%THUMBNAIL|75x75%
.%DATE%
- Item publish date (<pubDate>) in WordPress default format.%DATE|...%
- Same as above but in a custom format. Example:%DATE|Y/m/d%
.
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%
.
- Upload the
wreader
directory to the/wp-content/plugins/
directory - Activate the plugin through the 'Plugins' menu in WordPress
- Go to
Settings > WReader
and create a template - Place
[wreader template="mytemplate"]
in your post or page