Difference between revisions of "Manual:Extension/BlueSpiceUniversalExport"

[unchecked revision][unchecked revision]
(UniversalExport HTML Module)
(Configuration variables)

What is UniversalExport?[edit | edit source]

UniversalExport enables the single page export to PDF.

Where to find UniversalExport?[edit | edit source]

UniversalExport provides also a widget (UNIVERSALEXPORT ) called "Export" for the Widgetbar. This includes links to various export modules. Which modules are displayed depends on the settings of the respective modules and on the permissions of universalexport-export. Access to an export module can also be granted and withheld depending on namespaces.

UniEx1.jpg

The functionality of UniversalExport[edit | edit source]

Information on the special page[edit | edit source]

The export modules installed and their status can be viewed at Special:UniversalExport. The information displayed depends on the individual modules.

UniEx2.jpg

Settings[edit | edit source]

UniversalExport and the individual modules can be configured under "WikiAdmi > Preferences".

UniEx3.jpg
UniEx4.jpg
UniEx5.jpg


Configuration variables[edit | edit source]

Following settings can be configured for UniversalExport and its submodules

Universal Export[edit | edit source]

Setting Description

Metadata (standard, JSON format)

Additional metadata to include in the template in JSON format, for example:

{"creator":"Hallo Welt! Medienwerkstatt GmbH"}. This data can later be accessed from the template

Metadaten (overriding, JSON format)

Metadata values to override existing metadata keys

UniversalExport PDF module[edit | edit source]

Setting Description

Standard template

Default template to use for exporting to PDF

Backend URL

URL to bshtml2pdf service

Hide namespace prefix in PDF

Whether to hide namespace part of page name when exporting to PDF

Template directory

:

Directory path to where PDF templates are located

UniversalExport Book PDF Module[edit | edit source]

Setting Description

Table of Contents

