Home
The Toolkit for Online Communities
15899 Community Members, 0 members online, 2414 visitors today
Log In Register

Forum OpenACS Q&A: Response to BLOB in HTML

OpenACS Home : Forums : OpenACS Q&A : Response to BLOB in HTML : One Message

+
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
}