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 Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Re: Serving images from databases (Grant Hulbert 1998)
  2. Re: Serving images from databases ( 1998)
  3. Re: Serving images from databases (Christer Olsson 1998)
  4. Re: Serving images from databases (Grant Hulbert 1998)
  5. Re: Serving images from databases (Thomas Wedderburn-Bisshop 1998)
  6. Re: Serving images from databases (Dave MacLeay 1998)
  7. Re: Serving images from databases (Christer Olsson 1998)
  8. Re: Serving images from databases (Kenneth Grome 1998)
  9. Re: Serving images from databases (Grant Hulbert 1998)
  10. Re: Serving images from databases (Thomas Wedderburn-Bisshop 1998)
  11. Re: Serving images from databases (Bob Minor 1998)
  12. Re: Serving images from databases (Kenneth Grome 1998)
  13. Re: Serving images from databases (Christer Olsson 1998)
  14. Re: Serving images from databases (PCS Technical Support 1998)
  15. Re: Serving images from databases (Christer Olsson 1998)
  16. Re: Serving images from databases (Kenneth Grome 1998)
  17. Re: Serving images from databases (Sven U. Grenander 1998)
  18. Re: Serving images from databases (PCS Technical Support 1998)
  19. Re: Serving images from databases (Christer Olsson 1998)
  20. Re: Serving images from databases (Kenneth Grome 1998)
  21. Serving images from databases (Christer Olsson 1998)
>>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 Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://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)