* Rewrite Canadian Letters and Images.js
* Fix CanLII.js
* Fix Cell Press.js
* Update Christian Science Monitor.js
* Update tests in Chronicling America.js
* Update tests in CiNii.js
* Fix and update CiteSeer.js
* Rewrite Columbia University Press.js
* Improve and update Common-Place.js
* Fix Cornell University Press.js
It is possible that there are multiple values
for a field and in this examples the previous
approach produced misaligned field-value-pairs.
* Update tests in Cyberpresse.js
var docket =ZU.trimInternal(dateDocket).match(/\(\s*(?:Docket|Dossier)\s*:\s*(.+?)\s*\)/);
if (docket) newItem.docketNumber= docket[1];
newItem.dateDecided=ZU.xpathText(doc, '//table[contains(@class, "documentMeta")]//tr/td[contains(@class, "canlii-label") and contains(text(), "Date")]/following-sibling::td');
newItem.docketNumber=ZU.xpathText(doc, '//table[contains(@class, "documentMeta")]//tr/td[contains(@class, "canlii-label") and (contains(text(), "Docket") or contains(text(), "Dossier"))]/following-sibling::td');
var otherCitations =ZU.xpathText(doc, '//table[contains(@class, "documentMeta")]//tr/td[contains(@class, "canlii-label") and contains(text(), "Other citations")]/following-sibling::td');
0 comments on commit
2c6f318