Syndication::Atom::Link
#include <link.h>
Additional Inherited Members | |
Static Public Member Functions inherited from Syndication::ElementWrapper | |
static QString | childNodesAsXML (const QDomElement &parent) |
Detailed Description
A link, pointing to webpages, media files on the web ("podcast"), related content, etc.
See rel() for details.
Constructor & Destructor Documentation
◆ Link() [1/2]
Syndication::Atom::Link::Link | ( | ) |
◆ Link() [2/2]
|
explicit |
Member Function Documentation
◆ debugInfo()
QString Syndication::Atom::Link::debugInfo | ( | ) | const |
◆ href()
QString Syndication::Atom::Link::href | ( | ) | const |
◆ hrefLanguage()
QString Syndication::Atom::Link::hrefLanguage | ( | ) | const |
◆ length()
uint Syndication::Atom::Link::length | ( | ) | const |
◆ rel()
QString Syndication::Atom::Link::rel | ( | ) | const |
the relation between the feed/entry and the linked resource.
The value of rel() is usually one of the following:
"alternate"
: The URL points to an alternate version of the feed/entry. In practice, this is the article described in an entry, or the homepage of the feed.
"enclosure"
: The link describes an Enclosure. See Syndication::Enclosure for more information.
"related"
: links to web resources with related content. E.g., an article discussing KDE might link to the KDE homepage.
"self"
: "identifies a resource equivalent to the containing
element". This is usually the URL of the feed source itself.
"via"
: The link points to the source of the information contained in the feed/entry
- Returns
- the rel value specified in the feed. Default value is
"alternate"
◆ title()
QString Syndication::Atom::Link::title | ( | ) | const |
◆ type()
QString Syndication::Atom::Link::type | ( | ) | const |
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.