adding keiths changes from dev list
This commit is contained in:
parent
3a5da5e6df
commit
1de4502a1a
1 changed files with 23 additions and 26 deletions
|
@ -83,15 +83,12 @@ function scrape(doc, url) {
|
|||
associateData (newItem, dataTags, "VOLUME_NO", "volume");
|
||||
associateData (newItem, dataTags, "REMARKS", "extra");
|
||||
associateData (newItem, dataTags, "SUMMARY", "abstractNote");
|
||||
|
||||
associateData (newItem, dataTags, "SOURCE", "series");
|
||||
if (dataTags["DESCRIPTION"]) {
|
||||
associateData (newItem, dataTags, "DESCRIPTION", "title");
|
||||
} else {
|
||||
newItem.title = "No Title Found";
|
||||
}
|
||||
|
||||
newItem.url = doc.location.href;
|
||||
|
||||
newItem.complete();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue