Sha256: aada90381af8960441bf5d32e257bb68f2e9e5c3223f65a6623ba4bb6432644d
Contents?: true
Size: 957 Bytes
Versions: 10
Compression:
Stored size: 957 Bytes
Contents
module Feedjira module Parser # Parser for dealing with Feedburner Atom feed entries. class AtomFeedBurnerEntry include SAXMachine include FeedEntryUtilities element :title element :name, :as => :author element :link, :as => :url, :value => :href, :with => {:type => "text/html", :rel => "alternate"} element :"feedburner:origLink", :as => :url element :summary element :content element :"media:content", :as => :image, :value => :url element :enclosure, :as => :image, :value => :href element :published element :id, :as => :entry_id element :issued, :as => :published element :created, :as => :published element :updated element :modified, :as => :updated elements :category, :as => :categories, :value => :term elements :link, :as => :links, :value => :href def url @url ||= links.first end end end end
Version data entries
10 entries across 10 versions & 1 rubygems