Changes between Version 34 and Version 35 of WikiExportPlugin
- Timestamp:
- Oct 22, 2015, 1:01:56 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiExportPlugin
v34 v35 19 19 == Download 20 20 21 Download the zipped source from [ download:wikiexportplugin here].21 Download the zipped source from [export:wikiexportplugin here]. 22 22 23 23 == Source 24 24 25 You can check out WikiExportPlugin from [ http://trac-hacks.org/svn/wikiexportplugin here] using Subversion, or [source:wikiexportplugin browse the source] with Trac.25 You can check out WikiExportPlugin from [/svn/wikiexportplugin here] using Subversion, or [source:wikiexportplugin browse the source] with Trac. 26 26 27 27 == Installation and Configuration … … 29 29 This plugin has been developed with '''python-uno''' 2.4.1, '''[http://www.crummy.com/software/BeautifulSoup/ BeautifulSoup]''' 3.0.7a and '''python-imaging-library (PIL)'''. 30 30 31 '''Note''': The plugin has been tested with !OpenOffice 3.2, Python UNO 3.2 and Trac 0.12.1 and works fine.31 '''Note''': The plugin has been tested with !OpenOffice 3.2, Python UNO 3.2 and Trac 0.12.1 and works as designed. 32 32 33 Python-uno is not installed by default. For install it, depends of OS:34 * Linux: If your Linux uses apt, you can install python-uno with the next command:33 Python-uno is not installed by default. The exact installation instruction depend on the operating system you are using: 34 * Linux: If your Linux uses apt, you can install python-uno as follows: 35 35 {{{#!sh 36 36 apt-get install python-uno python-beautifulsoup python-imaging 37 37 }}} 38 * With Debian Lenny 5.0, if you want to run '''soffice''' with `-headless` option, you must install these following packages too:38 * With Debian Lenny 5.0, if you want to run '''soffice''' with `-headless` option, install these packages also: 39 39 {{{#!sh 40 40 apt-get install openoffice.org openoffice.org-headless openoffice.org-java-common 41 41 }}} 42 * Mac: I can't install python-uno in mac.43 * Windows: The next article can be interesting: http://wiki.services.openoffice.org/wiki/Using_Python_on_Windows42 * Mac: I can't install python-uno on Mac OS. 43 * Windows: The following article can be useful: http://wiki.services.openoffice.org/wiki/Using_Python_on_Windows 44 44 45 45 Before use, you must start Open Office in service mode. To start Office in this mode, use a command like this: … … 57 57 == Example 58 58 59 A possible configuration of this plugin is the next:59 A possible configuration of this plugin is the following: 60 60 61 61 {{{#!ini 62 63 64 65 66 67 68 69 70 62 [openOffice-exporter] 63 user = john 64 psswrd = 1234 65 host = localhost 66 port = 8100 67 para-styles = Text Body, Default, Heading 1, Heading 2, Heading 3, ..., Heading 10 68 list-styles = List 1, Numbering 1, Numbering 2, Numbering 3 69 char-styles = Default, Source Text, Internet Link 70 isPersonalizeAttribute = False 71 71 }}} 72 72 … … 77 77 * '''para-styles''', '''list-styles''' and '''char-styles''': Are the styles that you want to use of the open office to export the wiki pages. 78 78 79 All th is fields are optional, but the default configuration of this plugin if for the spanish version of theOpen Office.79 All these fields are optional, but the default configuration of this plugin is for the Spanish version of Open Office. 80 80 81 When this plugin is active, appears three new optionsin the wiki pages:81 When this plugin is active, the following options appear in the wiki pages: 82 82 83 83 [[Image(wikiexport.png)]] 84 84 85 Since r5057, this plugin accepts a basic template system. This system works as follow :85 Since r5057, this plugin accepts a basic template system. This system works as follows: 86 86 1. Create a wiki page called '''!WikiTemplateConf''' 87 87 1. Adds to that page a text similar to the next: