parse-atom-content.rb

Path: parse-atom-content.rb
Last Update: Wed Aug 10 15:51:28 EDT 2005

Required files

rexml/document   test/unit   base64  

Methods

text  

Public Instance methods

Parse an atom:title, atom:summary, atom:content, or atom:rights element and return its contents as text; i.e., unencode that which is encoded, and return the rest as is.

This processing model is described in sections 3.1.1 and 4.1.3 of the Atom Syndication Format. Most of the bits relevant to the subject at hand can be found at: <tinyurl.com/945r5>.

[Validate]