OpenOffice.org => Libronix Sermon File Addin

Overview

I am attempting to write an export filter for
OpenOffice.org which will export Libronix Sermon File's ready to be compiled from within Libronix. The Libronix sermon file format (*.lbxsfl) is just a basic XML file with some fairly simple rules. I have yet to determine whether or not the formatting represented in the help file represents the entirety of all of the formatting options. (Internal Libronix Link)

SourceForge.net Logo
Sourceforge is providing the bug tracking and file serving for this project. You can link directly to it and related projects at: http://sourceforge.net/projects/libronixtools/

If you are interested in helping with developing tools for Libronix to be released under GPL licensing and you wish to distribute them under the libronixtools sourceforge account let me know.

Considerations

Just a few concerns and considerations as I work on the export filter for OOo=>lbxsfl

  • Title will need to be created from the sermon title
  • Passages will not be filled in, you will have to do this manually. The easiest way is by copying the open file to the clipboard and then filling the verse list from the clipboard.
  • The Publish To Logos Database will be turned off by default (both to ensure quality is all that get's uploaded and because I want to choose which of my sermons get uploaded
  • the default type will be sermon, if it is an illustration you will have to change the radio button manually.
  • The author information I may not be able to auto fill either. I have to think about how to do this.
  • Topics and tags will most likely need to be added manually.
  • I will attempt to input the file creation date (or last save date) as the preaching date, the location will be left blank
  • the notes will be filled in by the comments section of OOo I hope.

Please include your concerns in comments below.

Reference Links

I had a difficult time finding all of the references I needed in order to begin writing the filter so Here is a random collection of links and other information which I can't afford to lose at this point.

There are working examples located the openoffice.org installation directory under /share/xslt Notably the wiki syntax file which is provided there which will provide the backbone for this project.

http://xml.openoffice.org/sx2ml/#Overview_over_XSLT_stylesheets
http://www.zvon.org/xxl/XSLTutorial/Old_version/Books/Book1/index.html
http://xml.openoffice.org/ & http://xml.openoffice.org/filter/ & http://xml.openoffice.org/xfilter.html
http://wiki.services.openoffice.org/wiki/Xml/Filters
http://www.ibm.com/developerworks/xml/library/x-think15/
http://www.slideshare.net/jza/xml-based-filters-in-openofficeorg
http://officefmt.iqchoice.com/xslt.html
* http://books.evc-cit.info/apb.php
* http://www.linux.com/feature/119363
* http://uniwakka.sourceforge.net/OpenOffice2UniWakka
* http://books.evc-cit.info/odbook/ch09.html

http://www.dpawson.co.uk/xsl/xslvocab.html

XSLT output encoding.

Sermon File Addin:
http://www.logos.com/products/details/3164 and the video's linked at the bottom of the page.

The Extent of lbxsfl formatting

Formatting

The documented formatting for lbxsfl is very limited as it stands. It is based upon basic wiki syntax and provides for the following:

  • Paragraphs
    • <crlf>
    • line breaks \\
  • Headings (1-6)
    1. !
    2. !!
    3. !!!
    4. !!!!
    5. !!!!!
    6. !!!!!!
  • Emphasis
    • Italic /
    • Bold *
  • Lists
    • UL <crlf> *
    • OL <crlf> #.
    • nested lists of both types are accomplished by equalized spacing before the tag
  • tables | | |
  • Horizontal lines ----<crlf>
  • hyperlinks
    • (this is misleading and appears to work only internally with Libronix- a big limitation)
    • [[datatypereference|displayedtext]]
    • Refer to the documentation regarding the differences between parsed and unparsed references
  • Segment
    • {{ }}
    • Language Uses the two or three letter language code after a colon the word follows.
    • {{:el γινωσκω}}
  • Blockquotes {{{"<crlf> text <crlf> }}}
  • Characters can be escaped by preceding them with a tilde ~