Syndication
itematomimpl.cpp
76 std::transform(people.cbegin(), people.cend(), std::back_inserter(list), [](const Syndication::Atom::Person &person) {
115 return QStringLiteral("hash:%1").arg(Syndication::calcMD5Sum(title() + description() + link() + content()));
140 std::transform(cats.cbegin(), cats.cend(), std::back_inserter(list), [](const Syndication::Atom::Category &c) {
void append(const T &value)
bool isNull() const const
QString commentPostUri() const override
URI that can be used to post comments via an HTTP POST request using the Comment API.
Definition: itematomimpl.cpp:165
QList< EnclosurePtr > enclosures() const override
returns a list of enclosures describing files available on the net.
Definition: itematomimpl.cpp:118
int count(const T &value) const const
QString commentApiNamespace()
wellformedweb.org's RSS namespace for comment functionality "http://wellformedweb....
Definition: constants.cpp:39
Definition: atom/document.h:17
QString link() const override
returns a link to the (web) resource described by this item.
Definition: itematomimpl.cpp:43
time_t dateUpdated() const override
returns the date when the item was modified the last time.
Definition: itematomimpl.cpp:93
void reserve(int alloc)
QString commentsFeed() const override
URL of feed syndicating comments belonging to this item.
Definition: itematomimpl.cpp:160
int size() const const
A category for categorizing items or whole feeds.
Definition: atom/category.h:31
an Atom entry, equivalent to the "items" in the RSS world.
Definition: entry.h:38
SpecificItemPtr specificItem() const override
returns the format-specific item this object abstracts from.
Definition: itematomimpl.cpp:170
QString language() const override
returns the language used in the item's content
Definition: itematomimpl.cpp:103
time_t published() const
The datetime of the publication of this entry (optional).
Definition: entry.cpp:116
Content content() const
content of the entry (optional) See Content for details
Definition: entry.cpp:138
QString slashNamespace()
"slash" namespace http://purl.org/rss/1.0/modules/slash/
Definition: constants.cpp:44
int toInt(bool *ok, int base) const const
QMultiMap< QString, QDomElement > additionalProperties() const override
returns a list of item metadata not covered by this class.
Definition: itematomimpl.cpp:175
QList::const_iterator cend() const const
QList< PersonPtr > authors() const override
returns a list of persons who created the item content.
Definition: itematomimpl.cpp:69
QList< Category > categories() const
a list of categories this entry is filed to (optional)
Definition: entry.cpp:75
typename QMap< Key, T >::iterator insert(const Key &key, const T &value)
QString id() const override
returns an identifier that identifies the item within its feed.
Definition: itematomimpl.cpp:108
QList< Person > authors() const
list of persons who are authors of this entry.
Definition: entry.cpp:44
QString commentsLink() const override
Link to an HTML site which contains the comments belonging to this item.
Definition: itematomimpl.cpp:155
int commentsCount() const override
The number of comments posted for this item.
Definition: itematomimpl.cpp:147
QString arg(qlonglong a, int fieldWidth, int base, QChar fillChar) const const
QList< QDomElement > unhandledElements() const
returns all child elements of this entry not covered by this class.
Definition: entry.cpp:143
QList::const_iterator cbegin() const const
QString description() const override
returns the description of the item.
Definition: itematomimpl.cpp:54
QList< Person > contributors() const
list of persons contributing to this entry (optional)
Definition: entry.cpp:62
QList< Link > links() const
links pointing to associated web sites and other resources.
Definition: entry.cpp:93
time_t datePublished() const override
returns the date when the item was initially published.
Definition: itematomimpl.cpp:83
A link, pointing to webpages, media files on the web ("podcast"), related content,...
Definition: link.h:26
QList< CategoryPtr > categories() const override
returns a list of categories this item is filed in.
Definition: itematomimpl.cpp:133
time_t updated() const
The datetime of the last modification of this entry (required).
Definition: entry.cpp:122
describes a person, with name and optional URI and e-mail address.
Definition: atom/person.h:26
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Jun 6 2023 03:56:27 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Jun 6 2023 03:56:27 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.