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:
RePost: NAT and the CART (1999)
Spiders (2000)
Searching Dates (2000)
Displaying photo attached to first record (1997)
Under Score (1999)
webcat2b12 CGI -- Date comparisons (1997)
includes and cart numbers (1997)
question: back button prevention (1997)
webcat NT (1998)
Need relative path explanation (1997)
How to verify email address (1997)
WebCatalog for guestbook ? (1997)
Temp DB (Was freeze) (2003)
checkout.tpl (1999)
Can't get appendfile to work (1997)
Separate SSL Server (1997)
[searh] or [shownext]problem (1998)
[append] and SSL (1997)
WebDelivery downloads alias, not original ? (1997)
How to download a database???/ (2000)