Class: Html2rss::AutoSource::Scraper::SemanticHtml::Entry

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

Overview

Container plus selected anchor, scoring metadata, and extracted article.

Instance Attribute Summary collapse

Instance Attribute Details

#articleObject (readonly)

Returns the value of attribute article

Returns:

  • (Object)

    the current value of article



25
26
27
# File 'lib/html2rss/auto_source/scraper/semantic_html.rb', line 25

def article
  @article
end

#containerObject (readonly)

Returns the value of attribute container

Returns:

  • (Object)

    the current value of container



25
26
27
# File 'lib/html2rss/auto_source/scraper/semantic_html.rb', line 25

def container
  @container
end

#destination_factsObject (readonly)

Returns the value of attribute destination_facts

Returns:

  • (Object)

    the current value of destination_facts



25
26
27
# File 'lib/html2rss/auto_source/scraper/semantic_html.rb', line 25

def destination_facts
  @destination_facts
end

#final_scoreObject (readonly)

Returns the value of attribute final_score

Returns:

  • (Object)

    the current value of final_score



25
26
27
# File 'lib/html2rss/auto_source/scraper/semantic_html.rb', line 25

def final_score
  @final_score
end

#junk_scoreObject (readonly)

Returns the value of attribute junk_score

Returns:

  • (Object)

    the current value of junk_score



25
26
27
# File 'lib/html2rss/auto_source/scraper/semantic_html.rb', line 25

def junk_score
  @junk_score
end

#positionObject (readonly)

Returns the value of attribute position

Returns:

  • (Object)

    the current value of position



25
26
27
# File 'lib/html2rss/auto_source/scraper/semantic_html.rb', line 25

def position
  @position
end

#quality_scoreObject (readonly)

Returns the value of attribute quality_score

Returns:

  • (Object)

    the current value of quality_score



25
26
27
# File 'lib/html2rss/auto_source/scraper/semantic_html.rb', line 25

def quality_score
  @quality_score
end

#selected_anchorObject (readonly)

Returns the value of attribute selected_anchor

Returns:

  • (Object)

    the current value of selected_anchor



25
26
27
# File 'lib/html2rss/auto_source/scraper/semantic_html.rb', line 25

def selected_anchor
  @selected_anchor
end