if the feed item has a link attribute, always use it before using the guid. Fixes some problems with planet.mozilla.org and
mozillazine feedhouse. git-svn-id: svn://10.0.0.236/branches/AVIARY_1_0_20040515_BRANCH@161558 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -247,7 +247,7 @@ Feed.prototype.parseAsRSS2 = function() {
|
||||
guidNode.getAttribute('isPermaLink') == 'false' ? false : true;
|
||||
}
|
||||
|
||||
item.url = (guid && isPermaLink) ? guid : link ? link : null;
|
||||
item.url = link ? link : (guid && isPermaLink) ? guid : null;
|
||||
item.id = guid;
|
||||
item.description = getNodeValue(itemNode.getElementsByTagName("description")[0]);
|
||||
item.title = getNodeValue(itemNode.getElementsByTagName("title")[0])
|
||||
|
||||
Reference in New Issue
Block a user