Sha256: 9c282a82bca4a3c62226ebc15fe7a605910dfcad533c87c16044ef08e37910f6

Contents?: true

Size: 812 Bytes

Versions: 2

Compression:

Stored size: 812 Bytes

Contents

module Feedzirra

  module Parser
    # Parser for dealing with RDF feed entries.
    class RSSEntry
      include SAXMachine
      include FeedEntryUtilities
      element :title
      element :link, :as => :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, :as => :entry_id
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
feedzirra-0.0.31 lib/feedzirra/parser/rss_entry.rb
feedzirra-0.0.30 lib/feedzirra/parser/rss_entry.rb