jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maduranga Kannangara <mkannang...@infomedia.com.au>
Subject RE: Can you update a JSPWiki page from outside the JSPWiki application?
Date Sun, 06 Dec 2009 21:19:14 GMT
When you do changes to a certain page, directly from file system, does the Lucene indexes get
i.e.: Does search results change, reflecting new changes?


-----Original Message-----
From: Frank.Fitch@Sun.COM [mailto:Frank.Fitch@Sun.COM] 
Sent: Saturday, 5 December 2009 4:02 AM
To: jspwiki-user@incubator.apache.org
Subject: Re: Can you update a JSPWiki page from outside the JSPWiki application?

Carlson, Eric R wrote:
> Is it possible to update a page within JSPWiki from an application outside of JSPWiki
and have the new, modified page show up for
> JSPWiki users?

Yes. I do it all the time.

Just create the page content with the wiki source syntax (or good old html if your wiki has
html enabled). Copy the page into the 
wiki content dir.

You can modify an existing page or create new pages this way. If you create a new page, be
sure the file name starts with an upper 
case letter and ends with ".txt". this is required because of a flaw in the wiki.

The wiki recognizes the changes immediately.

You may want to make it clear in the source code comments and the page content that the page
is automatically generated from an 
external source. Your colleagues may become annoyed if their changes disappear. :)


View raw message