0.0
Low commit activity in last 3 years
No release in over a year
Creates microblog posts from different identities by subscribing to the SPS topic 'notices/*' by default.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.7, >= 0.7.3
~> 0.7, >= 0.7.4
~> 0.4, >= 0.4.1
~> 0.3, >= 0.3.3
~> 0.3, >= 0.3.7
 Project Readme

Introducing the MyNotificationsSubscriber gem

This example listens for an SPS topic which contains a notice e.g. 'notice/weather' and publishes a microblog entry to the specified file directory.

require 'mns_subscriber'


options = {
  url_base: 'http://www.jamesrobertson.eu/', 
  dx_xslt: '/xsl/dynarex-b.xsl', 
  rss_xslt: '/xsl/feed.xsl', 
  target_page: :page, 
  target_xslt: '/tmp/page.xsl'
}

mnss = MNSSubscriber.new(host: 'sps', port: 59000, 
  dir: '/home/james/jamesrobertson.eu/notices', options: options)
mnss.subscribe topic: 'notice/*'

Note: If a new kind of notice is received the system will automatically create a new microblog feed for it.

Resources

mns_subscriber sps notices feed microblog