Class: Html2rss::AutoSource::Scraper::Sitemap::Parser::SitemapEntry

Inherits:
Data
  • Object
show all
Defined in:
lib/html2rss/auto_source/scraper/sitemap/parser.rb

Overview

Immutable facts for one sitemap entry

Instance Attribute Summary collapse

Instance Attribute Details

#changefreqObject (readonly)

Returns the value of attribute changefreq

Returns:

  • (Object)

    the current value of changefreq



26
27
28
# File 'lib/html2rss/auto_source/scraper/sitemap/parser.rb', line 26

def changefreq
  @changefreq
end

#priorityObject (readonly)

Returns the value of attribute priority

Returns:

  • (Object)

    the current value of priority



26
27
28
# File 'lib/html2rss/auto_source/scraper/sitemap/parser.rb', line 26

def priority
  @priority
end

#published_atObject (readonly)

Returns the value of attribute published_at

Returns:

  • (Object)

    the current value of published_at



26
27
28
# File 'lib/html2rss/auto_source/scraper/sitemap/parser.rb', line 26

def published_at
  @published_at
end

#titleObject (readonly)

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



26
27
28
# File 'lib/html2rss/auto_source/scraper/sitemap/parser.rb', line 26

def title
  @title
end

#urlObject (readonly)

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



26
27
28
# File 'lib/html2rss/auto_source/scraper/sitemap/parser.rb', line 26

def url
  @url
end