SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit e2ff3de1 authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Improve how-to for commentaries

parent 53683dd1
No related branches found
No related tags found
No related merge requests found
...@@ -39,10 +39,10 @@ class CommentaryFactory(factory.django.DjangoModelFactory): ...@@ -39,10 +39,10 @@ class CommentaryFactory(factory.django.DjangoModelFactory):
def add_authors(self, create, extracted, **kwargs): def add_authors(self, create, extracted, **kwargs):
contributors = list(Contributor.objects.order_by('?') contributors = list(Contributor.objects.order_by('?')
.exclude(pk=self.requested_by.pk).all()[:4]) .exclude(pk=self.requested_by.pk).all()[:4])
for contrib in contributors: self.author_list = ', '.join(
self.author_list += ', %s %s' % (contrib.user.first_name, contrib.user.last_name) ['%s %s' % (contrib.user.first_name,
if create: contrib.user.last_name) for contrib in contributors])
self.authors.add(contrib) self.authors.add(*contributors)
class VettedCommentaryFactory(CommentaryFactory): class VettedCommentaryFactory(CommentaryFactory):
......
...@@ -6,25 +6,27 @@ ...@@ -6,25 +6,27 @@
<script type="text/javascript" async src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML"></script> <script type="text/javascript" async src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML"></script>
{% endblock headsup %} {% endblock headsup %}
{% block bodysup %} {% block content %}
<div class="row">
<section> <div class="col-12">
<hr class="hr12"> <h1 class="highlight">SciPost Commentaries how-to</h1>
<h1>SciPost Commentaries how-to</h1> </div>
<h3>Activation procedure</h3> </div>
<p>A Commentary Page can be requested by any registered SciPost Contributor for any published scientific paper or arXiv preprint by filling the <a href="{% url 'commentaries:request_commentary' %}">Commentary request form</a>. After vetting by an Editor, the Commentary Page is activated and made open for Comments from registered SciPost Contributors. Authors can reply to Comments, and Contributors can add Comments to the chain.</p> <div class="row">
<ul> <div class="col-12">
<li><a href="{% url 'commentaries:request_commentary' %}">Request opening a SciPost Commentary Page</a></li> <h2>Activation procedure</h2>
</ul> <p>A Commentary Page can be requested by any registered SciPost Contributor for any published scientific paper or arXiv preprint by filling the <a href="{% url 'commentaries:request_commentary' %}">Commentary request form</a>. After vetting by an Editor, the Commentary Page is activated and made open for Comments from registered SciPost Contributors. Authors can reply to Comments, and Contributors can add Comments to the chain.</p>
<ul>
<br/> <li><a href="{% url 'commentaries:request_commentary' %}">Request opening a SciPost Commentary Page</a></li>
<h3>Standardized URLs</h3> </ul>
<p>In order to facilitate localization of commentaries on particular publications, within SciPost, all Commentary Pages have a standardized URL of the form</p>
<p>https://scipost.org/commentary/IDENTIFIER</p> <br/>
<p>where IDENTIFIER is either the (by definition unique and stable) DOI of the published paper, or the arXiv identifier in new (arXiv:####.#####v#) or old (cond-mat/#######v#) style. NOTE: for arXiv, we systematically require the presence of the version number in order to avoid confusion (and yes, we do so even if there exists only one version).</p> <h3>Standardized URLs</h3>
<p>In order to facilitate localization of commentaries on particular publications, within SciPost, all Commentary Pages have a standardized URL of the form</p>
</section> <p class="text-blue">https://scipost.org/commentary/IDENTIFIER</p>
<p>where IDENTIFIER is either the (by definition unique and stable) DOI of the published paper, or the arXiv identifier in new (arXiv:####.#####v#) or old (cond-mat/#######v#) style. NOTE: for arXiv, we systematically require the presence of the version number in order to avoid confusion (and yes, we do so even if there exists only one version).</p>
</div>
{% endblock bodysup %} </div>
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment