Sha256: 1b7e273a55667ced94511fe7562d7a8dc17be5df10381deb01674aa67b9c3900

Contents?: true

Size: 796 Bytes

Versions: 37

Compression:

Stored size: 796 Bytes

Contents

module Feedzirra
  
  module Parser
    # == Summary
    # Parser for dealing with Atom feed entries.
    #
    # == Attributes
    # * title
    # * url
    # * author
    # * content
    # * summary
    # * published
    # * categories
    class AtomEntry
      include SAXMachine
      include FeedEntryUtilities
      element :title
      element :link, :as => :url, :value => :href, :with => {:type => "text/html", :rel => "alternate"}
      element :name, :as => :author
      element :content
      element :summary
      element :published
      element :id
      element :created, :as => :published
      element :issued, :as => :published
      element :updated
      element :modified, :as => :updated
      elements :category, :as => :categories, :value => :term
    end

  end
  
end

Version data entries

37 entries across 37 versions & 11 rubygems

Version Path
UnderpantsGnome-feedzirra-0.0.14 lib/feedzirra/parser/atom_entry.rb
UnderpantsGnome-feedzirra-0.0.15 lib/feedzirra/parser/atom_entry.rb
UnderpantsGnome-feedzirra-0.0.16 lib/feedzirra/parser/atom_entry.rb
astro-feedzirra-0.0.12 lib/feedzirra/parser/atom_entry.rb
jsl-feedzirra-0.0.12.1 lib/feedzirra/parser/atom_entry.rb
jsl-feedzirra-0.0.12.10 lib/feedzirra/parser/atom_entry.rb
jsl-feedzirra-0.0.12.12 lib/feedzirra/parser/atom_entry.rb
jsl-feedzirra-0.0.12.2 lib/feedzirra/parser/atom_entry.rb
jsl-feedzirra-0.0.12.3 lib/feedzirra/parser/atom_entry.rb
jsl-feedzirra-0.0.12.4 lib/feedzirra/parser/atom_entry.rb
jsl-feedzirra-0.0.12.5 lib/feedzirra/parser/atom_entry.rb
jsl-feedzirra-0.0.12.6 lib/feedzirra/parser/atom_entry.rb
jsl-feedzirra-0.0.12.7 lib/feedzirra/parser/atom_entry.rb
jsl-feedzirra-0.0.12.8 lib/feedzirra/parser/atom_entry.rb
jsl-feedzirra-0.0.12.9 lib/feedzirra/parser/atom_entry.rb
julien51-feedzirra-0.0.13 lib/feedzirra/parser/atom_entry.rb
julien51-feedzirra-0.0.14 lib/feedzirra/parser/atom_entry.rb
julien51-feedzirra-0.0.16 lib/feedzirra/parser/atom_entry.rb
logophobia-feedzirra-0.0.15 lib/feedzirra/parser/atom_entry.rb
logophobia-feedzirra-0.0.16 lib/feedzirra/parser/atom_entry.rb