No documentation

This module has no description. You can help the Ruby community by adding new notes.


CONTENT_PREFIX = 'content'

CONTENT_URI = "http://purl.org/rss/1.0/modules/content/"

DC_PREFIX = 'dc'

DC_URI = "http://purl.org/dc/elements/1.1/"

DublincoreModel = DublinCoreModel

IMAGE_PREFIX = 'image'

IMAGE_URI = 'http://purl.org/rss/1.0/modules/image/'


ITUNES_PREFIX = 'itunes'

ITUNES_URI = 'http://www.itunes.com/dtds/podcast-1.0.dtd'

AVAILABLE_PARSER_LIBRARIES = [ ["rss/xmlparser", :XMLParserParser], ["rss/xmlscanner", :XMLScanParser], ["rss/rexmlparser", :REXMLParser], ]


VERSION = "0.2.4"

URI = "http://purl.org/rss/1.0/"

DEBUG = false

NotExceptedTagError = NotExpectedTagError

UnknownConvertMethod = UnknownConversionMethodError

SLASH_PREFIX = 'slash'

SLASH_URI = "http://purl.org/rss/1.0/modules/slash/"

SY_PREFIX = 'sy'

SY_URI = "http://purl.org/rss/1.0/modules/syndication/"

TAXO_PREFIX = "taxo"

TAXO_URI = "http://purl.org/rss/1.0/modules/taxonomy/"


TRACKBACK_PREFIX = 'trackback'

TRACKBACK_URI = 'http://madskills.com/public/xml/rss/module/trackback/'


Show files where this module is defined (42 files)
Register or log in to add new notes.
February 19, 2014
0 thanks

Undocumented pile of ruby

> If you’d like to read someone’s RSS feed with your Ruby code, you’ve come to the right place

No, you’ve definitely come to wrong place. RSS is one of the worst documented libraries I’ve ever seen for Ruby. It’s as confusing and misleading as it can get.

April 21, 2015
0 thanks

RSS feeds in Rails

Fetching RSS feeds in the request/response cycle inside a Rails application is probably not the very best approach, as it will make your application as slow as the server serving RSS feeds. Another option is to do it asynchronously using a worker or a queue, but this can also become quite complex and hard to maintain over time.

Another solution is to use an API like superfeedr.com and its Rails Engine (http://blog.superfeedr.com/consuming-rss-feeds-rails/). All the polling and parsing is done on Superfeedr’s side and your application is notified in realtime as soon as the resources are updated using a webhook pattern.