<html>#2664: Publication webpage is outdated, sphinxcontrib-citations may help keeping it updated automatically
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Gabriele Bozzola</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>enhancement</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>trivial</td></tr>
<tr><td style='text-align:right'>Component:</td><td>EinsteinToolkit website</td></tr>
</table>

<p>The publication webpage hasn’t been updated in ~ 14 years judging from the last entry (<a data-is-external-link="true" href="https://www.einsteintoolkit.org/publications.html" rel="nofollow">https://www.einsteintoolkit.org/publications.html</a>).</p>
<p>A while ago, I developed an extension for Sphinx to solve a similar problem. </p>
<p><a data-is-external-link="true" href="https://github.com/Sbozzolo/sphinxcontrib-citations" rel="nofollow">https://github.com/Sbozzolo/sphinxcontrib-citations</a> 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.</p>
<p>It requires an ADS API key (which can be obtained for free) and I don’t know how this would be handled.</p>
<p>For example, assuming one evaluates <code>core.py</code>, sets the ADS API, and <code>bibcodes = ["2021zndo...4884780E"]</code>, the Python function <code>write_citing_bibtex(citations_ads_token, bibcodes, "/tmp/et.bib")</code>will automatically fetch and clean all the entries and produce a valid bibtex file.</p>
<p>I don’t know how the other scripts in the www repo are automatically run, but this could be the same.</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2664/publication-webpage-is-outdated'>https://bitbucket.org/einsteintoolkit/tickets/issues/2664/publication-webpage-is-outdated</a></p>
</html>