Test new features

All | General | WikiBlogging | Eclipse
20061017 Tuesday October 17, 2006

Blog about your favourite Wiki with the Wikipedia Formatter Plugin

You can easily use the Plog4U Wikipedia Formatter in this Groovy-News Roller instance. Simply register your user and create a new blog.

In the Preferences->Settings menu you can define your prefered Weblog editor page to be used as editor-text.jsp and that the Wikipedia formatter plugin should be applied by default:

http://www.groovy-news.org/e/resources/test/pref_plugin.png

Uploaded images are included in a blog entry by inserting the URL in the blog's text. If the name of the image ends with *.png, *.gif, *.jpg or *.jpeg the image is directly included in the text.

For example <center>http://www.groovy-news.org/e/resources/test/wiki_editor.png</center> embeds the image at the end of this blog entry.

If you create a template with the name _wiki,

http://www.groovy-news.org/e/resources/test/add_template.png
you can define your prefered main wiki link. You can for example set the english wikipedia link as the main default with the following template definition:

wiki_url=http://en.wikipedia.org/wiki/${title}

http://www.groovy-news.org/e/resources/test/edit_wiki.png

The editor's textarea for this blog entry will look like this:

http://www.groovy-news.org/e/resources/test/wiki_editor.png

Posted by axelclk ( Oct 17 2006, 09:49:27 PM CEST ) Permalink Comments [0]

Using the syntax highlighter for code snippets

The Wikipedia formatter supports tags to show syntax highlighted code snippets for java, php, csharp, javscript, xml and abap programming language source code.

Here is a simple Java example:

 
<java>
package test;

public class HelloWorld {
/**
* The main method
*
* @param args
*/
public static void main(String[] args) {
// output example:
System.out.println("Hello World");
}
}
</java>

which renders like this:

package test;

public class HelloWorld {
	/**
	 * The main method
	 * 
	 * @param args
	 */
	public static void main(String[] args) {
		// output example:
		System.out.println("Hello World");
	}
}
Posted by axelclk ( Oct 17 2006, 08:49:03 PM CEST ) Permalink Comments [0]

Calendar

RSS Feeds

Search

Links

Navigation

Referers