Re: [Rest2web-develop] Test Version of rest2web 0.5.0 alpha
Brought to you by:
mjfoord
From: Michael F. <fuz...@vo...> - 2006-04-25 22:22:54
|
Gaël Varoquaux wrote: > Hi Michael, > > Sorry for the slow reply, I have been away last week. > > rest2web keeps making me really happy. I want to enhance it by > adding some standard functions we discussed before for file management. > I see that you have made the namespace available to the functions. This > allows me to use the "Processor.target" to achieve my goals. Good ! > Something will come out of this, I am just taking my time to be sure of > what I want. > > Recently I have wanted to use the 'colorize' macro to display a file > in the same directory than the rest source file. I have not been able to > point to this file with something else than a absolute path. This seems > to me quite ugly. Is there a way around this ? > What I need to do is add a relative path to the source file (and directory) and a relative path to the target source file (and directory) in the namespace. You would then be able to use these within macros and functions. This is pretty near the top of the list, as well as being easy to do. :-) Fuzzyman http://www.voidspace.org.uk/python/index.shtml |