Update oai pmh authored by Peter Toth's avatar Peter Toth
...@@ -21,7 +21,7 @@ To get the Details of a specific Resourse: [Example 1](https://oer-repo.uibk.ac. ...@@ -21,7 +21,7 @@ To get the Details of a specific Resourse: [Example 1](https://oer-repo.uibk.ac.
As mentioned above, some implementaion are returning content-type as _text/xml_ like **invenio**, others like **edu-share** returning _application/xml_. So the client should be able to handle both! As mentioned above, some implementaion are returning content-type as _text/xml_ like **invenio**, others like **edu-share** returning _application/xml_. So the client should be able to handle both!
**oerhub.at** harvests the data with a perl-based daemon. The implementation is based from [OAI-Harvester 1.20]( https://metacpan.org/pod/Net::OAI::Harvester). The Perl modul expects _text/xml_ and supports the standard DC. So our module accepts also _application/xml_ and has a LOM-handler implemented. The tests are rewritten because the official CPAN Module has used Test-Servers which are switched off. **oerhub.at** harvests the data with a perl-based daemon. The implementation is based from [OAI-Harvester 1.20]( https://metacpan.org/pod/Net::OAI::Harvester). The Perl modul expects _text/xml_ and supports the standard DC. So our module accepts also _application/xml_ and has a LOM-handler implemented. The tests are rewritten against maintend repos.
## Required Elements ## Required Elements
- lom.general.title - lom.general.title
...@@ -31,8 +31,8 @@ As mentioned above, some implementaion are returning content-type as _text/xml_ ...@@ -31,8 +31,8 @@ As mentioned above, some implementaion are returning content-type as _text/xml_
- lom.rights.description (CC-BY) - lom.rights.description (CC-BY)
- lom.classification.taxonpath (Öfos) - lom.classification.taxonpath (Öfos)
centity is a custom entity which is introduced by edu-share for vcard support (used by UIBK). The entity is the default one (used by TUGraz). _centity_ is a custom entity which is introduced by edu-share for vcard support (used by UIBK). _entity_ is the default one (used by TUGraz).
For langstring the attribute xml:lang is used. For the element langstring the attribute xml:lang is used.
``` ```
<lom:title> <lom:title>
<lom:langstring xml:lang="de">Wirtschaft integrativ verstehen</lom:langstring> <lom:langstring xml:lang="de">Wirtschaft integrativ verstehen</lom:langstring>
...@@ -41,3 +41,9 @@ For langstring the attribute xml:lang is used. ...@@ -41,3 +41,9 @@ For langstring the attribute xml:lang is used.
<lom:langstring xml:lang="de">Einführungsvortrag zum Masterstudiengang Accounting, Auditing and Taxation</lom:langstring> <lom:langstring xml:lang="de">Einführungsvortrag zum Masterstudiengang Accounting, Auditing and Taxation</lom:langstring>
</lom:description> </lom:description>
``` ```
"x-none" is used for strings without language identification.
```
<lom:value>
<lom:langstring xml:lang="x-none">Author</lom:langstring>
</lom:value>
```
\ No newline at end of file