Class

Parser

Extends:

There's no documentation for this item.

Public Methods
default_parser
default_parser= Set @@default_parser to new_value if it is one of the available parsers. Else raise NotValidXMLParser error.
new
parse
Private Methods
maybe_xml? maybe_xml? tests if source is a string that looks like XML.
normalize_rss Try to get the XML associated with rss. Return rss if it already looks like XML, or treat it as a URI, or a file to get the XML,
to_uri Attempt to convert rss to a URI, but just return it if there’s a ::URI::Error
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.