How should TOC appear in the book. This setting has following settings:

  • Only article titles (indent by page)
  • Enbed article TOCs (no indent of article titles

Standard template :

BlueSpice Book

Default template to use for exporting to PDF

Template directory :

extensions/BlueSpiceBookmaker/UEModuleBookPDF/data/PDFTemplates

Directory path to where PDF templates are located

UniversalExport HTML Module[edit | edit source]

Setting Description

Hide namespace prefix in HTML

Whether to hide namespace prefix of pages when exporting to HTML

Path to templates extensions/BlueSpiceBookmaker/UEModuleHTML/data/HTMLTemplates

Directory path to where HTML templates are located

Tips for working with UniversalExport[edit | edit source]

  • Shoutbox comments are not included when a page is exported.

Classical export with MediaWiki[edit | edit source]

MediaWiki itself only offers the export of content pages in a proprietary XML format. There are, however, extensions which make the creation of ODF, PDF or DocBook files possible.

See also[edit | edit source]

Our reference page.

<bs:bookshelf src="Book:User manual" />
        
        
        
        __TOC__
        
        
        
        ==What is UniversalExport?==
        
        '''UniversalExport''' enables the single page export to PDF.
        
        
        
        ==Where to find UniversalExport?==
        
        UniversalExport provides also a widget (<code>UNIVERSALEXPORT</code>
        
        ) called "Export" for the [[Archive:Widgetbar|Widgetbar]]. This includes links to various export modules. Which modules are displayed depends on the settings of the respective modules and on the permissions of
        
        
        <code>universalexport-export</code>. Access to an export module can also be granted and withheld depending on namespaces.
        
        
        
        ::: [[File:UniEx1.jpg|500x306px]]
        
        ==The functionality of UniversalExport==
        
        ===Information on the special page===
        
        The export modules installed and their status can be viewed at <code>Special:UniversalExport</code>. The information displayed depends on the individual modules.
        
        
        
        ::: [[File:UniEx2.jpg|500x300px]]
        
        ===Settings===
        
        UniversalExport and the individual modules can be configured under "WikiAdmi > Preferences".
        
        
        
        ::: [[File:UniEx3.jpg|500x286px]]
        
        ::: [[File:UniEx4.jpg|500x132px]]
        
        ::: [[File:UniEx5.jpg|500x295px]]
        
        
        
        
        
        ===Configuration variables===
        
        Following settings can be configured for UniversalExport and its submodules
        
        
        
        ===='''Universal Export'''====
        
        {| class="contenttable"
        
        |-
        
        !|'''Setting'''
        
        !|'''Description'''
        
        |-
        
        ||
        
        Metadata (standard, JSON format)
        
        
        
        ||
        
        
        * Additional metadata to include in the template in JSON format, for example:
        
        {"creator":"Hallo Welt! Medienwerkstatt GmbH"}
            
            
            
            
        . This data can later be accessed from the template
            
            
            
            
        |-
        
        ||
        
        Metadaten (overriding, JSON format)
        
        
        
        ||
        
        
        * Metadata values to override existing metadata keys
        
        
        
        |}
        
        
        
        ===='''UniversalExport PDF module'''====
        
        {| class="contenttable" |-
            
            !|'''Setting'''
            
            !|'''Description'''
            
            
            
            |-
            
            ||
            
            Standard template
            
            
            
            ||
            
            * style="width: 889px;"
            
            |-
            
            ! style="width: 252px;"|'''Setting'''
            
            ! style="width: 619px;"|'''Description'''
            
            
            
            |-
            
            | style="width: 252px;"|
            
            Standard template
            
            
            
            | style="width: 619px;"|
            
            
        Default template to use for exporting to PDF
        
        
        |-
            
            ||
            
            Backend URL
            
            
            
            ||
            
            * 
            
            |-
            
            | style="width: 252px;"|
            
            Backend URL
            
            
            
            | style="width: 619px;"|
            
            
        URL to bshtml2pdf service
        
        
        |-
            
            |
            
            |-
            
            | style="width: 252px;"|
        
        Hide namespace prefix in PDF
        
        
        
        ||
            
            *  style="width: 619px;"|
            
            
        Whether to hide namespace part of page name when exporting to PDF
        
        
        |-
            
            ||
            
            Template directory:
            
            
            
            ||
            
            * 
            
            |-
            
            | style="width: 252px;"|
            
            Template directory
            
            
            
            | style="width: 619px;"|
            
            
        Directory path to where PDF templates are located
        
        
        |}
            
            
            
            ===='''
            
            |}
            
            
            
            ====UniversalExport Book PDF Module'''====
        
        {| class="contenttable"
        
        |-
        
        !|'''Setting'''
        
        !|'''Description'''
        
        
        
        |-
        
        ||
        
        Table of Contents
        
        
        
        ||
        
        
        How should TOC appear in the book. This setting has following settings:
            
            
            
            
        * Only article titles (indent by page)
        
        
        
        * Enbed article TOCs (no indent of article titles
        
        
        
        |-
        
        ||
        
        Standard template:
            
            
            
            ||
            
            * BlueSpice Book
            
            |-
            
            ||
            
            Template directory:
            
            
            
            ||extensions/BlueSpiceBookmaker/UEModuleBookPDF/data/PDFTemplates
            
            |}
            
            
            
            ===='''UniversalExport HTML Module'''
            
            
            
            ||
            
            Default template to use for exporting to PDF
            
            
            
            |-
            
            ||
            
            Template directory
            
            
            
            ||Directory path to where PDF templates are located
            
            |}
            
            
            
            ====UniversalExport HTML Module====
        
        {| class="contenttable"
        
        |-
        
        !|'''Setting'''
        
        !|'''Description'''
        
        |-
        
        ||
        
        
        
            
            ||Hide namespace prefix in Hide namespace prefix in HTML
            
            
            
            ||Whether to hide namespace prefix of pages when exporting to HTML
        
        |-
        
        ||
        
        Path to templates
        
        
        
        ||
        
        
        extensions/BlueSpiceBookmaker/UEModuleHTML/data/HTMLTemplates
            
            
            
            
        Directory path to where HTML templates are located
            
            
            
            
        |}
        
        
        
        ==Tips for working with UniversalExport==
        
        * [[Shoutbox]] comments are not included when a page is exported.
        
        
        
        ==Classical export with MediaWiki==
        
        MediaWiki itself only offers the export of content pages in a proprietary XML format. There are, however, extensions which make the creation of ODF, PDF or DocBook files possible.
        
        
        
        ==See also==
        
        Our [[UniversalExport|reference page.]]
        
        
        
        
        <div id="box-info" style="width: 98%; margin: 20px 0; border: solid 2px #99bbe8; padding: 8px; background-color: #d6e3f2;">
        
        [[Image:Icon-link.png|left]]<div style="text-transform: uppercase; color: #99bbe8; font-size: 16px; font-weight: bold; margin: 0;">Related topics</div>
        
        
        <div color:="" 000="">
        
        * [[Bookshelf|PDF book of several articles]]
        
        * [[RSSStandards|RSS Export]]
        
        * [[Preferences|Admin Preferences]]
        
        
        
        
        </div>
        
        
        </div>
Line 28: Line 28:
 
Following settings can be configured for UniversalExport and its submodules
 
Following settings can be configured for UniversalExport and its submodules
  
===='''Universal Export'''====
+
====Universal Export====
 
{| class="contenttable"
 
{| class="contenttable"
 
|-
 
|-
Line 38: Line 38:
  
 
||
 
||
* Additional metadata to include in the template in JSON format, for example:
+
Additional metadata to include in the template in JSON format, for example:
{"creator":"Hallo Welt! Medienwerkstatt GmbH"}
+
{"creator":"Hallo Welt! Medienwerkstatt GmbH"}. This data can later be accessed from the template
  
 
|-
 
|-
Line 46: Line 46:
  
 
||
 
||
* Metadata values to override existing metadata keys
+
Metadata values to override existing metadata keys
  
 
|}
 
|}
  
===='''UniversalExport PDF module'''====
+
====UniversalExport PDF module====
{| class="contenttable"
+
{| class="contenttable" style="width: 889px;"
 
|-
 
|-
!|'''Setting'''
+
! style="width: 252px;"|'''Setting'''
!|'''Description'''
+
! style="width: 619px;"|'''Description'''
  
 
|-
 
|-
||
+
| style="width: 252px;"|
 
Standard template
 
Standard template
  
||
+
| style="width: 619px;"|
* Default template to use for exporting to PDF
+
Default template to use for exporting to PDF
 +
 
 
|-
 
|-
||
+
| style="width: 252px;"|
 
Backend URL
 
Backend URL
  
||
+
| style="width: 619px;"|
* URL to bshtml2pdf service
+
URL to bshtml2pdf service
 +
 
 
|-
 
|-
||
+
| style="width: 252px;"|
 
Hide namespace prefix in PDF
 
Hide namespace prefix in PDF
  
||
+
| style="width: 619px;"|
* Whether to hide namespace part of page name when exporting to PDF
+
Whether to hide namespace part of page name when exporting to PDF
 +
 
 
|-
 
|-
||
+
| style="width: 252px;"|
Template directory:
+
Template directory
 +
 
 +
| style="width: 619px;"|
 +
Directory path to where PDF templates are located
  
||
 
* Directory path to where PDF templates are located
 
 
|}
 
|}
  
===='''UniversalExport Book PDF Module'''====
+
====UniversalExport Book PDF Module====
 
{| class="contenttable"
 
{| class="contenttable"
 
|-
 
|-
Line 93: Line 97:
  
 
||
 
||
 +
How should TOC appear in the book. This setting has following settings:
 +
 
* Only article titles (indent by page)
 
* Only article titles (indent by page)
  
Line 99: Line 105:
 
|-
 
|-
 
||
 
||
Standard template:
+
Standard template
  
 
||
 
||
* BlueSpice Book
+
Default template to use for exporting to PDF
 +
 
 
|-
 
|-
 
||
 
||
Template directory:
+
Template directory
  
||extensions/BlueSpiceBookmaker/UEModuleBookPDF/data/PDFTemplates
+
||Directory path to where PDF templates are located
 
|}
 
|}
  
===='''UniversalExport HTML Module'''====
+
====UniversalExport HTML Module====
 
{| class="contenttable"
 
{| class="contenttable"
 
|-
 
|-
Line 117: Line 124:
 
|-
 
|-
 
||
 
||
 +
Hide namespace prefix in HTML
  
||Hide namespace prefix in HTML
+
||Whether to hide namespace prefix of pages when exporting to HTML
 
|-
 
|-
 
||
 
||
Line 124: Line 132:
  
 
||
 
||
extensions/BlueSpiceBookmaker/UEModuleHTML/data/HTMLTemplates
+
Directory path to where HTML templates are located
  
 
|}
 
|}

Attachments

Discussions