Skip to content

Jegard/Craft-RSS-XML-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Example use

{% set feed = craft.rssatomReader.feed('http://open.live.bbc.co.uk/weather/feeds/en/6296595/observations.rss') %}
{% if feed %}
h1 {{ feed.channel.item.title }}
{% endif %}

the feed function also accept cache duration and curl timeout options (both in seconds) feed($url = null, $cache_duration = 86400, $timeout = 1000)

About

A Craft CMS plugin that allows you to display rss/xml feeds within your twig template also includes caching

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages