mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
FeedReader:
- Changed compare of node names to case insensitive. More feeds should be supported now. - added ATOM format git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6056 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
35cc460e71
commit
c44d10a6a1
4 changed files with 120 additions and 29 deletions
|
@ -578,7 +578,7 @@ static void buildNodeText(HTMLWrapper &html, xmlNodePtr node, QString &text)
|
|||
if (node->children && !node->children->next && node->children->type == XML_TEXT_NODE) {
|
||||
/* only one text node as child */
|
||||
std::string content;
|
||||
if (html.getContent(node->children, content)) {
|
||||
if (html.getContent(node->children, content, false)) {
|
||||
text += QString::fromUtf8(content.c_str());
|
||||
} else {
|
||||
text += QApplication::translate("PreviewFeedDialog", "Error getting content");
|
||||
|
@ -597,7 +597,7 @@ static void buildNodeText(HTMLWrapper &html, xmlNodePtr node, QString &text)
|
|||
}
|
||||
|
||||
std::string content;
|
||||
if (html.getContent(node, content)) {
|
||||
if (html.getContent(node, content, false)) {
|
||||
text += QString::fromUtf8(content.c_str());
|
||||
} else {
|
||||
text += QApplication::translate("PreviewFeedDialog", "Error getting content");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue