Skip to content

Craft plugin for pulling and using RSS data in templates.

License

Notifications You must be signed in to change notification settings

webremote/craft-feeder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Feeder Craft Plugin

Give the plugin a remote RSS/Atom feed, or maybe just some XML, and get the data back to use in your templates.

{% set feed = craft.feeder.getFeed('http://feeds.feedburner.com/workingconcept') %}
{% set posts = feed.channel.item %}

{% for post in posts %}
<h3>{{ post.title }}</h3>
{{ post.description | raw }}
{% endfor %}

Installation

Drop the feeder folder into craft/plugins, then visit the Plugins section of the control panel and install.

Trouble?

The plugin uses Craft's included Guzzle library to pull the URL you provide, so if things don't go well it's probably because of a bogus feed URL, a poorly-formatted feed, or something Matt overlooked during his five minutes of testing.

GitHub issues and pull requests welcome!

About

Craft plugin for pulling and using RSS data in templates.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%