• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

syndication/atom

  • Syndication
  • Atom
Classes | Functions

Syndication::Atom Namespace Reference

Atom parser and model classes, representing Atom 1.0 documents (Atom 0.3 documents are converted by the parser) More...

Classes

class  Category
 A category for categorizing items or whole feeds. More...
class  Content
 The content element either contains or links the content of an entry. More...
class  Entry
 an Atom entry, equivalent to the "items" in the RSS world. More...
class  EntryDocument
 An Atom 1.0 Entry Document, containing a single Atom entry outside of the context of a feed. More...
class  FeedDocument
 An Atom 1.0 Feed Document, containing metadata describing the feed and a number of entries. More...
class  Generator
 Description of the agent used to generate the feed. More...
class  Link
 A link, pointing to webpages, media files on the web ("podcast"), related content, etc. More...
class  Parser
 parser implementation for Atom 1.0 and 0.3. More...
class  Person
 describes a person, with name and optional URI and e-mail address. More...
class  Source
 If an entry was copied from another feed, this class contains a description of the source feed. More...

Functions

QString atom0_3Namespace ()
QString atom1Namespace ()
QString extractAtomText (const Syndication::ElementWrapper &parent, const QString &tagname)

Detailed Description

Atom parser and model classes, representing Atom 1.0 documents (Atom 0.3 documents are converted by the parser)


Function Documentation

QString Syndication::Atom::atom0_3Namespace ( )

namespace used by Atom 0.3 elements

Definition at line 35 of file constants.cpp.

QString Syndication::Atom::atom1Namespace ( )

namespace used by Atom 1.0 elements

Definition at line 30 of file constants.cpp.

QString Syndication::Atom::extractAtomText ( const Syndication::ElementWrapper &  parent,
const QString &  tagname 
)

extracts the content of an atomTextConstruct.

An atomTextConstruct is an element containing either plain text, escaped html, or embedded XHTML.

TODO: examples

Parameters:
parentthe parent element to extract from. E.g. an atom:entry element.
tagnamethe child element of parent to extract from the text from. Atom namespace is assumed. Example: <atom:title>
Returns:
the HTMLized version of the element content. If the content is escaped HTML, the escaped markup is resolved. If it is XHTML, the XHTML content is converted to a string. If it is plain text, characters like "&lt;", ">", "&amp;" are escaped so the return string is valid HTML.

Definition at line 36 of file atomtools.cpp.

syndication/atom

Skip menu "syndication/atom"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal