Re: Can i use the private part of SPIP for Peer-reviewing
Kwame Yeboah - Gyan wrote:
> Dear Sir,
>
> I want know if i can configure SPIP in such a way that it could be used to
> peer-review articles before publication.
>
> I have been trying to configure SPIP such that, the Admin would be the only
> one who has access to articles 'submitted for evaluation'. He would then
> allow access two or more selected editors (reviewers) to comment on an
> article without seeing the name of the author.
>
> The Admin should be the only one with access to a reviewer's comment.
> the Admin would then publish an article online.
>
> I would like to know if i could use SPIP's forums for this. IF so, could
> you direct me to as to how to go about it.
Hello,
I think you are on the right trail: there is no way to do that directly
from the private area, but you could use forums to do that.
You could do something like that:
1- limit forums to authenticated visitors (that's an option in the
management of the forums, see in the configuration panels). This way,
only registered visitors (i.e. the reviewers) could comment on the articles
2- as the reviewers are only logged as visitors, they have no access to
the private area and can't see all the article. What you do then is make
a template that displays the article to the logged visitors,
3- the template only shows the article to the selected reviewers,
without displaying the authors name and provides a comment box but
doesn't list the other forum messages.
There is probably multiple ways to implement that. You should probably
read the introductory documentation on templates in SPIP:
http://www.spip.net/en_rubrique199.html
so you can understand a bit more about what i'll explain here.
So to implement that, you should first configure spip correctly:
1- limit the forums to registered visitors and create (or let them do) a
visitor account per reviewer.
2- create a keyword group called "reviewers" with one keyword by
reviewer, putting in the description field the id of the reviewer.
3- install the #SESSION plugin:
http://spip-zone.info/spip.php?page=session
this will allow you to control who is connected.
Now you should create a template for the review. This is the basic code
to put in a review.html file in your "squelettes" directory.
#CACHE{0}
<BOUCLE_art(ARTICLES) {statut=prop} {id_article}>
<BOUCLE_check_review(MOTS){id_article}{type=reviewers}
{descriptif=#SESSION{id_auteur}}>
</BOUCLE_check_review>
<h1>#_art:TITRE</h1>
#_art:TEXTE
<hr>
<h2>Your Review:</h2>
#FORMULAIRE_FORUM
</B_check_review>
YOU CAN ACCESS THIS PAGE, you might want to login #LOGIN_PUBLIC
<//B_check_review>
</BOUCLE_art>
Then, when an article is proposed, then you'll:
a) add the reviewer's keyword to the article
b) send a link to each reviewer:
yoursite.co/?page=review&id_article=XX
where XX is the id of the article.
Here is how it works:
- The _art loop only display the article selected in the url and check
that it has a proposed status
- the _check_review loop checks if that article has a keyword in the
group "reviewer" with the description field equals to the logged user id
- if this is true, then we display the title and text of the article
with a forum form
- else we display a message and a login form.
I haven't tested that but I hope it works.
There is however a limitation: the authors that want to write an article
need a login to the private area. Therefore, they will see the proposed
articles and who has submited them. Hence the reviewers shouldn't be
authors...
There is a plugin I think, that allows you to put a form for writting
articles in the public area, so the authors have no need to go to the
private area, but I have never used it, so I can't comment on that.
Good luck,
Pierre