107 Out() <<
"------------------------------------------------------" << endl;
109 Out() <<
"------------------------------------------------------" << endl;
112 fRdfData.insert(0,
"<?xml version=\"1.0\"?>\n");
115 if (!doc.setContent(QString(
fRdfData.c_str()),
false))
117 Warn(
"Parsing of html failed.");
123 Out() <<
"Parsed:\n-------\n" << doc.toString().toStdString() << endl;
124 Out() <<
"------------------------------------------------------" << endl;
127 const QDomNodeList imageElems = doc.elementsByTagName(
"span");
146 for (
unsigned int i=0;
i<imageElems.length();
i++)
148 const QDomElement e = imageElems.item(
i).toElement();
150 const QDomNamedNodeMap att = e.attributes();
160 Out() <<
"------------------------------------------------------" << endl;
bool Set(const QDomNamedNodeMap &map)
Adds some functionality to boost::posix_time::ptime for our needs.
virtual void Update(const Lid &, const Lid &)
int Warn(const std::string &str)