Re: creative use of webcatalog

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16239
interpreted = N
texte = >You can get webcat to do some processing from any webpage regardless of >what server it is running on. Here's how: > >1. Set up your tpl page and determine what kind of processing you need >(i.e. logging, random image, createfolder, increment counter, etc.). > >2. Add this to any html page: src=http://www.yourserver.com/yourFile.tpl?yourvariablesIfNeeded> > >3. On your 'yourFile.tpl' do your processing first and then return via >returnraw an image, preferbly a one pixel transparent gif so the page that >it is added is not affected. Here is an example. So ... the tag calls the yourFile.tpl on the WebCat server first, instead of calling a real image file. Then the WebDNA code in the yourFile.tpl is processed by WebCat. Then the returnraw at the end of that template sends the little blank image file back to the server that requested it ...Cool! :)Sincerely, Ken Grome ken@iav.com 808-737-6499 WebDNA Solutions http://webdna.net/ Associated Messages, from the most recent to the oldest:

    
  1. Re: creative use of webcatalog (grichter@panavise.com (Gary Richter) 1998)
  2. Re: creative use of webcatalog (Kenneth Grome 1998)
  3. Re: creative use of webcatalog (Kenneth Grome 1998)
  4. creative use of webcatalog (Olin Lagon 1998)
>You can get webcat to do some processing from any webpage regardless of >what server it is running on. Here's how: > >1. Set up your tpl page and determine what kind of processing you need >(i.e. logging, random image, createfolder, increment counter, etc.). > >2. Add this to any html page: src=http://www.yourserver.com/yourFile.tpl?yourvariablesIfNeeded> > >3. On your 'yourFile.tpl' do your processing first and then return via >returnraw an image, preferbly a one pixel transparent gif so the page that >it is added is not affected. Here is an example. So ... the tag calls the yourFile.tpl on the WebCat server first, instead of calling a real image file. Then the WebDNA code in the yourFile.tpl is processed by WebCat. Then the returnraw at the end of that template sends the little blank image file back to the server that requested it ...Cool! :)Sincerely, Ken Grome ken@iav.com 808-737-6499 WebDNA Solutions http://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:

unique ascending numbers (2003) [OT] Snow Ctd. :) (2004) Setting up WebCatalog with Retail Pro data (1996) chat opinion ... (2002) WebCat2b15MacPlugin - [protect] (1997) 4.5 on 10.4 (2006) Help :( (2001) Search Trouble (2002) PCS Frames (1997) Searching a field and returning the highest value (1997) Sorting search by date. (2000) Single Link browsing (1997) Cookie and Domain Names (2005) WebCat2 beta 11 - new prefs ... (1997) Re:2nd WebCatalog2 Feature Request (1996) WCS Newbie question (1997) question: webmerchant connection (1997) [random] only for 1-100??? (1997) Logging purchases (1997) WebCat2 several catalogs? (1997)