Sun Wiki Publisher Export using Command Line

Issues with installing under all versions of MS Windows
Post Reply
BriCris
Posts: 2
Joined: Sun Feb 23, 2020 7:23 pm

Sun Wiki Publisher Export using Command Line

Post by BriCris »

Windows 10 Open Office 4.1.7

I have over 2k files in HTM and i'm using Sun Wiki Publisher Extension to convert them but it's going slow.

What I'm looking for is a way to convert them using the command line. I don't have much experience with OpenOffice but I can work my way around DOS and build a Batch file to run the commands but I can't find the command to call Sun Wiki Publisher. I can find the command to convert to PDF but not using the Sun Wiki Publisher.

If someone could please help that would be great.

Thanks so much.
Brian
OpenOffice 4.1.7 Win10
Bidouille
Volunteer
Posts: 577
Joined: Mon Nov 19, 2007 10:58 am
Location: France

Re: Sun Wiki Publisher Export using Command Line

Post by Bidouille »

I'm very curious: how this extension can be works?
This seems outdated and not compatible with new Mediawiki software builds.
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Sun Wiki Publisher Export using Command Line

Post by Villeroy »

This works for me:

Code: Select all

$ libreoffice6.4 --convert-to text:MediaWiki_Web  openoffice-uni-de.odt 
convert /home/andreas/Dokumente/LibreOffice/openoffice-uni-de.odt -> /home/andreas/Dokumente/LibreOffice/openoffice-uni-de.text using filter : MediaWiki_Web
This reports (among other things) all filter names: viewtopic.php?t=97134&p=465512#p465512
There are 2 filters: MediaWiki and MediaWiki_Web
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
BriCris
Posts: 2
Joined: Sun Feb 23, 2020 7:23 pm

Re: Sun Wiki Publisher Export using Command Line

Post by BriCris »

Villeroy wrote:This works for me:

Code: Select all

$ libreoffice6.4 --convert-to text:MediaWiki_Web  openoffice-uni-de.odt 
convert /home/andreas/Dokumente/LibreOffice/openoffice-uni-de.odt -> /home/andreas/Dokumente/LibreOffice/openoffice-uni-de.text using filter : MediaWiki_Web
This reports (among other things) all filter names: viewtopic.php?t=97134&p=465512#p465512
There are 2 filters: MediaWiki and MediaWiki_Web
Villeroy,

I'm using Win10 and when I run this at the command line all I get is the file open in OpenOffice 4 but not converted or Exported to WIki or apcy.txt. What i'm I missing?

Code: Select all

soffice --headless --convert-to text:MediaWiki_Web:apcy.htm
OpenOffice 4.1.7 Win10
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Sun Wiki Publisher Export using Command Line

Post by Villeroy »

OpenOffice is dead. Install https://libreoffice.org/
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Post Reply