Categories

clean-read v1.1resigned1

  • rating
  • rating
  • rating
  • rating
  • rating
1.00 (1 reviews)
Hides refs on journal articles with nasty inline references of the name-date form clean-read

See: https://github.com/AndrewMicallef/clean-read

If this fails spectacularly, please let me know on which sites so I can improve the mechanism.

The basic principle is this program grabs all text nested under the HTML p (for paragraph) tags, removes all other markup, and then searches for patterns matching the "Bracket, ((name, comma,) x I date) x J, close Bracket" format.

This is not a robust look up, and have already found it fails on a few sites. Good news is that you can bring back the content by reloading the page. Bad news is you have to reload the page.

In the future I intend to query the style repository for the journal name, use the resulting .csl file to build an appropriate regex pattern! Although that will have to wait till I have some time, which may be a long time away from now