There are no reviews yet. Be the first to send feedback to the community and the maintainers!
== Feed Normalizer An extensible Ruby wrapper for Atom and RSS parsers. Feed normalizer wraps various RSS and Atom parsers, and returns a single unified object graph, regardless of the underlying feed format. == Download * gem install feed-normalizer * http://rubyforge.org/projects/feed-normalizer * svn co http://feed-normalizer.googlecode.com/svn/trunk == Usage require 'feed-normalizer' require 'open-uri' feed = FeedNormalizer::FeedNormalizer.parse open('http://www.iht.com/rss/frontpage.xml') feed.title # => "International Herald Tribune" feed.url # => "http://www.iht.com/pages/index.php" feed.entries.first.url # => "http://www.iht.com/articles/2006/10/03/frontpage/web.1003UN.php" feed.class # => FeedNormalizer::Feed feed.parser # => "RSS::Parser" Now read an Atom feed, and the same class is returned, and the same terminology applies: feed = FeedNormalizer::FeedNormalizer.parse open('http://www.atomenabled.org/atom.xml') feed.title # => "AtomEnabled.org" feed.url # => "http://www.atomenabled.org/atom.xml" feed.entries.first.url # => "http://www.atomenabled.org/2006/09/moving-toward-atom.php" The feed representation stays the same, even though a different parser was used. feed.class # => FeedNormalizer::Feed feed.parser # => "SimpleRSS" == Cleaning / Sanitizing feed.title # => "My Feed > Your Feed" feed.entries.first.content # => "<p x='y'>Hello</p><object></object></html>" feed.clean! All elements should now be either clean HTML, or HTML escaped strings. feed.title # => "My Feed > Your Feed" feed.entries.first.content # => "<p>Hello</p>" == Extending Implement a parser wrapper by extending the FeedNormalizer::Parser class and overriding the public methods. Also note the helper methods in the root Parser object to make mapping of output from the particular parser to the Feed object easier. See FeedNormalizer::RubyRssParser and FeedNormalizer::SimpleRssParser for examples. == Authors * Andrew A. Smith ([email protected]) This library is released under the terms of the BSD License (see the License.txt file for details).
ofx-parser
Parses OFXmac-wasd-keyboard
A modern mac keyboard layout for a WASD V2 keyboardopenx
A ruby interface the the OpenX XML-RPC interfacebankjob
Bankjob fetches financial data from your bank or other financial institution. For a more generalized interface into many more institutions, try the yodlee project.yodlee
Fetch accounting data from the Yodlee MoneyCenter.struggle
A rules-enforced version of the board game Twilight Struggle.penfold
Penfold can hypothesize and/or track covered call positions, real or imaginary.iron-tank
Iron-tank is your bank.docker-haproxy
Dockerized HAProxy for ARM64v8.2-a and amd64 + OpenSSL 3.xib-ruby
Interactive Brokers TWS Ruby Interfaceiam2tf
Converts AWS IAM policies into Terraform's `aws_iam_policy_document` format.oh
An API for OptionsHouse (http://optionshouse.com).naf
naf is not a framework.haproxy-examples
Various interesting / lesser-known haproxy examples.plastic-pig
A place for coins.aws-price-lists
Fetches, converts, and uploads AWS price list SKUs to a static sitehaskell-learning
Notes and exercises for learning Haskell.proxsee
Proxsee provides unit testing for your proxy routing layer!consim
Container Scheduler Simulatordocker-httpterm
A docker image for Willy Tarreu's http terminatorLove Open Source and this site? Check out how you can help us