Page MenuHomePhabricator

Web2Cit not working with nytimes.com
Closed, ResolvedPublic

Description

Web2Cit isn't working with pages from nytimes.com. See for example https://www.nytimes.com/2025/10/30/us/politics/food-stamps-shutdown.html.

Server says no applicable translation template is found, meaning the fallback template is failing.

Note that this does work with Citoid, although it should be noted that in the source it appears "citoid" instead of the more usual "zotero".

Event Timeline

Can't reproduce anymore. It seems to be working now.

Note that this does work with Citoid, although it should be noted that in the source it appears "citoid" instead of the more usual "zotero".

Now it says "Powered by Zotero" as usual.

T403799#11151450 explains why source may have shown as citoid instead of zotero:

the response is coming from citoid, not zotero. Possibly the nytimes is temporarily blocking our zotero UA but not our citoid one,

But why would that result in Web2Cit fallback template failing?

diegodlh claimed this task.

T403799#11151450 explains why source may have shown as citoid instead of zotero:

the response is coming from citoid, not zotero. Possibly the nytimes is temporarily blocking our zotero UA but not our citoid one,

But why would that result in Web2Cit fallback template failing?

Tried injecting the citoid citation mentioned in that comment into Web2Cit-Core's Citoid module translateUrl function:

[
  {
    "url": "https://www.nytimes.com/2025/08/27/science/land-crocodile-dinosaurs.html",
    "itemType": "newspaperArticle",
    "title": "This Crocodile Relative Was One of Dinosaurs’ Most Fearsome Predators",
    "abstractNote": "A fossil found in Argentina shows that up to the very end of the age of dinosaurs, they faced serious competition from other reptile species.",
    "date": "2025-08-27",
    "language": "en",
    "accessDate": "2025-09-05",
    "source": [
      "citoid"
    ]
  }
]

but fallback template applied successfully.

Closing for now.