The Toolkit for Online Communities
18811 Community Members, 0 members online, 1856 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Q&A : BLOB in HTML : One Message

Forum OpenACS Q&A: Response to BLOB in HTML

2: Response to BLOB in HTML (response to 1)
Posted by Tilmann Singer on
Try this in a .tcl file (without an .adp file):

ReturnHeaders $mime_type

db_write_blob write_content {
  select content from cr_revisions where revision_id=:revision_id