Download - xmlinclude für DSpace
![Page 1: xmlinclude für DSpace](https://reader031.vdokument.com/reader031/viewer/2022020307/559a2d281a28abf4758b477a/html5/thumbnails/1.jpg)
DSpace in TYPO3 einbinden: xmlinclude
XML✗Marianna Mühlhölzer ・ Sven-S. Porst
![Page 2: xmlinclude für DSpace](https://reader031.vdokument.com/reader031/viewer/2022020307/559a2d281a28abf4758b477a/html5/thumbnails/2.jpg)
Einleitung
• Motivation
• Lösungsansätze:
• REST – doppelter Aufwand, Qualität
• »billig« – Frontend als Middleware
• xmlinclude
![Page 3: xmlinclude für DSpace](https://reader031.vdokument.com/reader031/viewer/2022020307/559a2d281a28abf4758b477a/html5/thumbnails/3.jpg)
DSpace
![Page 4: xmlinclude für DSpace](https://reader031.vdokument.com/reader031/viewer/2022020307/559a2d281a28abf4758b477a/html5/thumbnails/4.jpg)
REST
HTML
Arbeitsteilung
DSpace »billig« xmlinclude REST
Ausgabe
Darstellung
Logik
Daten
DSpace TYPO3 TYPO3 TYPO3
DSpace DSpace TYPO3 TYPO3
DSpace DSpace DSpace TYPO3
DSpace DSpace DSpace DSpaceDaten
DSpace XSL
HTML
DSpace XSL
![Page 5: xmlinclude für DSpace](https://reader031.vdokument.com/reader031/viewer/2022020307/559a2d281a28abf4758b477a/html5/thumbnails/5.jpg)
REST
HTML
Arbeitsteilung
DSpace »billig« xmlinclude REST
Ausgabe
Darstellung
Logik
Daten
DSpace TYPO3 TYPO3 TYPO3
DSpace DSpace TYPO3 TYPO3
DSpace DSpace DSpace TYPO3
DSpace DSpace DSpace DSpaceDaten
DSpace XSL
HTML
DSpace XSL
![Page 6: xmlinclude für DSpace](https://reader031.vdokument.com/reader031/viewer/2022020307/559a2d281a28abf4758b477a/html5/thumbnails/6.jpg)
REST
HTML
Arbeitsteilung
DSpace »billig« xmlinclude REST
Ausgabe
Darstellung
Logik
Daten
DSpace TYPO3 TYPO3 TYPO3
DSpace DSpace TYPO3 TYPO3
DSpace DSpace DSpace TYPO3
DSpace DSpace DSpace DSpaceDaten
DSpace XSL
HTML
DSpace XSL
![Page 7: xmlinclude für DSpace](https://reader031.vdokument.com/reader031/viewer/2022020307/559a2d281a28abf4758b477a/html5/thumbnails/7.jpg)
REST
HTML
Arbeitsteilung
DSpace »billig« xmlinclude REST
Ausgabe
Darstellung
Logik
Daten
DSpace TYPO3 TYPO3 TYPO3
DSpace DSpace TYPO3 TYPO3
DSpace DSpace DSpace TYPO3
DSpace DSpace DSpace DSpaceDaten
DSpace XSL
HTML
DSpace XSL
![Page 8: xmlinclude für DSpace](https://reader031.vdokument.com/reader031/viewer/2022020307/559a2d281a28abf4758b477a/html5/thumbnails/8.jpg)
xmlinclude
TYPO3 Extension mit 3 Schritten
1. XML laden
2. XSL-Transformationen anwenden
3. XML in TYPO3 Content Element einfügen
![Page 9: xmlinclude für DSpace](https://reader031.vdokument.com/reader031/viewer/2022020307/559a2d281a28abf4758b477a/html5/thumbnails/9.jpg)
XML laden
• Basis- und Start-URL
• zusätzliche Parameter an URL anhängbar – optional, z.B. Sprache
• Cookies – optional
• schlechtes Markup – optional
![Page 10: xmlinclude für DSpace](https://reader031.vdokument.com/reader031/viewer/2022020307/559a2d281a28abf4758b477a/html5/thumbnails/10.jpg)
XSL anwenden
• Array von XSLs konfigurierbar
• TYPO3 Konfiguration wird als Parameter übergeben
• XSL zum Umschreiben von Links inclusive – Standardeinstellung
![Page 11: xmlinclude für DSpace](https://reader031.vdokument.com/reader031/viewer/2022020307/559a2d281a28abf4758b477a/html5/thumbnails/11.jpg)
Standard XSL
• für XHTML
• Links in a und form Tags durch TYPO3
• Links in img, script, link Tags nicht
• relative Links + base URL
• Ausnahmen durch class
![Page 12: xmlinclude für DSpace](https://reader031.vdokument.com/reader031/viewer/2022020307/559a2d281a28abf4758b477a/html5/thumbnails/12.jpg)
XML einfügen
• style, script konfigurierbar
• transformiertes XML einfügen
• ggf. Cookies weiterreichen
![Page 13: xmlinclude für DSpace](https://reader031.vdokument.com/reader031/viewer/2022020307/559a2d281a28abf4758b477a/html5/thumbnails/13.jpg)
RealURL
• Helferfunktion zur Einbindung dabei
• von Standard XSL unterstützt
• Konfiguration etwas umständlich – geht es besser?
![Page 14: xmlinclude für DSpace](https://reader031.vdokument.com/reader031/viewer/2022020307/559a2d281a28abf4758b477a/html5/thumbnails/14.jpg)
Demo
• mit DSpace:vlib.sub.uni-goettingen.de/vlib-test/pazpar2/dspace-xml/
• mit Opac:vlib.sub.uni-goettingen.de/vlib-test/pazpar2/opac-xml/
![Page 15: xmlinclude für DSpace](https://reader031.vdokument.com/reader031/viewer/2022020307/559a2d281a28abf4758b477a/html5/thumbnails/15.jpg)
Danke
• Fragen?
• Ideen?
• xmlinclude im TER
• github.com/ssp/typo3-xmlinclude