... | @@ -47,8 +47,18 @@ As mentioned above, some implementaion are returning content-type as _text/xml_ |
... | @@ -47,8 +47,18 @@ As mentioned above, some implementaion are returning content-type as _text/xml_ |
|
## Custom LOM Elements
|
|
## Custom LOM Elements
|
|
### centity
|
|
### centity
|
|
_centity_ is a customized element, which is introduced by edu-sharing for vcard support (used by UIBK). _entity_ is the default one (used by TUGraz).
|
|
_centity_ is a customized element, which is introduced by edu-sharing for vcard support (used by UIBK). _entity_ is the default one (used by TUGraz).
|
|
For the element langstring the attribute xml:lang is used.
|
|
```xml
|
|
|
|
<lom:centity>
|
|
|
|
<lom:vcard>
|
|
|
|
BEGIN:VCARD VERSION:3.0 N:Habersam;Michael;;; FN:Michael Habersam TITLE:Ao. Univ. Prof. Dr. END:VCARD
|
|
|
|
</lom:vcard>
|
|
|
|
</lom:centity>
|
|
```
|
|
```
|
|
|
|
*FN* is the common used one in oerhub. It is recommended to use the optional FN in vCard version 2.1 to show similar output for all connected repositories
|
|
|
|
## Special Attribues
|
|
|
|
### xml:lang
|
|
|
|
For the element langstring the attribute xml:lang is used.
|
|
|
|
```xml
|
|
<lom:title>
|
|
<lom:title>
|
|
<lom:langstring xml:lang="de">Wirtschaft integrativ verstehen</lom:langstring>
|
|
<lom:langstring xml:lang="de">Wirtschaft integrativ verstehen</lom:langstring>
|
|
</lom:title>
|
|
</lom:title>
|
... | @@ -56,10 +66,10 @@ For the element langstring the attribute xml:lang is used. |
... | @@ -56,10 +66,10 @@ For the element 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>
|
|
```
|
|
```
|
|
## Special Attribues
|
|
|
|
### x-none
|
|
### x-none
|
|
"x-none" is used for strings without language identification.
|
|
"x-none" is used for strings without language identification.
|
|
```
|
|
```xml
|
|
<lom:value>
|
|
<lom:value>
|
|
<lom:langstring xml:lang="x-none">Author</lom:langstring>
|
|
<lom:langstring xml:lang="x-none">Author</lom:langstring>
|
|
</lom:value>
|
|
</lom:value>
|
... | | ... | |