It would make a lot more sense to convert the wiki markup to HTML each time
the wiki is edited/saved on the server side. I believe this is how most
wikis work.

When you send the HTML down you can change the onclick for the hyper links
and have your code called instead of having browser follow the link.

  - lex


On Sat, Feb 16, 2013 at 12:06 PM, Grant Pitel <[email protected]> wrote:

> All,
>
> I was want to release simple wiki parser on the examples page, but I am
> still a newbie on all levels, and  I wanted to run it by the community and
> get some recommendations.
>
> I felt pyjs needed some way of getting static documents, with hyperlinks,
> stored on the server to the client.  Basically my example would simulate a
> service request, the server returns raw wiki markup text, and html gets
> created on the client side. I converted wiki->html on the client side
> because I need to compose hyperlinks with click listeners that generate a
> service requests without redirection.  Standard linking would leave my
> application.  My questions are listed below:
>
>    1. Is what I am doing insane, is there an easier way.
>    2. Is there a recommended python wiki parsing library already
>    available that will be importable to pyjs.  The one I have written now
>    handles
>    ==Headings==
>    **lists
>    [[link link title]
>    <p>standard html</p>
>
> Thanks for the advice.
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Pyjs.org Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Pyjs.org Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to