You are viewing the PKP Support Forum | PKP Home Wiki

CrossCheck collect pdf on OJS

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
This forum is meant for general questions about the usability of OJS from an everyday user's perspective: journal managers, authors, and editors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OJS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OJS:

1. Read the documentation. We've written documentation to cover from OJS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OJS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OJS Technical Support subforum; if you have a development question, try the OJS Development subforum.

CrossCheck collect pdf on OJS

Postby zwu96 » Tue Dec 13, 2011 8:48 pm


We are starting to use CrossCheck. As a precondition, we have to allow CrossCheck's crawler to collect our article's pdf file. And the crawler follows the URL in DOI (crossref xml) .
As you know, the URL in DOI (crossref xml) goes to the abstract page, not the PDF file. And then, crosscheck says their crawler can not catch the pdf file. How could I do?
This is the message from CrossCheck: "we need you to redirect our crawler from the DOI landing page (abstract) straight to the full text. Instructions for the various ways in which you can do this are on our indexing page: http://www.crossref.org/crosscheck_indexing.html "

Last edited by zwu96 on Fri Jan 04, 2013 1:01 pm, edited 1 time in total.
Posts: 25
Joined: Mon Jan 28, 2008 3:28 am

Re: CrossCheck collect pdf on OJS

Postby jmacgreg » Tue Dec 27, 2011 6:59 pm

Hi Wenwu Zhao,

Good question. We're currently in preliminary discussions with CrossRef about different ways we can better support each other, so chances are there will be a better way to do this in the future; but for the time being, you may want to try the following. If you could report back on how either of these modifications worked, we'd appreciate it.

You will have to edit templates/article/header.tpl. Below

Code: Select all
{include file="article/googlescholar.tpl"}

add the following code:

Code: Select all
{foreach from=$article->getGalleys() item=cc_galley}
   {if $cc_galley->getFileType()=="application/pdf"}
      <meta name="fulltext_pdf" content="{url page="article" op="download" path=$article->getBestArticleId($currentJournal)|to_array:$cc_galley->getBestGalleyId($currentJournal)}"/>
      <meta name="fulltext_html" content="{url page="article" op="view" path=$article->getBestArticleId($currentJournal)|to_array:$cc_galley->getBestGalleyId($currentJournal)}"/>

This should generate the

Code: Select all
<meta name="fulltext_html" content="http://www.foo.com/bar/article.html">
<meta name="fulltext_pdf" content="http://www.foo.com/bar/article.pdf">

links on all abstract and galley pages, which should suffice for the CrossCheck service. This could best be developed as a standalone CrossCheck plugin, which am happy to provide pointers for if there is enough interest. We will most likely do this at a later date as well, so keep posted.

Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am

Re: CrossCheck collect pdf on OJS

Postby orcalator » Mon Feb 04, 2013 6:49 am

Are there any changes here or this is still a suggested way of doing it? Thx.


Posts: 3
Joined: Thu May 24, 2012 5:43 am

Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests