| 1 | = tickets/{ticket}/{lang} = |
| 2 | |
| 3 | ==GET== |
| 4 | |
| 5 | === xml === |
| 6 | Rückgabe: |
| 7 | {{{ |
| 8 | <xml> |
| 9 | <resultSet lang="LANG" queryString="QUERYSTRING"> |
| 10 | <results> |
| 11 | <result> |
| 12 | <cleanedPath>CLEANED_PATH TO THE DOCUMENT</cleanedPath> |
| 13 | <textId>TEXTID</textId> |
| 14 | <textIdCleaned>TEXTID_CLEAN</textIdCleaned> |
| 15 | <md>METADATA</md> |
| 16 | </result> |
| 17 | <result> |
| 18 | ... |
| 19 | </result> |
| 20 | </results> |
| 21 | </resultSet> |
| 22 | </xml> |
| 23 | }}} |
| 24 | |
| 25 | Hierbei sind: |
| 26 | |
| 27 | ||LANG||Sprache|| |
| 28 | ||QUERYSTRING|| Suchstring|| |
| 29 | ||CLEANED_PATH TO THE DOCUMENT|| Pfad zu Document im Storagesystem (nach MPIWG konventionen Pfade die mit permanent oder experimental beginnen|| |
| 30 | ||TEXTID||Identifier des Textes || |
| 31 | ||TEXTIDCLEAN|| Identifier des Textes URLencoded (see [ticket:12]|| |
| 32 | ||METADATA|| Metadaten des Textes, als Dublincore, beispiel siehe unten|| |
| 33 | |
| 34 | |
| 35 | Beispiel für Metadata: |
| 36 | {{{ |
| 37 | <bib xmlns:dc="http://dublincore.org/documents/dcmi-namespace/"> |
| 38 | <dc:creator>Annon</dc:creator> |
| 39 | <dc:type>Edited Book</dc:type> |
| 40 | <dc:title>Hommage a Gaston Bachelard. Etudes de philosophie et d'histoire des sciences</dc:title> |
| 41 | |
| 42 | </bib> |
| 43 | }}} |
| 44 | |
| 45 | |
| 46 | |
| 47 | === html === |
| 48 | |
| 49 | {{{ |
| 50 | <div class="resultLang">LANG</div> |
| 51 | <table class="results"> |
| 52 | <tr class="resultDocument documentHit" id="LANG_TEXIDCLEAN"> |
| 53 | <td class="resultLink"> |
| 54 | <a class="resultHits" target="found" href="/linesInDocument/TextId/lang/QUERYSTRING">view</a> |
| 55 | </td> |
| 56 | <td class="resultTextId"> |
| 57 | TEXTID |
| 58 | </td> |
| 59 | |
| 60 | |
| 61 | </table> |