On Tue, May 18, 2010 at 4:04 PM, Olemis Lang <[email protected]> wrote:
> On Tue, May 18, 2010 at 3:46 PM, Rodrik <[email protected]> 
> wrote:
>> Hello guys,
>>
>
> :o)
>
>> I'm trying to create my very first plugin for Trac
>> and after read most part of the documentation,
>> I'm still not able to get started with it.
>>
>> I need to create a plugin, which simply checks the syntax
>> - if all []'s and ()'s are well-formed - of some text inserted between {{{}}}
>>
>> I can't quite understand how can I have access to these text and process it.
>> Manipulating the components is a little bit confusing for me.
>>
>> Could anybody help me with the beginning? I really would appreciate it!
>>
>
>  - Firstly, start with the basic skeleton
>     vailable @ trac-hacks.org
>  - Secondly, you need to implement a wiki
>     processor [1]_ [2]_, so extend WikiMacroBase
>     (CreatePluginScript [3]_ might be useful ;o)
>
> You should start with this . Please ask further questions once you
> have more specific doubts
>
> .. [1] WikiProcessors – The Trac Project!
>         (http://trac.edgewall.org/wiki/WikiProcessors)
>
> .. [2] Trac Macros
>         (http://trac.edgewall.org/wiki/WikiMacros#DevelopingCustomMacros)
>
> .. [3] CreatePluginScript
>         (http://trac-hacks.org/wiki/CreatePluginScript)
>

Many examples here http://trac-hacks.org/wiki/macro

;o)

--
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:
On adding AMF (RPC) support for Trac -
http://feedproxy.google.com/~r/simelo-en/~3/RDv-qDkEK_w/on-adding-amf-support-trac.html

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to