No documentation

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

Constants

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://web.resource.org/rss/1.0/modules/image/'

IMAGE_ELEMENTS = []

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

AVAILABLE_PARSERS = []

VERSION = "0.1.6"

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

DEBUG = false

NotExceptedTagError = NotExpectedTagError

UnknownConvertMethod = UnknownConversionMethodError

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/"

TAXO_ELEMENTS = []

TRACKBACK_PREFIX = 'trackback'

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

Attributes

Show files where this module is defined (28 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.

November 13, 2015 - (v1_9_3_125 - v1_9_3_392)
0 thanks

What you really want is

The official Ruby documentation is available for this here http://ruby-doc.org/stdlib-2.2.3/libdoc/rss/rdoc/RSS.html

But the library that will be most helpful to you is called Feedjira: http://feedjira.com/