[xwiki-dev] How to create own tags in xwiki?

kinslayer kinslayer at centrum.cz
Tue Apr 3 11:52:48 CEST 2007


Hi,

thank you for your answer. I've already looked to links you sent
and so you thing the best way to create own tags is Radeox Macros?

Unfortunately I still don't see, where is the part, where I can render 
syntax of wiki and find my new tags in this text?
For Example SVGMacro:
If I grasp the significance SVGMacro well. Syntax of this tag 
is {svg:image|height|width}. But I still can not see, where is this
syntax checked? Can you write me which part or method do this?

My idea is to create some tags for our municipal office. 
For example:
We need some tag, for example {munboard} with this syntax
{muboard:$message:$datetime}, where $message is text, which
shouldn't  be displayed when $datetime timeout.

In the end I like to say thank you very much for your help 
and sorry for my bad English. :-)


hritcu wrote:
> 
> Hi,
> 
> Please have a look at the Custom Syntax with Radeox Macros section
> from this post:
> http://hritcu.wordpress.com/2007/03/13/xwiki-plugins-tips-and-tricks/
> 
> For more examples have a look at the source code of existing plugins:
> http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/xwiki/xwiki/trunk/core/src/main/java/com/xpn/xwiki/plugin/svg/SVGMacro.java?view=markup&rev=1387
> or
> http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/xwiki/xwiki/trunk/core/src/main/java/com/xpn/xwiki/plugin/charts/ChartingMacro.java?view=markup&rev=1387
> 
> If you still have more questions please ask them here.
> 
> Regards,
> Catalin
> 
> 
> On 4/2/07, kinslayer <kinslayer at centrum.cz> wrote:
>>
>> Hi,
>>
>> I don't understand how to create plugin with my own tags in xwiki.
>> I would like to create some tags - something like {table} .... {table},
>> but I don't know how to render xwiki text with plugin.
>>
>> Can anybody help me?
>>
>> In fact is it even possible to write this plugin with
>> XWikiDefaultPlugin/XWikiPluginInterface?
>>
>> It would be great if somebody be able to publish plugin which
>> implementing
>> new tags
>> or write me the instruction what I have to do.
>>
>> Thank you.
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-create-own-tags-in-xwiki--tf3504145.html#a9786314
>> Sent from the XWiki- Dev mailing list archive at Nabble.com.
>>
>>
>>
>>
>> --
>> You receive this message as a subscriber of the xwiki-dev at objectweb.org
>> mailing list.
>> To unsubscribe: mailto:xwiki-dev-unsubscribe at objectweb.org
>> For general help: mailto:sympa at objectweb.org?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>
>>
> 
> 
> 
> --
> You receive this message as a subscriber of the xwiki-dev at objectweb.org
> mailing list.
> To unsubscribe: mailto:xwiki-dev-unsubscribe at objectweb.org
> For general help: mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-create-own-tags-in-xwiki--tf3504145.html#a9806702
Sent from the XWiki- Dev mailing list archive at Nabble.com.





More information about the devs mailing list