Sha256: 1c5e2d409ea45fe34760377b61e66b23c3431c4a1ce21ba4d0cb5cd850af1d21

Contents?: true

Size: 713 Bytes

Versions: 7

Compression:

Stored size: 713 Bytes

Contents

module Feedzirra
  # == 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

Version data entries

7 entries across 7 versions & 4 rubygems

Version Path
astro-feedzirra-0.0.8.20090419 lib/feedzirra/atom_entry.rb
dinsley-feedzirra-0.0.8 lib/feedzirra/atom_entry.rb
eric-feedzirra-0.0.8 lib/feedzirra/atom_entry.rb
pauldix-feedzirra-0.0.10 lib/feedzirra/atom_entry.rb
pauldix-feedzirra-0.0.7 lib/feedzirra/atom_entry.rb
pauldix-feedzirra-0.0.8 lib/feedzirra/atom_entry.rb
pauldix-feedzirra-0.0.9 lib/feedzirra/atom_entry.rb