Class
RssExtractor
Description
final class Rss.Extractor : GObject.Object
{
/* No available fields */
}
Extracts article content from HTML by combining metadata harvesting with Readability-style content extraction.
The extractor looks for article metadata in Open Graph tags, X/Twitter Card tags, JSON-LD, and HTML link relations. It then removes boilerplate, segments the remaining DOM into text blocks, scores those blocks using link-density and text-density heuristics, suppresses repeated boilerplate, and assembles cleaned text, HTML, and Markdown output.
Useful references for the techniques used here: - Open Graph protocol: https://ogp.me/ - X Cards markup: https://developer.x.com/cards/markup - JSON-LD 1.1: https://www.w3.org/TR/json-ld11/ - HTML link relations: https://html.spec.whatwg.org/multipage/links.html - Readability algorithm: https://github.com/mozilla/readability.
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.