Namespace

Rss – 1

RSS, Atom, and JSON Feed parsing plus discovery and download helpers for GLib-based applications.

Version1.0.alpha
AuthorsChristian Hergert
LicenseLGPL-2.1-or-later
Websitehttps://gitlab.gnome.org/chergert/rss-glib/
Sourcehttps://gitlab.gnome.org/chergert/rss-glib/

Build

C headersrss-glib.h
pkg-config filesrss-glib-1

Dependencies

GLib—2.0 The base type system library
Browse documentation
GObject—2.0 The base type system library
Browse documentation
Gio—2.0 GObject Interfaces and Objects, Networking, IPC, and I/O
Browse documentation
Dex—1 Future-based programming for GNOME
Browse documentation

Additional documentation

Classes

Article

A normalized feed entry that preserves typed and alternate content.

Attachment

An immutable media attachment or enclosure associated with an article.

Content

An immutable, typed content representation from a feed.

Discovery

Helper object that discovers the feed format for a URI.

Document

Collection of articles and metadata for a parsed feed document.

Downloader

Helper object that downloads a configured feed and parses it.

DownloadResult

The result of downloading a feed representation.

ExtractedArticle

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

Extractor

Extracts article content from HTML by combining metadata harvesting with Readability-style content extraction.

Feed

A configured feed source discovered from a document URI.

Format

Base class for format deserialization.

FormatAtom

Atom format deserializer implementation.

FormatJsonFeed

JSON Feed deserializer implementation.

FormatRss

RSS 2.0 format deserializer implementation.

OpmlDocument

An immutable parsed OPML document.

OpmlOutline

An immutable OPML outline item.

OpmlParser

Parser that turns OPML bytes into a RssOpmlDocument.

OpmlWriter

Builder for simple OPML documents.

Parser

Parser that turns feed bytes into a document.

Enumerations

ContentKind

Describes how the inline bytes of an RssContent are encoded. External content uses the same kind to describe the representation at its URI when the feed supplies enough information to determine it.

DownloadStatus

The result of conditionally downloading a feed representation.

ExtractedMetadata

Error Domains

Error

Errors returned by feed and OPML discovery, download, and parsing operations.

ExtractionError

Functions

error_quark

Gets the error domain used for feed and OPML discovery, download, and parsing failures.

extraction_error_quark

Gets the error domain used for extraction failures.