You can just put your clevercss in private/style.clevercss
and use a controller like this: def style(): import os, stat, clevercss expire = 10**10 # never filename = os.path.join (request.folder,'private','style.clevercss') def gettime(): return os.stat(filename)[stat.ST_SIZE] if not gettime() == cache.ram(filename,gettime,expire): expire = 0 # now return cache.ram(filename+':data',lambda: clevercss.convert(open (filename,'rb').read(),{}),expire) to retrieve it cached and processed. On Dec 29, 12:28 pm, Thadeus Burgess <thade...@thadeusb.com> wrote: > I mean integrate into web2py in that it will generate new css files if > the clevercss file has changed on the next pass through... its just > some glue code in a model to make it happen. > > >As a programmer??? But if Blogitizer has the shiny and cleaner interface I > >could see in web2py... > >thanks for lower my morale :-P > > Lol :) Ok ok... **I** do not like css and its flat hierarchy. > > -Thadeus > > On Tue, Dec 29, 2009 at 9:42 AM, Alex Fanjul <alex.fan...@gmail.com> wrote: > > As a programmer??? But if Blogitizer has the shiny and cleaner interface I > > could see in web2py... > > thanks for lower my morale :-P > > Alex > > > El 29/12/2009 9:31, Thadeus Burgess escribió: > > >> Just letting everyone know about this... This is AWESOME. As a > >> programmer, I don't like css... but this makes css that much more > >> bearable :) > > >>http://sandbox.pocoo.org/clevercss/ > > >> .... now only if I could integrate this into web2py .... > > >> -Thadeus > > >> -- > > >> You received this message because you are subscribed to the Google Groups > >> "web2py-users" group. > >> To post to this group, send email to web...@googlegroups.com. > >> To unsubscribe from this group, send email to > >> web2py+unsubscr...@googlegroups.com. > >> For more options, visit this group at > >>http://groups.google.com/group/web2py?hl=en. > > > -- > > Alejandro Fanjul Fdez. > > alex.fan...@gmail.com > >www.mhproject.org > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.