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.
Instance methods
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_get_confidence
Returns a score describing how confident the extractor is in the result.
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.