Rickard,

I hope I'm not misunderstanding your particular scenario, but can't you just 
wget the wiki page directly without setting format to txt? It is Trac's job, 
after all, to convert the wiki to HTML whenever a browser (or wget, for 
example) requests a page.

~Paul Malmsten
----- Original message -----

Hi,

Is there an easy way to convert a wiki page to HTML using the Trac Python
files?

What I would like to do is to pull a wiki page down using wget, for example

wget http://.../wiki/Page?format=txt -O Page

and then convert it to HTML, for example

wikitohtml Page Page.html

I suppose I can write the wikitohtml script if I know what parts of the Trac
Python files to use.

--
Rickard Lindberg




--~--~---------~--~----~------------~-------~--~----~
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