class

Fetcher::RSSParser

Inherits Fetcher::XMLHelper < Fetcher::EntryParser < Reference < Object

RSS and Atom feed parser implementation

Constants

MAX_ENTITY_DEFINITIONS = 10

Maximum entity definitions allowed before suspecting entity expansion attack

Instance methods

parse_all(data : String, limit : Int32) : Tuple(Array(Entry), FeedMetadata)
Source
parse_all(xml : XML::Document, limit : Int32) : Tuple(Array(Entry), FeedMetadata)
Source
parse_entries(data : String, limit : Int32, strip_content : Bool = false) : Array(Entry)
Source
parse_entries(xml : XML::Document, limit : Int32, strip_content : Bool = false) : Array(Entry)
Source
parse_feed_metadata(data : String) : FeedMetadata
Source
parse_feed_metadata(xml : XML::Document) : FeedMetadata
Source
parse_xml_document(data : String) : XML::Document
Source