Hi, I've written a macro that takes RDF and converts it to HTML and inserts it in a wiki page. The macro will take an attachment on the current page and render it, it works like this:
[[RdfView(example.rdf)]] In my macro code, I've figured out how to get the filename, but I need the actual path to it (not URL) so I can open it and run it through an RDF parser. def expand_macro(self, formatter, name, content): #'content' is the attachment filename So I need to do something like os.path.join(SOME_FUNCTION(), content)) What function will give me that path? Thanks, Rob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---