Syndication
atom/document.h
43class SYNDICATION_EXPORT FeedDocument : public Syndication::SpecificDocument, public ElementWrapper
186class SYNDICATION_EXPORT EntryDocument : public Syndication::SpecificDocument, public Syndication::ElementWrapper
A category for categorizing items or whole feeds.
Definition atom/category.h:32
An Atom 1.0 Entry Document, containing a single Atom entry outside of the context of a feed.
Definition atom/document.h:187
bool isValid() const override
returns whether this document is valid or not.
Definition atom/document.cpp:285
bool accept(DocumentVisitor *visitor) override
Used by visitors for double dispatch.
Definition atom/document.cpp:275
EntryDocument()
default constructor, creates a null document, which is invalid.
Definition atom/document.cpp:265
Entry entry() const
returns the single entry described in the source.
Definition atom/document.cpp:280
QString debugInfo() const override
returns a description of this entry document for debugging purposes.
Definition atom/document.cpp:290
an Atom entry, equivalent to the "items" in the RSS world.
Definition entry.h:39
An Atom 1.0 Feed Document, containing metadata describing the feed and a number of entries.
Definition atom/document.h:44
time_t updated() const
The datetime of the last modification of the feed content.
Definition atom/document.cpp:123
bool isValid() const override
returns whether this document is valid or not.
Definition atom/document.cpp:195
bool accept(DocumentVisitor *visitor) override
Used by visitors for double dispatch.
Definition atom/document.cpp:40
QString subtitle() const
description or subtitle of the feed (optional).
Definition atom/document.cpp:118
QString logo() const
URL of an image serving as a feed logo (optional)
Definition atom/document.cpp:98
QList< QDomElement > unhandledElements() const
returns all child elements of this feed not covered by this class.
Definition atom/document.cpp:159
QString debugInfo() const override
returns a description of this feed document for debugging purposes.
Definition atom/document.cpp:200
QList< Category > categories() const
a list of categories this feed is assigned to (optional)
Definition atom/document.cpp:71
QList< Entry > entries() const
a list of the entries (items) in this feed.
Definition atom/document.cpp:142
QList< Person > contributors() const
a list of persons who contribute to this feed.
Definition atom/document.cpp:58
QString icon() const
URL of an image serving as a feed icon (optional)
Definition atom/document.cpp:89
FeedDocument()
default constructor, creates a null feed, which is invalid.
Definition atom/document.cpp:30
QList< Person > authors() const
a list of persons who are the authors of this feed.
Definition atom/document.cpp:45
Generator generator() const
description of the agent used to generate the feed.
Definition atom/document.cpp:84
QString id() const
a string that unambiguously identifies the feed (required)
Definition atom/document.cpp:103
Description of the agent used to generate the feed.
Definition generator.h:26
A link, pointing to webpages, media files on the web ("podcast"), related content,...
Definition link.h:27
describes a person, with name and optional URI and e-mail address.
Definition atom/person.h:27
Visitor interface, following the Visitor design pattern.
Definition documentvisitor.h:43
Document interface for format-specific feed documents as parsed from a document source (see DocumentS...
Definition specificdocument.h:39
Atom parser and model classes, representing Atom 1.0 documents (Atom 0.3 documents are converted by t...
Definition atom.h:30
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:48:38 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:48:38 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.