[ET Trac] #2664: Publication webpage is outdated, sphinxcontrib-citations may help keeping it updated automatically
Gabriele Bozzola
trac-noreply at einsteintoolkit.org
Tue Nov 15 14:31:53 CST 2022
#2664: Publication webpage is outdated, sphinxcontrib-citations may help keeping it updated automatically
Reporter: Gabriele Bozzola
Status: new
Milestone:
Version:
Type: enhancement
Priority: trivial
Component: EinsteinToolkit website
The publication webpage hasn’t been updated in ~ 14 years judging from the last entry \([https://www.einsteintoolkit.org/publications.html](https://www.einsteintoolkit.org/publications.html)\).
A while ago, I developed an extension for Sphinx to solve a similar problem.
[https://github.com/Sbozzolo/sphinxcontrib-citations](https://github.com/Sbozzolo/sphinxcontrib-citations) takes a list of ADS keys and returns a list of papers that cite the given keys. This Sphinx extension can be easily adjusted to automatically populate the publications webpage. The package does not necessarily need Sphinx: one could simply take the core.py and use it. A BibTeX to HTML parser would be required in that case, but there are many available online. Probably, the easiest solution is to include in the www repo both the core.py \(which fundamentally depends only on urlib3\) and a bib2html parser.
It requires an ADS API key \(which can be obtained for free\) and I don’t know how this would be handled.
For example, assuming one evaluates `core.py`, sets the ADS API, and `bibcodes = ["2021zndo...4884780E"]`, the Python function `write_citing_bibtex(citations_ads_token, bibcodes, "/tmp/et.bib") `will automatically fetch and clean all the entries and produce a valid bibtex file.
I don’t know how the other scripts in the www repo are automatically run, but this could be the same.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2664/publication-webpage-is-outdated
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20221115/d924312d/attachment.html
More information about the Trac
mailing list