OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Google Scholar Publisher Info

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Google Scholar Publisher Info

Postby osborne » Fri Apr 06, 2007 8:48 am

The publisher info file that OJS creates for Google Scholar doesn't include the change-dates for the metadata files. Google Scholar says that field is optional, so it doesn't matter, but I suppose they use it for something and it may be worth including. Given that the files are created dynamically, it seems to make sense for the date to be the date the files are created. Does that make sense, or did you omit the field deliberately?
osborne
 
Posts: 77
Joined: Mon Jun 07, 2004 1:24 pm
Location: Toronto, Canada

Postby asmecher » Fri Apr 06, 2007 9:47 am

Hi Martin,

Off the top of my head, I'm not sure what that field signifies -- however, I'll make a note to review it before the release of OJS 2.2, and if it's a field that we're already tracking, I'll add it.

See http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=2774 for the bugzilla entry.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 9082
Joined: Wed Aug 10, 2005 12:56 pm

Postby osborne » Fri Apr 06, 2007 12:04 pm

Hi Alec. According to the folks at Google Scholar, the field records "The date on which this file [the metadata file] was last updated", so I think the date should just be the date the script is run.

I see one other problem with the XML files, which I've just reported to Buzilla: an error (a missing '&') in the plugin script causes the publication date for every article to be recorded as the publication date of the last article: see http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=2775

Best
Martin
osborne
 
Posts: 77
Joined: Mon Jun 07, 2004 1:24 pm
Location: Toronto, Canada

Postby asmecher » Fri Apr 06, 2007 12:20 pm

Hi Martin,

Thanks for the report -- will fix for OJS 2.2.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 9082
Joined: Wed Aug 10, 2005 12:56 pm

Postby osborne » Fri Apr 06, 2007 7:04 pm

Hi Alec. I've now finished setting up the Google Scholar XML generation, and a few more points came up.
  1. The Google Scholar instructions say the first and last page numbers for each article are required, but they are not written by the OJS GS plugin. If OJS users are submitting metadata to GS and GS isn't complaining, then perhaps the numbers aren't in fact required. It wasn't hard for me to add them to my system (by adding first_page and last_page fields to the published_articles table), but in your more general environment (with journals that don't use page numbers, for example), I can see that it would be more difficult.
  2. The GS instructions say the pub-date field should have the header
    <pub-date pub-type="pub">
    rather than
    <pub-date>
    as in the OJS-generated file. (I don't know the significance of the difference.)
  3. It would be nice to allow users to include in the XML file only articles in some sections of their journals. (I excluded editorials in my journal, by restricting to sections for which meta_indexed = 1.) (The list of allowed article types in GS doesn't include editorials.)
  4. The article-type field is optional, and is not written by the OJS GS plugin. I am anxious to do everything to get GS to display the papers we publish correctly, and added that field to the XML. It would be nice if OJS gave that as an option.
  5. Finally, in the pub-date field, the day and month are optional. They are both included by the OJS plugin; I excluded the day (on the basis that GS's displaying a day is rather strange for a quarterly journal) and I guess it would be nice if that option were available in the default OJS system.

As always, I appreciated the beautiful design of the OJS system when making the customizations!

Best
Martin
osborne
 
Posts: 77
Joined: Mon Jun 07, 2004 1:24 pm
Location: Toronto, Canada

Postby asmecher » Sat Apr 07, 2007 3:03 pm

Hi Martin,

As always, thanks for the detailed feedback. I've made a note at http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=2774 to review your suggestions here; you might want to add yourself to that entry's CC list.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 9082
Joined: Wed Aug 10, 2005 12:56 pm

Postby osborne » Thu Apr 12, 2007 6:32 pm

Hi Alec. I think there is a bug in the URI fields. As written, the code is OK for articles published as HTML, but if I'm not mistaken doesn't work for pdf files (because the code uses viewArticle instead of view). See
http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=2800
for my report. (I hope I'm not off base on this one---I'm not very familiar with this part of the code.)

best
Martin
osborne
 
Posts: 77
Joined: Mon Jun 07, 2004 1:24 pm
Location: Toronto, Canada

Postby asmecher » Thu Apr 12, 2007 10:02 pm

Hi Martin,

What version of GoogleScholarPlugin.inc.php are you using? Look in the code header to double-check.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 9082
Joined: Wed Aug 10, 2005 12:56 pm

Postby osborne » Fri Apr 13, 2007 9:25 am

I'm using 1.7, but I've corrected the bug that I pointed out in that version (and that you corrected in 1.8), and 1.9 involves only changes in the copyright dates. So ... effectively I'm using the latest version. The error is in that version.
osborne
 
Posts: 77
Joined: Mon Jun 07, 2004 1:24 pm
Location: Toronto, Canada

Postby asmecher » Fri Apr 13, 2007 9:34 am

Hi Martin,

Thanks. I see the bug is recorded against 2.2, so I'll review it in more detail as that release approaches. In the meantime, go ahead with your proposed fix -- although off the top of my head it looks like you may have trouble with HTML galleys, as using the viewFile function may not rewrite image links etc.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 9082
Joined: Wed Aug 10, 2005 12:56 pm

Postby osborne » Fri Apr 13, 2007 9:48 am

Hi Alec. Yes, I realise my use of 'viewFile' will work only for pdf files; I see my report on bugzilla is confused on this point. In your general system you'll use 'view'.

Best
Martin
osborne
 
Posts: 77
Joined: Mon Jun 07, 2004 1:24 pm
Location: Toronto, Canada


Return to OJS Technical Support

Who is online

Users browsing this forum: Google [Bot] and 5 guests