riceissa / citewebgen

Cite web generator
The Unlicense
2 stars 0 forks source link

Wrong date on some LA Times articles #1

Open riceissa opened 7 years ago

riceissa commented 7 years ago

e.g. http://articles.latimes.com/1990-03-16/news/mn-343_1_aids-program (archive):

<ref>{{cite web |url=https://web.archive.org/web/20161020224404/http://articles.latimes.com/1990-03-16/news/mn-343_1_aids-program |title=WORLD :  American Chief of AIDS Program Quits in Tiff With WHO Leader |publisher=latimes |accessdate=October 20, 2016 |date=October 29, 1987}}</ref>

The reason is that the sidebar has the following:

FROM THE ARCHIVES
West Hollywood : AIDS Program Approved
October 29, 1987

which uses class="date". Meanwhile, the actual publication date uses class="pubdate". I don't want to support a bunch of cases for different news sites, but if there is a general trend in favor of using "pubdate", it might make sense to watch for it.

riceissa commented 7 years ago

In the mean time, setting var useClasses = false; will prevent the use of classes altogether, so at least there will not be an incorrect date.