Thanks Axel. I hope to take a look later this week - Dave
On 1/14/07, Axel <[EMAIL PROTECTED]> wrote:
On 1/3/07, Dave <[EMAIL PROTECTED]> wrote: > > I created a plugin for the Wikipedia syntax: > > http://www.groovy-news.org/e/page/test?catname=%2FWikiBlogging > > > > How can I include the plugin in the Roller Support project? > > Zip up your code, post it here and I'll take a look at it. I might ask > you to restructure some things so it can fit into the build process. Hi Dave It seems that the mailing list doesn't accept the attached sources. So I uploaded the sources here: http://www.groovy-news.org/e/WikipediaPlugin.zip For configuring the main wikilinks the user has to create a _wiki template and define a wiki_url. Example: wiki_url=http://en.wikipedia.org/wiki/${title} The "image_url" (i.e. for something like [[Image:test.png]] in the wiki text) is by default set to the blogs upload directory: website.getAbsoluteURL() + "/" + "resource" + "/${image}"; This image_url can also be overwritten in the _wiki template. For other features like "syntax highligthing" and "interwiki links" see: http://www.groovy-news.org/e/page/test?catname=%2FWikiBlogging I've tested the plugin with the latest roller sources from SVN. The wiki sources can also be found in the project's SVN: http://plog4u.svn.sourceforge.net/viewvc/plog4u/info.bliki.wiki/ Here are some JUnit tests: http://plog4u.svn.sourceforge.net/viewvc/plog4u/info.bliki.wiki.test/ -- Axel Kramer WikiBlog: http://www.groovy-news.org/e/page/axelclk
