Hi,
 I'm trying to develop a plugin that renders some of my HTML to pdfs
using pisa. The trouble is it gets stuck when trying to render
images / css etc as it doesn't know how to resolve urls to a filepath.

Pisa lets me register a callback to convert a url to a filepath, so my
question is:

if I get a string like this:
/sampleTracEnvironment/chrome/site/logo.png
/sampleTracEnvironment/raw-attachment/ticket/1/%20Scroll%201.jpg
/sampleTracEnvironment/chrome/path/css/mycss.css

how can I work out the filepath to these resources?

Brand new to python and Trac Dev, so apologies if its a dumb question

thx

Paul

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to