mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
FeedReader:
- Fixed process of pubDate git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6070 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
3df3850655
commit
6f7c424b1f
@ -850,7 +850,7 @@ RsFeedReaderErrorState p3FeedReaderThread::process(const RsFeedReaderFeed &feed,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* get item count */
|
/* process items */
|
||||||
xmlNodePtr node;
|
xmlNodePtr node;
|
||||||
for (node = NULL; (node = getNextItem(feedFormat, channel, node)) != NULL; ) {
|
for (node = NULL; (node = getNextItem(feedFormat, channel, node)) != NULL; ) {
|
||||||
if (!isRunning()) {
|
if (!isRunning()) {
|
||||||
@ -936,7 +936,7 @@ RsFeedReaderErrorState p3FeedReaderThread::process(const RsFeedReaderFeed &feed,
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::string pubDate;
|
std::string pubDate;
|
||||||
if (xml.getChildText(node, "pubdate", pubDate)) {
|
if (xml.getChildText(node, "pubDate", pubDate)) {
|
||||||
item->pubDate = parseRFC822Date(pubDate);
|
item->pubDate = parseRFC822Date(pubDate);
|
||||||
}
|
}
|
||||||
if (xml.getChildText(node, "date", pubDate)) {
|
if (xml.getChildText(node, "date", pubDate)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user