Zhomart / wikimodel

Automatically exported from code.google.com/p/wikimodel
0 stars 0 forks source link

Overriding "document link" URL paths #142

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Google Groups for WikiModel seems unused and is spammed
Using Issues to ask a question.

Adding a new wiki page means adding text in between open and closing square
brackets, at least using the Confluence parser.  Is there a way to override
the URL generated for pages.

Original issue reported on code.google.com by maybenull on 8 Jun 2009 at 3:03

GoogleCodeExporter commented 9 years ago
Sorry, was rushed.  Is there a way to override the URL generated when browsing 
to a
wiki page.  For instance, [newpage] browses to someting like 
http://xxxx.com/newpage.
 I would like to browse to http://xxxx.com/pages?id=newpage, or whatever.

Original comment by maybenull on 8 Jun 2009 at 3:12

GoogleCodeExporter commented 9 years ago
If this is question is irritating then please just close it and i'll move on to
another parser framework or write one from scratch.  

Or if the question is lacking detail and confusing then please let me know and 
I'll
try again.

Cheers

Original comment by maybenull on 15 Jun 2009 at 7:21

GoogleCodeExporter commented 9 years ago
Hello,

WikiModel is a pure parsing/serialization framework. It does not handle page
creation/storage and other high-level operations. So it is up to the clients to
manage references and associate specific action with them as it is shown in the
examples: 
http://code.google.com/p/wikimodel/source/browse/trunk/org.wikimodel.wem/src/tes
t/java/org/wikimodel/wem/examples
.
The XHTMLSerializationExample class contains an example of reference handling.

Best regards,
Mikhail  

Original comment by mikhail....@gmail.com on 17 Jun 2009 at 5:44

GoogleCodeExporter commented 9 years ago
Thx for the reply Mikhail.

I'll look at the Listeners more carefully.

Original comment by maybenull on 19 Jun 2009 at 7:58