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< FeedDetectorEntryFeedDetectorEntryList
typedef QValueList< DayDayList
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

This type is used by Document::skipDays().

Definition at line 139 of file global.h.

typedef QValueList<unsigned short> RSS::HourList

This type is used by Document::skipHours().

Definition at line 144 of file global.h.


Enumeration Type Documentation

enum RSS::Day

Possible values contained in a DayList.

Definition at line 125 of file global.h.

Possible languages which are returned by Document::language().

Enumerator:
af  Unknown / undefined language.
sq  Afrikaans.
eu  Albanian.
be  Basque.
bg  Belarusian.
ca  Bulgarian.
zh_cn  Catalan.
zh_tw  Chinese (Simplified).
hr  Chinese (Traditional.
cs  Croatian.
da  Czech.
nl  Danish.
nl_be  Dutch.
nl_nl  Dutch (Belgium).
en  Dutch (Netherlands).
en_au  English.
en_bz  English (Australia).
en_ca  English (Belize).
en_ie  English (Canada).
en_jm  English (Ireland).
en_nz  English (Jamaica).
en_ph  English (New Zealand).
en_za  English (Phillipines).
en_tt  English (South Africa).
en_gb  English (Trinidad).
en_us  English (Great Britain).
en_zw  English (United States).
fo  English (Zimbabwe).
fi  Faeroese.
fr  Finnish.
fr_be  French.
fr_ca  French (Belgium).
fr_fr  French (Canada).
fr_lu  French (France).
fr_mc  French (Luxembourg).
fr_ch  French (Monaco).
gl  French (Switzerland).
gd  Galician.
de  Gaelic.
de_at  German.
de_de  German (Austria).
de_li  German (Germany).
de_lu  German (Liechtenstein).
de_ch  German (Luxembourg).
el  German (Switzerland).
hu  Greek.
is  Hungarian.
id  Icelandic.
ga  Indonesian.
it  Irish.
it_it  Italian.
it_ch  Italian (Italy).
ja  Italian (Switzerland).
ko  Japanese.
mk  Korean.
no  Macedonian.
pl  Norwegian.
pt  Polish.
pt_br  Portuguese.
pt_pt  Portuguese (Brazil).
ro  Portuguese (Portugal).
ro_mo  Romanian.
ro_ro  Romanian (Moldova).
ru  Romanian (Romania).
ru_mo  Russian.
ru_ru  Russian (Moldova).
sr  Russian (Russia).
sk  Serbian.
sl  Slovak.
es  Slovenian.
es_ar  Spanish.
es_bo  Spanish (Argentina).
es_cl  Spanish (Bolivia).
es_co  Spanish (Chile).
es_cr  Spanish (Colombia).
es_do  Spanish (Costa Rica).
es_ec  Spanish (Dominican Rep.

)

es_sv  Spanish (Ecuador).
es_gt  Spanish (El Salvador).
es_hn  Spanish (Guatemala).
es_mx  Spanish (Honduras).
es_ni  Spanish (Mexico).
es_pa  Spanish (Nicaragua).
es_py  Spanish (Panama).
es_pe  Spanish (Paraguay).
es_pr  Spanish (Peru).
es_es  Spanish (Puerto Rico).
es_uy  Spanish (Spain).
es_ve  Spanish (Uruguay).
sv  Spanish (Venezuela).
sv_fi  Swedish.
sv_se  Swedish (Finland).
tr  Swedish (Sweden).
uk  Ukranian.

Definition at line 70 of file global.h.

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

Definition at line 45 of file global.h.

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.

Enumerator:
v0_91  RSS v0.90.
v0_92  RSS v0.91.
v0_93  RSS v0.92.
v0_94  RSS v0.93.
v1_0  RSS v0.94.
v2_0  RSS v1.0.
vAtom_0_1  RSS v2.0.
vAtom_0_2  Atom v0.1.
vAtom_0_3  Atom v0.2.
vAtom_1_0  Atom v1.0.

Definition at line 27 of file global.h.

KDE Home | KDE Accessibility Home | Description of Access Keys