Fix for newspaper article saving in TVNZ translator, thanks to Sopheak.

This commit is contained in:
Avram Lyon 2010-09-20 13:37:35 +00:00
parent 749b13bc02
commit dd55ecaa68

View File

@ -8,7 +8,7 @@
"priority" : 100, "priority" : 100,
"inRepository" : true, "inRepository" : true,
"translatorType" : 4, "translatorType" : 4,
"lastUpdated":"2010-08-03 10:30:20" "lastUpdated":"2010-09-20 10:30:20"
} }
function detectWeb(doc, url) { function detectWeb(doc, url) {
@ -200,7 +200,7 @@ function doWeb(doc, url){
for (var i in items){ for (var i in items){
articles.push(i); articles.push(i);
} }
} else if (detectWeb(doc,url) =="webpage"){ } else if (detectWeb(doc,url) =="newspaperArticle"){
articles = [url]; articles = [url];
} }
else if (detectWeb(doc,url) =="tvBroadcast"){ else if (detectWeb(doc,url) =="tvBroadcast"){