From e6e3eac8892d3b46ca8c8459ce0256499c799aeb Mon Sep 17 00:00:00 2001 From: Michael Berkowitz Date: Thu, 17 Apr 2008 18:56:43 +0000 Subject: [PATCH] -AJOL translator correctly cites year of publication. --- scrapers.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/scrapers.sql b/scrapers.sql index 0bc32db2c..6a3e6fcaf 100644 --- a/scrapers.sql +++ b/scrapers.sql @@ -1136,6 +1136,7 @@ function doWeb(doc, url) { if (voliss.match(/v/)) item.volume = voliss.match(/v(ol\.)?\s+(\d+)/)[2]; if (voliss.match(/n/)) item.issue = voliss.match(/n(o\.)?\s+(\d+)/)[2]; if (voliss.match(/p(age)?/)) item.pages = voliss.match(/\d+\-\d+/)[0]; + item.date = voliss.match(/\(([^)]+)\)/)[1]; item.attachments[0].title = "African Journals Online Snapshot"; item.attachments[0].mimeType = "text/html"; item.complete();