Trans: Fix for ACM items with no DOI
This commit is contained in:
parent
5336df69c3
commit
520fc2c196
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ function scrape(doc) {
|
|||
}
|
||||
// If the URL is just a DOI, clear it.
|
||||
if (newItem.url.match(/^http:\/\/doi\.acm\.org\//)) newItem.url = "";
|
||||
newItem.DOI = newItem.DOI.replace(/^http:\/\/doi\.acm\.org\//, '');
|
||||
if (newItem.DOI) newItem.DOI = newItem.DOI.replace(/^http:\/\/doi\.acm\.org\//, '');
|
||||
var acmid = bibtex.match(/acmid = {(\d+)}/);
|
||||
if(acmid) newItem.extra = "ACM ID: "+ acmid[1];
|
||||
//Complete the parsing of the page
|
||||
|
|
Loading…
Add table
Reference in a new issue