Re: Serving images from databases
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 16978
interpreted = N
texte = >>I am returning a [return raw] context and want to include the gif file in>>the respons (inside the [return raw] context). Shouldn't WebCat serve an>>[INCLUDE] file without changing it?>>Sorry, but because of a stupid bug in PageMill which would put ASCII 0 into>the middle of a template, we actually have to modify every template (as>well as Include files) and change the 0 to a space. Without this>pre-emptive fix, templates written with PageMill would stop processing>WebDNA somewhere in the middle.Wait a minute ...When you say we actually have to modify every template and change the 0 to a space ... are you trying to say that you (as in Pacific Coast Software) *intentionally* gave the [include] tag a bug that destroys the raw text inside the included file ... simply to remain compatible with a stupid PageMill bug?If that's the case, it seems like you're being overly accommodating to PageMill users ...Rather than making raw=T do something other than what's suggested and documented, I think it might have been better to create a special tag exclusively for the use of PageMill include files. In other words, offer something like [include raw=PageMill] if you have to, so your PageMill users can have their 0's changed to spaces -- but make [include raw=T] do exactly what it suggests and what is claimed in the docs -- so the rest of us have the right tools for the job ...Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Associated Messages, from the most recent to the oldest:
>>I am returning a [return raw] context and want to include the gif file in>>the respons (inside the [return raw] context). Shouldn't WebCat serve an>>
[include] file without changing it?>>Sorry, but because of a stupid bug in PageMill which would put ASCII 0 into>the middle of a template, we actually have to modify every template (as>well as Include files) and change the 0 to a space. Without this>pre-emptive fix, templates written with PageMill would stop processing>WebDNA somewhere in the middle.Wait a minute ...When you say we actually have to modify every template and change the 0 to a space ... are you trying to say that you (as in Pacific Coast Software) *intentionally* gave the
[include] tag a bug that destroys the raw text inside the included file ... simply to remain compatible with a stupid PageMill bug?If that's the case, it seems like you're being overly accommodating to PageMill users ...Rather than making raw=T do something other than what's suggested and documented, I think it might have been better to create a special tag exclusively for the use of PageMill include files. In other words, offer something like [include raw=PageMill] if you have to, so your PageMill users can have their 0's changed to spaces -- but make [include raw=T] do exactly what it suggests and what is claimed in the docs -- so the rest of us have the right tools for the job ...Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Kenneth Grome
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Generating Report Totals (1997)
ErrorLog.txt (1999)
Summing fields (1997)
wrong authentication (1998)
Admin Edit prob. (1997)
customer.db and forms (1999)
Ampersands in database fields? (1998)
week # as date (2001)
[CART] (1997)
The IBC root beer has arrived! (1997)
$adminput doesn't allow [include] files (1997)
SendTo more emails (1998)
Writing to PDF (2003)
WebCatalog/Mac 2.1b2 New Features (1997)
Show items based on login Password (2003)
Mult-File Upload w/ Web Star (2000)
help needed: Non-english characters in WebCatalog (1997)
[append] and SSL (1997)
Emailer port change (1997)
Setting up WebCatalog with Retail Pro data (1996)