xml director - the technical foundation of onkopedia.com
TRANSCRIPT
![Page 1: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/1.jpg)
www.produce-and-publish.info Single-Source Multi-Channel Publishing (C) 2013 ZOPYX Ltd.
Single-Source Multi-Channel Publishing
Andreas Jung www.zopyx.de
xml-director.info
XML User Group Berlin 16. März 2016
![Page 2: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/2.jpg)
www.xml-director.info Professional XML Publishing
‣ Freelancer, System-Analyst, Software-Architekt ‣ Arbeitsgebiete: ‣ Content-Management ‣ Intranet-Extranet-Intranet Lösungen ‣ Individualsoftware, komplexe Webprojekte ‣ Publishing (PDF, EPUB, XML)
‣ Technologien: ‣ Plone CMS, Python, PDF, XML, Web Technology…. ‣ Open-Source…
/ME
![Page 3: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/3.jpg)
www.xml-director.info Professional XML Publishing
‣ Vorstellung "Onkopedia" Projekt ‣ Vorstellung "XML-Director"
Agenda
![Page 4: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/4.jpg)
www.xml-director.info Professional XML Publishing
Was ist Onkopedia?‣ www.dgho-onkopedia.de • www.onkopedia-guidelines.info
‣ Medizinisches Fachportal mit Behandlungs- und Diagnoseleitlinien zur Erkennung und Behandlung von Krebs- und Bluterkrankungen in DACH
‣ Mittel der Qualitätssicherung im Bereich der Evidenz-basierten Medizin
‣ reflektiert den aktuellen Wissensstand der Forschung
‣ Betreiber: Deutsche Gesellschaft für Hämatologie und Medizinische Onkologie (DGHO) und weitere DACH Fachgesellschaften
![Page 5: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/5.jpg)
www.xml-director.info Professional XML Publishing
Onkopedia Inhaltsbereiche‣ Onkopedia
‣ Zielgruppe: behandelnde Mediziner ‣ verbindliche Diagnose- und Behandlungsleitlinien
‣ Mein Onkopedia ‣ Zielgruppe: Patienten und deren Umfeld ‣ Patientengerechte Ansprache und Erklärung der Krankheitsbilder
‣ Onkopedia Pflege ‣ Zielgruppe: Pflegepersonal ‣ Pflegeanweisungen und Pflegediagnosen
‣ Wissensdatenbank ‣ Informationen und Vorträgen von Kongressen etc.
‣ Arzneimittelbewertungen ‣ Onkopedia EN
![Page 6: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/6.jpg)
www.xml-director.info Professional XML Publishing
Diagnose- und Behandlungsleitlinien
‣ Autoren sind führende Mediziner
‣ Dokumentarten: ‣ Leitlinien ‣ Zulassungsprotokolle ‣ Studienergebnisse ‣ Therapieprotokolle
‣ Leitlinien haben verbindlichen Charakter
‣ unterschiedliche Aktualisierungszyklen
![Page 7: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/7.jpg)
![Page 8: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/8.jpg)
![Page 9: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/9.jpg)
![Page 10: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/10.jpg)
![Page 11: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/11.jpg)
![Page 12: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/12.jpg)
![Page 13: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/13.jpg)
![Page 14: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/14.jpg)
![Page 15: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/15.jpg)
![Page 16: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/16.jpg)
www.xml-director.info Professional XML Publishing
‣ Autoren (Mediziner) verfassen Manuskripte in Word/DOCX
‣ Übergabe Word-Dokumente an interne Redaktion
‣ Import Manuskripte in CMS
‣ interne Überprüfung und Korrekturläufe
‣ Generierung druckfertiger PDF Dokumente gemäß vorkonfiguriertem Layout
Word-Manuskripte ➝ PDF
![Page 17: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/17.jpg)
www.xml-director.info Professional XML Publishing
2010-2014: Bearbeitungsworkflow
Word -> XHTML über externen Webservice (OpenOffice)
Grafiken nachbearbeiten (Imagemaps, Skalierung)
Konvertierung über externe Konverter nach PDF und EPUB
Freigabe und Publikation
![Page 18: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/18.jpg)
www.xml-director.info Professional XML Publishing
‣ Gründe für die Umstellung auf XML
‣ fragile Konvertierung
‣ Drittverwertung der Inhalte durch externe Anbieter (z.B. für Sondereditionen)
‣ Vereinheitlichung der Dokumentenstruktur
‣ Wunsch nach besserer Automatisierung des Publikationsworkflows
‣ Überarbeitung und Refaktorierung der Softwarebasis notwendig
‣ unzureichende Metadaten
ab 2015: Umstellung auf XML
![Page 19: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/19.jpg)
www.xml-director.info Professional XML Publishing
‣ HTML als internes Format ‣ fehlende Semantik der Elemente ‣ unzureichende Validierungsmöglichkeiten ‣ zu web-zentriert ‣ zu viele Freiheitsgrade ‣ unstrukturiert ‣ nicht zukunftssicher ‣ Anbindung an externe Dienstleister (XML Anforderung)
Gründe für Umstellung auf XML/Details
![Page 20: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/20.jpg)
www.xml-director.info Professional XML Publishing
‣ Word als Autorenwerkzeug ‣ DOCX als Quellformat ‣ Entwicklung einer spezifischen Word Formatvorlage ‣ Abbildung der Dokumentstrukturen ‣ semantische Auszeichnung von Textelementen und Absätzen
‣ DOCX ➝ XML Konvertierung als Webservice ‣ generiert XML und HTML (Web) ‣ Extrahiert Grafiken etc. ‣ automatischer Erkennung von Links etc.
‣ Speicherung XML in XML Datenbank (eXist-db)
Umstellung redaktioneller Workflow auf XML
![Page 21: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/21.jpg)
<dghodoc> <head> <metadata> <meta name="Titel"> <value>Mammakarzinom der Frau</value> </meta> <meta name="Bereich"> <value>onkopedia</value> </meta> <meta name="Status"> <value>current</value> </meta> <meta name="Pfad"> <value>onkopedia/de/onkopedia/leitlinien/mammakarzinom-der-frau</value> </meta> <meta name="URL"> <value>http://nohost/onkopedia/de/onkopedia/leitlinien/mammakarzinom-der-frau</value> </meta> <meta name="ID"> <value>e10dda8e-8327-44e5-ac8b-0fbaf3929e8f</value> </meta> <meta name="UUID"> <value>7f213cc83c37f2d8f7040c4f18172e1d</value> </meta> <meta name="Sprache"> <value>de</value> </meta> <meta name="DokumentTyp"> <value>guideline</value> </meta> <meta name="Dokumentart"> <value>guideline</value> </meta> <meta name="Autoren"/> <meta name="LLThema"/> <meta name="Zulassungland"/> <meta name="Fachgesellschaften"> <value>dgho</value> <value>oegho</value> <value>sgmo</value> </meta> <meta name="Klassifizierung"> <value>onkopedia::solid-tumors</value> </meta>
![Page 22: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/22.jpg)
www.xml-director.info Professional XML Publishing
‣ Bereitstellung HTML fürs Web
‣ Konvertierung XML nach PDF
‣ via „CSS Paged Media“
‣ HTML/XML als Eingabeformat
‣ CSS Stylesheets für Layout und Styling
‣ Konvertierung über kommerzielle PDF Konverter (PDFreactor)
‣ Bereitstellung PDF im Web zum Download
XML Publikationsworkflow
![Page 23: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/23.jpg)
www.xml-director.info Professional XML Publishing
Web-to-Print Automatischer Satz• Layout-orientierte Dokumente • Zusammenführung von Daten und
Templates • Alternative zu teuren Web-to-Print
Lösungen für einfache bis mittelkomplexen Layouts
• vergleichbar mit TeX • Fussnoten, Randziffern • Mehrsprachigkeit/Unicode • Spaltensatz • Trenntabellen (mehrsprachig) • LTR/RTL Unterstützung • Tabellen (über mehrere Seiten) • Bilder, Bildunterschriften • Tabellen-, Grafikverzeichnisse • Index-Generierung • automatisches Inhaltsverzeichnis • Deckseiten • PDF Bookmarks • sehr hohe PDF Qualität
Features
![Page 24: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/24.jpg)
Publishing Universum
![Page 25: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/25.jpg)
Publishing Universum
![Page 27: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/27.jpg)
Projektziele
• Schaffung eines Frameworks/Foundation für eigene Publishing Projekte auf Basis von XML für der Zukunft (kein fertiges Produkt)
• größtmögliche Kompatibilität XML Datenbanken und Storages
• praxis-orientierte Schnittstellen für Validierung, Transformationen (nicht XProc) und Konvertierungen
• offene Schnittstellen
• modularer Aufbau
![Page 28: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/28.jpg)
![Page 29: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/29.jpg)
Technische Grundlage Web-CMS Plone (plone.org):
• "Enterprise-grade" CMS seit 2001,
• sehr sicher, sehr flexibel
• Inhaltstypen,
• Workflows
• feingranulares Rechte- und Workflowmanagement
![Page 30: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/30.jpg)
Erweiterungen:• transparenter Zugriff auf Storages und XML Datenbanken
• eXist-DB, Mark Logic, BaseX • Integration von XML Inhalten in Plone Inhaltstypen • Validator-Registry • Transformation-Registry • Pipeline-Konzept für Transformationen • REST Webservice Schnittstelle • RESTXQ • Import/Export Schnittstellen • Logging • offene für Integration webbasierte (XML) Editoren (Smashdocs, XEditor, Oxygen)
![Page 31: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/31.jpg)
• XML Feldtypen für Plone Inhaltstypen
• XMLText (speichert und validiert XML)
• XMLImage, XMLFile
• XPath
• transparente Speicherung in XML Datenbank
xml_text = XMLText() xml_image = XMLImage()
obj.set_xml('xml_text', xml) obj.set_xml('xml_img', img_bin)
xml = obj.get_xml('xml_text') img_bin = obj.get_xml('xml_img')
![Page 32: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/32.jpg)
WebDAV (S)FTP
pyfilesystem
Plone
xmldirector.plonecore
Dropbox
GDriveAWS S3
Local FS
Architektur
OwnCloudAlfrescoeXistDBBaseX
Dropbox
Sharepoint Evernote
Facebook Flickr
Yandex
OneDrive
many others
Driver Driver Driver
SMEOtixo DropDav
WebDAV
nativeProtokolle native
ProtokolleYour setup SaaS setup
![Page 33: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/33.jpg)
Konvertierungen• Anbindung an Produce & Publish Server (www.produce-and-publish.com)
• PDF Generierung (Prince, PDFreactor, AH, Viviliostyle, Speedata)
• Libreoffice (via unoconv)
• EPUB (Calibre, Bookalope)
• DITA (DITA-OT, XMLMind DITAC)
• C-REX (Practice Innovation)
• DOCX -> XML
• DOCX -> HTML• DOCX -> DITA
• DOCX -> XML -> DOCX Roundtripping
![Page 34: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/34.jpg)
DEMO?!
![Page 35: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/35.jpg)
www.xml-director.info Professional XML Publishing
‣ Plone ‣ Open-Source Enterprise Content Management System
‣ eXist-db ‣ Open-Source XML Datenbank
‣ PDFreactor ‣ XML/HTML ➝ PDF Konverter (proprietär)
‣ Python ‣ Open-Source Programmiersprache
➝ offene und kostengünstige Lösung dank Open-Source ➝ Kein Vendor Lock-in
Eingesetzte Software
![Page 36: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/36.jpg)
• Website• www.xml-director.info
• Demo• demo.xml-director.info
• Dokumentation• https://pythonhosted.org/xmldirector.plonecore/
• Sourcecode• https://github.com/xml-director
• Lizenz• Open-Source (außer kommerzielle Services & externe Tools)
![Page 37: XML Director - the technical foundation of onkopedia.com](https://reader031.vdocuments.mx/reader031/viewer/2022022200/58a33bc81a28ab9b6d8b67d1/html5/thumbnails/37.jpg)
Andreas [email protected] www.zopyx.de www.xml-director.info www.print-css.rockswww.produce-and-publish.de
Fragen?