module Feedzirra module Parser # == Summary # Parser for dealing with RDF feed entries. # # == Attributes # * title # * url # * author # * content # * summary # * published # * categories class RSSEntry include SAXMachine include FeedEntryUtilities element :title element :link, :as => :url element :"feedburner:origLink", :as => :original_url element :"dc:creator", :as => :author element :author, :as => :author element :"content:encoded", :as => :content element :description, :as => :summary element :pubDate, :as => :published element :pubdate, :as => :published element :"dc:date", :as => :published element :"dc:Date", :as => :published element :"dcterms:created", :as => :published element :"dcterms:modified", :as => :updated element :issued, :as => :published elements :category, :as => :categories element :guid # TODO: wtf... sometimes type="image/jpeg", sometimes medium="image", what are we to do? element :"media:content", :as => :image, :value => :url end end end