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:

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)