Difference between revisions of "Imeji Interfaces"
Kleinfercher (talk | contribs) |
Kleinfercher (talk | contribs) (Imeji -> imeji) |
||
Line 1: | Line 1: | ||
{{Imeji}} | {{Imeji}} | ||
This page describes the interfaces for the | This page describes the interfaces for the imeji application | ||
==[[Image:Rdf.jpg | 70px ]] RDF Export == | ==[[Image:Rdf.jpg | 70px ]] RDF Export == | ||
Line 14: | Line 14: | ||
== [[Image:OA100.gif | 70px ]] OAI Interface == | == [[Image:OA100.gif | 70px ]] OAI Interface == | ||
imeji allows the fetching of metadata from its repository by supporting the [http://www.openarchives.org/OAI/2.0/openarchivesprotocol.htm Open Archives Initiatives Protocol for Metadata Harvesting] (OAI-PMH).<br/> The mapping of the native imeji rdf to oai_dc can be found [[Imeji_Metadata_Mapping | here]] | |||
=== Verb: Identify === | === Verb: Identify === | ||
Gives back information on the | Gives back information on the imeji Repository. <br/> | ||
'''Parameter:''' None <br/> | '''Parameter:''' None <br/> | ||
'''Example:''' http://dev-faces.mpdl.mpg.de/fledgeddata/oai/?verb=Identify <br/> | '''Example:''' http://dev-faces.mpdl.mpg.de/fledgeddata/oai/?verb=Identify <br/> | ||
Line 29: | Line 29: | ||
===Verb: ListSets === | ===Verb: ListSets === | ||
Gives back a list of sets which are provided by the repository. | Gives back a list of sets which are provided by the repository. imeji provides by default, all collections and albums as sets. <br/> | ||
'''Parameter:''' None <br/> | '''Parameter:''' None <br/> | ||
'''Example:''' http://dev-faces.mpdl.mpg.de/fledgeddata/oai/?verb=ListSets <br/> | '''Example:''' http://dev-faces.mpdl.mpg.de/fledgeddata/oai/?verb=ListSets <br/> |
Revision as of 10:50, 5 April 2012
This page describes the interfaces for the imeji application
RDF Export[edit]
RDF export interface for the imeji application.
Parameter: format, type, q, n
- format: rdf, sitemap
- type: Type of item (image, collection, album, mdprofile)
- q: The query
- n: The offset
OAI Interface[edit]
imeji allows the fetching of metadata from its repository by supporting the Open Archives Initiatives Protocol for Metadata Harvesting (OAI-PMH).
The mapping of the native imeji rdf to oai_dc can be found here
Verb: Identify[edit]
Gives back information on the imeji Repository.
Parameter: None
Example: http://dev-faces.mpdl.mpg.de/fledgeddata/oai/?verb=Identify
Not supported: None
Verb: ListMetadataFormats[edit]
Gives back all metadata formats which are supported by the repository. All listed formats can be used as a parameter for a GetRecord request (currently collections and albums can only be fetched in native imeji format).
Parameter: None
Example: http://dev-faces.mpdl.mpg.de/fledgeddata/oai/?verb=ListMetadataFormats
Not supported: identifier
Verb: ListSets[edit]
Gives back a list of sets which are provided by the repository. imeji provides by default, all collections and albums as sets.
Parameter: None
Example: http://dev-faces.mpdl.mpg.de/fledgeddata/oai/?verb=ListSets
Not supported: resumptionToken
Verb: GetRecord[edit]
Gives back a specific record, specified in the identifier parameter. A record can be everything with a url in imeji, currently: images, collections and albums.
Parameter: identifier, metadataPrefix
Example: http://dev-faces.mpdl.mpg.de/fledgeddata/oai/?verb=GetRecord&identifier=http://imeji.mpdl.mpg.de/image/14&metadataPrefix=imeji
Not supported: Handling of deleted records
Verb: ListIdentifiers[edit]
Gives back the oai header for all images in the repository or, if set parameter is defined , all images of a set.
Parameter: metadataPrefix, set
Example: http://dev-faces.mpdl.mpg.de/fledgeddata/oai/?verb=ListIdentifiers&metadataPrefix=imeji&set=http://imeji.mpdl.mpg.de/collection/134
Not supported: from, until, resumptionToken
Verb: ListRecords[edit]
Gives back the metadata record of all images in the repository or, if set parameter is defined , all images of a set.
Parameter: metadataPrefix, set
Example: http://dev-faces.mpdl.mpg.de/fledgeddata/oai/?verb=ListRecords&metadataPrefix=imeji
Not supported: from, until, resumptionToken
http://upload.wikimedia.org/wikipedia/commons/a/a2/Farm-Fresh_sitemap.png Sitemap[edit]
The sitemap functionality of the Fledged Data Service exploits the oai interface and creates a sitemap out of all items it retrieves with a ListIdentifiers call.
Therefore only image URLs will be listed in the sitemap.xml. The interval of the sitemap creation can be configured in the fds properties file.
Example: http://dev-faces.mpdl.mpg.de/fledgeddata/sitemap.xml