|
[Rivet-svn] rivet: Update Spires link in mkhtml output (and add a HepData link)Rivet Mercurial rivet at projects.hepforge.orgTue Aug 2 15:00:02 BST 2016
details: https://rivet.hepforge.org/hg/rivet/rev/af5118bbc4ee branches: release-2-5-x changeset: 5368:af5118bbc4ee user: Andy Buckley <andy at insectnation.org> date: Tue Aug 02 14:46:45 2016 +0100 description: Update Spires link in mkhtml output (and add a HepData link) diffs (17 lines): --- a/bin/rivet-mkhtml Fri Jul 29 11:53:10 2016 +0100 +++ b/bin/rivet-mkhtml Tue Aug 02 14:46:45 2016 +0100 @@ -363,9 +363,11 @@ reflist = [] if inspireid: - reflist.append('<a href="http://inspirehep.net/record/%s">Spires</a>' % inspireid) - elif spiresid: - reflist.append('<a href="http://durpdg.dur.ac.uk/cgi-bin/spiface/hep/www?irn+%s">Spires</a>' % spiresid) + reflist.append('<a href="http://inspire-hep.net/record/%s">Inspire</a>' % inspireid + reflist.append('<a href="http://hepdata.cedar.ac.uk/view/ins%s">HepData</a>' % inspireid + elif ana.spiresId(): + reflist.append('<a href="http://inspire-hep.net/search?p=find+key+%s">Inspire</a>' % spiresid + reflist.append('<a href="http://hepdata.cedar.ac.uk/view/irn%s">HepData</a>' % spiresid reflist += references index.write('<p>%s</p>\n' % " | ".join(reflist))
More information about the Rivet-svn mailing list |