www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 45f84fb31f4d2a962c1379960f7d0101270940c3
parent a67b8c8b95d60700d99877a7868404e0e3585d98
Author: Simon Kornblith <simon@simonster.com>
Date:   Mon, 14 Aug 2006 05:15:52 +0000

actually fix the bug properly this time


Diffstat:
Mscrapers.sql | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/scrapers.sql b/scrapers.sql @@ -2920,9 +2920,8 @@ function doExport() { if(item.date) { if(inArray(item.itemType, ["book", "bookSection"]) { // Assume year is copyright date - originInfo += <copyrightDate encoding="iso8601">{item.date}</copyrightDate>; - } - if(inArray(item.itemType, ["magazineArticle", "newspaperArticle"])) { + var dateType = "copyrightDate"; + } else if(inArray(item.itemType, ["journalArticle", "magazineArticle", "newspaperArticle"])) { // Assume date is date issued var dateType = "dateIssued"; } else {