akregator/src/librss
RSS Namespace Reference
Classes | |
class | Article |
Represents an article as stored in a RSS file. More... | |
class | Category |
class | Document |
Represents a RSS document and provides all the features and properties as stored in it. More... | |
class | Enclosure |
class | FeedDetectorEntry |
class | FeedDetector |
a class providing functions to detect linked feeds in HTML sources More... | |
class | Image |
Represents an image as stored in a RSS file. More... | |
class | DataRetriever |
Abstract baseclass for all data retriever classes. More... | |
class | FileRetriever |
Implements a file retriever, to be used with Loader::loadFrom(). More... | |
class | OutputRetriever |
Implements a data retriever which executes a program and stores returned by the program on stdout. More... | |
class | Loader |
This class is the preferred way of loading RSS files. More... | |
class | TextInput |
Represents a text input facility as stored in a RSS file for the purpose of allowing users to submit queries back to the publisher's site. More... | |
Typedefs | |
typedef QValueList< FeedDetectorEntry > | FeedDetectorEntryList |
typedef QValueList< Day > | DayList |
typedef QValueList< unsigned short > | HourList |
Enumerations | |
enum | Version { v0_90, v0_91, v0_92, v0_93, v0_94, v1_0, v2_0, vAtom_0_1, vAtom_0_2, vAtom_0_3, vAtom_1_0 } |
enum | Status { Success, Aborted, RetrieveError, ParseError } |
enum | Language { UndefinedLanguage, af, sq, eu, be, bg, ca, zh_cn, zh_tw, hr, cs, da, nl, nl_be, nl_nl, en, en_au, en_bz, en_ca, en_ie, en_jm, en_nz, en_ph, en_za, en_tt, en_gb, en_us, en_zw, fo, fi, fr, fr_be, fr_ca, fr_fr, fr_lu, fr_mc, fr_ch, gl, gd, de, de_at, de_de, de_li, de_lu, de_ch, el, hu, is, id, ga, it, it_it, it_ch, ja, ko, mk, no, pl, pt, pt_br, pt_pt, ro, ro_mo, ro_ro, ru, ru_mo, ru_ru, sr, sk, sl, es, es_ar, es_bo, es_cl, es_co, es_cr, es_do, es_ec, es_sv, es_gt, es_hn, es_mx, es_ni, es_pa, es_py, es_pe, es_pr, es_es, es_uy, es_ve, sv, sv_fi, sv_se, tr, uk } |
enum | Day { UndefinedDay, Monday = 1, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday } |
enum | Format { UnknownFormat, AtomFeed, RSSFeed } |
enum | ContentFormat { Text, HTML, XML, Binary } |
Functions | |
time_t | parseISO8601Date (const QString &s) |
QString | childNodesAsXML (const QDomNode &parent) |
static QString | plainTextToHtml (const QString &plainText) |
static ContentFormat | mapTypeToFormat (const QString &modep, const QString &typep, const QString &src) |
static QString | extractAtomContent (const QDomElement &e) |
QString | extractNode (const QDomNode &parent, const QString &elemName, bool isInlined) |
QString | extractTitle (const QDomNode &parent) |
static void | authorFromString (const QString &strp, QString &name, QString &email) |
QString | parseItemAuthor (const QDomElement &element, Format format, Version version) |
Variables | |
KMD5 | md5Machine |
Typedef Documentation
typedef QValueList<Day> RSS::DayList |
typedef QValueList<unsigned short> RSS::HourList |
Enumeration Type Documentation
enum RSS::Language |
Possible languages which are returned by Document::language().
- Enumerator:
enum RSS::Status |
Possible status values returned by the signal Loader::loadingComplete().
- Enumerator:
-
Aborted Nothing went wrong so far, but you still have to check what values are returned by the classes since it's not guaranteed that the retrieved RSS markup actually complies to one of the RSS DTDs. RetrieveError the loader was aborted manually ParseError The overall format of the RSS markup wasn't XML conform. This only indicates that the data wasn't valid (for example, if the data returned by a DataRetriever isn't well-formed XML).
- See also:
- DataRetriever
enum RSS::Version |
Versions currently supported by this library.
This enumeration is subject to be extended in the future and used by Document::version() to provide an interface to the client using which he can find out what version the loaded RSS file actually is.