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:
LetterRip and WebCat & more (1998)
RE: anyone know how to restart dbserver on NT automatically (1999)
2.0 Info (1997)
Sorting Numbers (1997)
SendTo more emails (1998)
Just Testing (1997)
Bug Report, maybe (1997)
[OT] See QT? (Was Eaaaasy FTP...) (2003)
Unknown error: OrderNotCreated (1997)
Timeout question .. (2003)
Modifying order output (1997)
Client-side Image Maps and WebCat? (1998)
Searchable Talklist Archive (1998)
Virtual hosting and webcatNT (1997)
Banner Ad example (Typhoon) and WebCatalog (1997)
Nested tags count question (1997)
no global [username] or [password] displayed ... (1997)
[date format] w/in sendmail (1997)
Displaying text and populating form fields (2005)
problems with 2 tags shakur (1997)