Two things spring to mind.  First (apologies for asking) you have put
the appropriate oai entries into the RELS-EXT of each object haven't you
(<oai:itemID>)?  Second, I wonder if there is some case sensitivity -
you have both FGDC and fgdc: I wonder if they should all match?

Try also 

http://localhost:8080/fedora/oai?verb=ListMetadataFormats and see if it
returns fgdc.     

R

-----Original Message-----
From: ivashrestha [mailto:shrest...@ornl.gov] 
Sent: 14 June 2011 8:35 PM
To: fedora-commons-users@lists.sourceforge.net
Subject: Re: [fcrepo-user] question on OAI-PMH

Hi Richard,
We have a datastream with DSID "FGDC.xml" and content as follows:
<metadata>
   [xml-content]
</metadata>

We want to expose this datastream using OAI-PMH support. And the changes
that we added to the proai.properties file are 

driver.fedora.md.formats = test_format formatX formatY oai_dc fgdc
driver.fedora.md.format.fgdc.dissType = info:fedora/*/FGDC.xml

After these changes the datastream is still not being exposed because
when
we do a 
http://localhost:8080/fedora/oai?verb=ListRecords&metadataPrefix=metadat
a     
we get

<OAI-PMH xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/
http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd";><responseDate>2011-06-1
4T11:12:25Z</responseDate><request
verb="ListRecords">http://localhost:8080/fedora/oai</request><error
code="cannotDisseminateFormat">Repository does not provide that format
in
OAI-PMH responses.</error></OAI-PMH>

Is there something we are missing?

thank you so much
Biva


--
View this message in context:
http://fedora-commons.1317035.n2.nabble.com/fcrepo-user-question-on-OAI-
PMH-tp6204787p6475611.html
Sent from the Fedora Commons Users mailing list archive at Nabble.com.

------------------------------------------------------------------------
------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
*****************************************************************************************
To view the terms under which this email is distributed, please go to 
http://www.hull.ac.uk/legal/email_disclaimer.html
*****************************************************************************************
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to