#include <rssparse.h>
Public Member Functions | |
| Parse () | |
| virtual | ~Parse () |
| ResultItem::resultList | parseRSS (QDomDocument domDoc) |
| ResultItem * | ParseItem (const QDomElement &item) const |
| QString | GetLink (const QDomElement &) const |
| QString | GetAuthor (const QDomElement &) const |
| QString | GetCommentsRSS (const QDomElement &) const |
| QString | GetCommentsLink (const QDomElement &) const |
| QDateTime | GetDCDateTime (const QDomElement &) const |
| QDateTime | FromRFC3339 (const QString &) const |
| QDateTime | RFC822TimeToQDateTime (const QString &) const |
| int | GetNumComments (const QDomElement &) const |
| QStringList | GetAllCategories (const QDomElement &) const |
| QPair< double, double > | GetGeoPoint (const QDomElement &) const |
| QList< MRSSEntry > | GetMediaRSS (const QDomElement &) const |
| QList< Enclosure > | GetEnclosures (const QDomElement &entry) const |
Static Public Member Functions | |
| static QString | UnescapeHTML (const QString &) |
Static Protected Attributes | |
| static const QString | DC = "http://purl.org/dc/elements/1.1/" |
| static const QString | WFW = "http://wellformedweb.org/CommentAPI/" |
| static const QString | Atom = "http://www.w3.org/2005/Atom" |
| static const QString | RDF = "http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
| static const QString | Slash = "http://purl.org/rss/1.0/modules/slash/" |
| static const QString | Enc = "http://purl.oclc.org/net/rss_2.0/enc#" |
| static const QString | ITunes = "http://www.itunes.com/dtds/podcast-1.0.dtd" |
| static const QString | GeoRSSSimple = "http://www.georss.org/georss" |
| static const QString | GeoRSSW3 = "http://www.w3.org/2003/01/geo/wgs84_pos#" |
| static const QString | MediaRSS = "http://search.yahoo.com/mrss/" |
| static const QString | MythRSS = "http://www.mythtv.org/wiki/MythNetvision_Grabber_Script_Format" |
Private Attributes | |
| QMap< QString, int > | TimezoneOffsets |
Friends | |
| class | MRSSParser |
Definition at line 184 of file rssparse.h.
| Parse::Parse | ( | ) |
Definition at line 703 of file rssparse.cpp.
| Parse::~Parse | ( | ) | [virtual] |
Definition at line 707 of file rssparse.cpp.
| ResultItem::resultList Parse::parseRSS | ( | QDomDocument | domDoc | ) |
Definition at line 711 of file rssparse.cpp.
Referenced by Search::process(), and RSSSite::process().
| ResultItem * Parse::ParseItem | ( | const QDomElement & | item | ) | const |
Definition at line 734 of file rssparse.cpp.
Referenced by GrabberScript::parseDBTree(), and parseRSS().
| QString Parse::GetLink | ( | const QDomElement & | parent | ) | const |
Definition at line 937 of file rssparse.cpp.
| QString Parse::GetAuthor | ( | const QDomElement & | parent | ) | const |
Definition at line 956 of file rssparse.cpp.
Referenced by ParseItem(), and RSSEditPopup::slotSave().
| QString Parse::GetCommentsRSS | ( | const QDomElement & | parent | ) | const |
Definition at line 978 of file rssparse.cpp.
| QString Parse::GetCommentsLink | ( | const QDomElement & | parent | ) | const |
Definition at line 988 of file rssparse.cpp.
| QDateTime Parse::GetDCDateTime | ( | const QDomElement & | parent | ) | const |
Definition at line 997 of file rssparse.cpp.
Referenced by ParseItem().
| QDateTime Parse::FromRFC3339 | ( | const QString & | t | ) | const |
Definition at line 1052 of file rssparse.cpp.
Referenced by GetDCDateTime().
| QDateTime Parse::RFC822TimeToQDateTime | ( | const QString & | t | ) | const |
Definition at line 1005 of file rssparse.cpp.
Referenced by ParseItem().
| int Parse::GetNumComments | ( | const QDomElement & | ) | const |
| QStringList Parse::GetAllCategories | ( | const QDomElement & | ) | const |
| QPair<double, double> Parse::GetGeoPoint | ( | const QDomElement & | ) | const |
| QList< MRSSEntry > Parse::GetMediaRSS | ( | const QDomElement & | item | ) | const |
Definition at line 1107 of file rssparse.cpp.
Referenced by ParseItem().
| QList< Enclosure > Parse::GetEnclosures | ( | const QDomElement & | entry | ) | const |
Definition at line 1086 of file rssparse.cpp.
Referenced by ParseItem().
| QString Parse::UnescapeHTML | ( | const QString & | escaped | ) | [static] |
Definition at line 1112 of file rssparse.cpp.
Referenced by MRSSParser::GetDescription(), MRSSParser::GetTitle(), ParseItem(), ParseMetadataItem(), and ParseMetadataMovieNFO().
friend class MRSSParser [friend] |
Definition at line 187 of file rssparse.h.
Referenced by GetMediaRSS().
QMap<QString, int> Parse::TimezoneOffsets [private] |
Definition at line 211 of file rssparse.h.
Referenced by RFC822TimeToQDateTime().
const QString Parse::DC = "http://purl.org/dc/elements/1.1/" [static, protected] |
Definition at line 214 of file rssparse.h.
Referenced by GetAuthor(), and GetDCDateTime().
const QString Parse::WFW = "http://wellformedweb.org/CommentAPI/" [static, protected] |
Definition at line 215 of file rssparse.h.
Referenced by GetCommentsRSS().
const QString Parse::Atom = "http://www.w3.org/2005/Atom" [static, protected] |
Definition at line 216 of file rssparse.h.
const QString Parse::RDF = "http://www.w3.org/1999/02/22-rdf-syntax-ns#" [static, protected] |
Definition at line 217 of file rssparse.h.
const QString Parse::Slash = "http://purl.org/rss/1.0/modules/slash/" [static, protected] |
Definition at line 218 of file rssparse.h.
const QString Parse::Enc = "http://purl.oclc.org/net/rss_2.0/enc#" [static, protected] |
Definition at line 219 of file rssparse.h.
const QString Parse::ITunes = "http://www.itunes.com/dtds/podcast-1.0.dtd" [static, protected] |
Definition at line 220 of file rssparse.h.
Referenced by GetAuthor(), and ParseItem().
const QString Parse::GeoRSSSimple = "http://www.georss.org/georss" [static, protected] |
Definition at line 221 of file rssparse.h.
const QString Parse::GeoRSSW3 = "http://www.w3.org/2003/01/geo/wgs84_pos#" [static, protected] |
Definition at line 222 of file rssparse.h.
const QString Parse::MediaRSS = "http://search.yahoo.com/mrss/" [static, protected] |
Definition at line 223 of file rssparse.h.
Referenced by MRSSParser::CollectArbitraryLocatedData(), MRSSParser::CollectChildren(), MRSSParser::GetComments(), MRSSParser::GetCredits(), MRSSParser::GetDescription(), MRSSParser::GetKeywords(), MRSSParser::GetPeerLinks(), MRSSParser::GetScenes(), MRSSParser::GetThumbnails(), MRSSParser::GetTitle(), MRSSParser::GetURL(), and MRSSParser::operator()().
const QString Parse::MythRSS = "http://www.mythtv.org/wiki/MythNetvision_Grabber_Script_Format" [static, protected] |
Definition at line 224 of file rssparse.h.
Referenced by ParseItem().
1.6.3