Tag <dc:creator> missing in my repository

citrik - June 18, 2009 - 15:06
Project:OAI-PMH Module
Version:6.x-1.0
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:citrik
Status:closed
Description

Hello,

We are designing a Drupal website for an online Journal.
I am in charge of the integration of metadata, and I was very interested in the possibility of creating an OAI-PMH repository (I don't need an harvester, only the repository).

So I tried an offline build with Biblio and OAI2. I use Drupal 6.12 and its french translation , Biblio 6.x 1.5 and OAI2 6.x 1.0. I think these to be the up to date versions.
I tried this query verb=ListRecords&metadataPrefix=oai_dc on my repository and everything works fine, appart from the tag that's missing.

For exemple (MLA output style):
Titre = This is to show how bad the author went
Publication Type = Web Article
Year of Publication = 2005
Authors = Finnigan, Peter Jayrus, and Jane Kimberley Smith
Series Title = My Journal
Date Published = 05/2005
Publisher = Jane Smith & Co
Place Published = Near Nowhere
Publication Language = eng
ISSN Number = 1234-1234
Keywords = Knowledge management Documentation
URL = http://www.thingy.com

results in:

47
2009-06-18TZ
web_article

This is to show how bad the author went
2005
Text
eng
Jane Smith & Co
http://www.thingy.com
http://localhost/drupal-6.12/node/47

It seems I am the first one to report this problem. And since OAI2 is not exactly customisable, I am at a loss.

Thanks for your help!

PS One other minor problem : the citekey based URL is available only in simplified URLs scheme.

#1

citrik - June 18, 2009 - 15:11

In fact, it is not that bad, here is the way it shows:

<record>

<header>
<identifier>47</identifier>
<datestamp>2009-06-18TZ</datestamp>
<setSpec>web_article</setSpec>
</header>

<metadata>

<oai_dc:dc xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
<dc:title>This is to show how bad the author went</dc:title>
<dc:date>2005</dc:date>
<dc:type>Text</dc:type>
<dc:language>eng</dc:language>
<dc:publisher>Jane Smith & Co</dc:publisher>
<dc:identifier>http://www.thingy.com</dc:identifier>
<dc:identifier>http://localhost/drupal-6.12/node/47</dc:identifier>
</oai_dc:dc>
</metadata>
</record>

#2

rjerome - June 18, 2009 - 16:57
Status:active» fixed

Indeed there was a bug in the creator handling which has now been fixed, and I am also surprised you are the first to notice that ;-)

Thanks for the report.

Ron.

#3

citrik - June 18, 2009 - 18:41

<dc:title>This is to show how bad the author went</dc:title>
<dc:creator>Finnigan, Peter Jayrus</dc:creator>
<dc:creator>Smith, Jane Kimberley</dc:creator>
<dc:date>2005</dc:date>

It works great.
Thank you so much!

#4

rjerome - June 18, 2009 - 19:11

My pleasure, You must have pulled that fix off the CVS server? The new -dev version isn't even built yet.

Ron.

#5

citrik - June 18, 2009 - 22:31

Well, yes!

I had to figure a way.

It seems to be the only fix since the last stable version of December 2008.
Since we go online in two weeks, the quickest is very likely the best for me...

And changing three lines in PHP code seemed not impossible to do :)

Cédric.

#6

rjerome - June 19, 2009 - 00:38

FYI, in case you didn't notice, I made a new (1.1) release.

Ron.

#7

citrik - June 19, 2009 - 10:10

Yeah!

This is likely to be useful to more and more people.
Thanks again for your work and your time.

Cédric.

#8

citrik - June 22, 2009 - 04:53

Hello again,

I don't post a new issue for it, since the problem is quite similar to the <dc:creator> tag.

The <dc:subject> tag doesn't show.
I checked the keyword_data table and it is populated.

I hope there is only a little tweak to make it perform correctly.

Thanks for your help!

#9

rjerome - June 22, 2009 - 13:48

Hi Cédric,

It's fixed now, and a new 1.2 version is out. These issue stem from the fact that both contributors (authors) and keywords moved to their own tables in the 6.x version. Clearly the quality control dept. needs a wake up call ;-)

Ron.

#10

citrik - June 22, 2009 - 18:32

Hello Ron,

Thanks for your help again.
I am sorry not to stay longer, I am in a bit of a rush these days...

See you soon!

Cédric

#11

System Message - July 6, 2009 - 18:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.