0.0
Low commit activity in last 3 years
No release in over a year
A public facing noticeboard which is centered around an RSS feed.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.1, >= 0.1.8
~> 0.2, >= 0.2.0
~> 0.2, >= 0.2.1
~> 0.6, >= 0.6.0
 Project Readme

Creating a feed using the daily_notices gem

Usage

require 'daily_notices'

notices = DailyNotices.new '/tmp/feed', url_base: 'http://www.jamesrobertson.eu/', \
dx_xslt: '/xsl/dynarex-b.xsl', rss_xslt: '/xsl/feed.xsl'
notices.add item: {title: 'testing something 123'}

The above snippet creates a directory called feed in the /tmp file directory. In that subdirectory is a feed.xml which contains the most recent entries. Entries older than a day are archived in the archive directory, organised by year, month, and day.

Resources

dailynotices notices feed rss