rluders / feedreader
Feed Reader plugin for OctoberCMS
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 1
Type:october-plugin
Requires
- php: >=5.5.9
- composer/installers: ~1.0
- p3k/picofeed: dev-master
README
This plugin provides an extensive and simple component that allows you to get a list from any feed and place it into your website. It's excellent if you need to display your WordPress blog posts on your October CMS website.
Installation
FAQ
Does it support multiple feed components in one page
Yes. It does support. Just remember to rename the component alias.
Can I merge two feeds?
Yes. You can! Just add all the feed URLs that you wanna merge into the Feed URL
component property, separated by ;
.
Example: http://site1.com/feed;http://site2.com/feed
Component Implementation
[feedList] ... == {% component "feedList" %}
It's better if you just drag the component to your page an them configure it.
Component Properties
- Feed URL, must be a valid URL address to the XML feed that you wanna read.
- Expire cache (in minutes), how much time the plugin will keep a cache from the feed.
Overwrite the component
If you choose to overwrite the default partial, the feed item has this following attributes that can be used inside the for loop:
Item id
string
{{ item.id }}
Item title
string
{{ item.title }}
Item url
string
{{ item.url }}
Item author
string
{{ item.author }}
Item date
DateTime
{{ item.date }}
Item published date
DateTime
{{ item.publishedDate }}
Item updated date
DateTime
{{ item.updatedDate }}
Item content
string
{{ item.content }}
Item enclosure url
string
{{ item.enclosureUrl }}
Item enclusure type
string
{{ item.enclosureType }}
Item language
string
{{ item.language }}
Item categories
array
{{ item.categories }}
License
GPLv3