Class

RssExtractedArticle

Description

final class Rss.ExtractedArticle : GObject.Object
{
  /* No available fields */
}

Result object returned by rss_extractor_extract_bytes() and rss_extractor_extract_stream().

It stores the extracted article in multiple renderings together with the metadata that was recovered from the source page. Metadata values are kept in an internal string hash table and exposed through field-specific getters.

Hierarchy

hierarchy this RssExtractedArticle ancestor_0 GObject ancestor_0--this

Ancestors

Instance methods

rss_extracted_article_dup_content

Duplicates the extracted article text content.

rss_extracted_article_dup_html

Duplicates the extracted article as cleaned HTML. The HTML is a reduced article rendering, not a general-purpose sanitizer for arbitrary caller markup. Anchor and image URLs are sanitized before they are emitted.

rss_extracted_article_dup_markdown

Duplicates the extracted article as Markdown. Links are reduced to safe navigation targets and image destinations are limited to http and https URLs. Unsafe source URLs are omitted from the Markdown output.

rss_extracted_article_dup_metadata

Duplicates one field from the extracted article metadata.

rss_extracted_article_dup_title

Duplicates the extracted article title.

rss_extracted_article_get_confidence

Returns a score describing how confident the extractor is in the result.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct RssExtractedArticleClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.