This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Feature: Internet & WWW

Sun Wiki Publisher extension for OpenOffice.org shines

By Andrew Ziem on May 19, 2008 (9:00:00 AM)

Share    Print    Comments   

Wikis are a great way to collaborate on text documents, but different wikis sometimes use incompatible wiki markup languages, and few wikis provide simple WYSIWYG editors to shorten the learning curve. Even for those fluent in wiki markup, using a word processor to create wiki content is often more convenient -- especially for publishing existing documents and for creating complex tables. Now the newly available Sun Wiki Publisher simplifies the process of publishing an OpenOffice.org Writer document directly to a compatible MediaWiki wiki from OpenOffice.org 2.4 or later without the need for a Web browser.

Extension series

Publishing to MediaWiki is not an entirely new feature for OpenOffice.org. Versions 2.3 and later have a built-in XSLT export filter for exporting Writer documents to MediaWiki format. After export you must still open the exported document in a text editor, copy it, and paste it into the wiki through a Web browser. The new extension simplifies the publication process to just a few clicks, and avoids potential character encoding issues. It requires you have Java 1.4 or later installed.

To use Wiki Publisher, first find a MediaWiki wiki you wish to publish to -- other wikis are not supported at this time. You may need to open an account at the wiki, because many don't accept anonymous edits. Download and install the extension, then open a Writer text document. From the menu, choose File -> Send -> To MediaWiki, then click the Add button and type or paste the URL of any article from the wiki you are publishing to. Type your login credentials (if they're needed). Click the OK button, then choose the wiki server from the drop-down list. In the Title field, type the exact name of the article, which you can find in the article URL. For example, to publish to http://en.wikipedia.org/wiki/OpenOffice.org, you would enter "OpenOffice.org" in Title. Fill out the Summary (which shows in the wiki page history). If you're fixing a typo, reformatting, or otherwise not changing the meaning of the content, check the box "This is a minor edit" so that wiki editors know not to review the changes. Choose "Show in Web browser" to see the published article in your default Web browser when you're done. Finally, click Send.

If you expect to edit this wiki often and want to save your password, you can go to Tools -> Options -> Security and enable Persistently save passwords protected by a master password.

Compatible and incompatible formatting

Many Writer formatting features are compatible with MediaWiki export:

  • Paragraph breaks and manual line breaks
  • Paragraph alignment
  • Italics, bold, subscript, and superscript
  • Headings
  • Ordered and bullet lists
  • Tables
  • Hyperlinks

Incompatible features include underlining, strikethrough, font colors, and highlighting. Images must be uploaded manually.

While you are becoming familiar with Sun Wiki Publisher, you may want to publish a test article without touching articles in production. To do that, first check whether your wiki already has an article titled Sandbox. If you cannot find the Sandbox, publish to your personal MediaWiki user namespace. You can even create your own, personal sandbox in your own user namespace.

Future versions of the Sun Wiki Publisher may support importing wiki pages. Until then, if you want to work with existing text, select the text in your browser, copy it to the clipboard, and paste it into Writer.

The Sun Wiki Publisher combines the ease of OpenOffice.org with the collaboration power of MediaWiki. In future releases, look for preservation of background colors in tables, a wider dialog to better show the server URL, and a toolbar with icons.

Every Monday we highlight a different extension, plugin, or add-on. Write an article of less than 1,000 words telling us about one that you use and how it makes your work easier, along with tips for getting the most out of it. If we publish it, we'll pay you $100. (Send us a query first to be sure we haven't already published a story on your chosen topic recently or have one in hand.)

Since before version 1.0, Andrew Ziem has worked with OpenOffice.org as a user, system administrator, trainer, QA team member, and import filter developer. He has been writing open source software since 1997.

Share    Print    Comments   

Comments

on Sun Wiki Publisher extension for OpenOffice.org shines

Note: Comments are owned by the poster. We are not responsible for their content.

Sun Wiki Publisher extension for OpenOffice.org shines

Posted by: Anonymous [ip: 66.192.95.199] on May 21, 2008 07:00 PM
Doesn't work at all...more bugs than it is worth AND you don't tel people how to install the extension and 80+% of the people reading this will not have installed an openoffice extension before.

#

Re: Sun Wiki Publisher extension for OpenOffice.org shines

Posted by: Anonymous [ip: 75.163.130.9] on May 24, 2008 03:02 AM
The extensions web site where you get the extension has instructions. Did you try those? Are there any bugs in particular that you concerned about?

Andrew

#

Re(1): Sun Wiki Publisher extension for OpenOffice.org shines

Posted by: Anonymous [ip: 81.37.70.212] on June 08, 2008 02:37 PM
Worked for me straight off. Installed Open Office, installed the extension (which I've never done for Open Office before. Couldn't get a table to upload though - which was what I was really interested in as I understand basic wiki-markup anyway.

#

This story has been archived. Comments can no longer be posted.



 
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya