Artifact c404f699b102089c47b6d0423be37c9d3c1914f4:
- File applications/mobileblur/views/generic.pdf — part of check-in [6548f791b4] at 2011-08-15 01:53:32 on branch develop — Mobileblur can log in for a user and get all feeds with unread content above a hardcoded threshold (user: spiffy, size: 306) [annotate] [blame] [check-ins using] [more...]
- File applications/welcome/views/generic.pdf — part of check-in [eba4a35a21] at 2011-08-08 04:53:38 on branch develop — Added web2py 1.98.2 (user: spiffy, size: 306) [annotate] [blame] [check-ins using]
{{ import os from gluon.contrib.generics import pdf_from_html filename = '%s/%s.html' % (request.controller,request.function) if os.path.exists(os.path.join(request.folder,'views',filename)): html=response.render(filename) else: html=BODY(BEAUTIFY(response._vars)).xml() pass =pdf_from_html(html) }}