CGI for Slide show

Sivakatirswami katir at hindu.org
Thu Oct 12 01:15:07 EDT 2006


Yes, one wants to avoid thousands of small .html files, maintenance and 
future change
requests would become a nightmare. iView does that and it scares me...

I would like to see the data repository be nothing more than.

/GreatNewSlideShowFolder/
	fooPhoto1.jpg
	fooPhoto1Caption.txt
	fooPhoto2.jpg
	fooPhoto2Caption.txt

(A model I'm already using on a front end of the production process, where
photo shoots are coming in remote correspondents and I
run script over the folder and bingo: web page...

I'm thinking iFrame should work.

(the slide show wants to be embedded in the web page
if at all possible)

I've heard iFrame was deprecated, but it works really well.
I am also using now an iFrame that calls a Rev CGI which
returns a small html chunk.

For all the hype that AJAX gets... I don't see how this
differs from AJAX. (please enlighten me there if you care  to...)
Anyway you cook it, your web server must

a) get a request
b)  run a some process ("CGI") and
c) return data to the client/browser

whether some of that process resides client side or server side doesn't 
seem to
change the equation all that much.. but I'm a total NOOB about AJAX...

Anyway... iFrame is so simple:

<li>
<iframe name="archiveIndex" border="0" width="130" height="140" 
src="/cgi-bin/buildTakaIndex.cgi">
</iframe>
</li>

I'm thinking I can take this model and drive a slide show through a 
bigger rect on the web page.

Comments?

Sivakatirswami



Stephen Barncard wrote:
> Yes, I used this technique for years with my slide shows for CSN, etc.
> 
> Works great. No server side stuff at all. I used Hypercard to create the 
> HTML text files to drive this.
> 
> example:
> http://barncard.com/gd.html
> 
> I used this system until Open Source app Gallery got real good.
> 
> The problem is that it generates a lot of text files to do the job, but 
> for a few galleries, it worked great.
> 
> With the  CSN site it got way out of hand with thousands of photos. The 
> flaw is relying on the file system to do this.
> 
> 
>> Jan-
>>
>> I'd probably opt for something even simpler - this will show a slide
>> for five seconds, then move on to the next. No programming needed:
>>
>> <html>
>> <head>
>> <META HTTP-EQUIV="Refresh" CONTENT="5;URL=MySlideShow/slide2.html">
>> </head>
>> <body>
>> <img src="slide1.jpg">
>> </body>
>> </html>
>>
>> -- 
>> -Mark Wieder
>>  mwieder at ahsoftware.net
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 

-- 
Om shanti
(In  Peace)

Sivakatirswami
www.himalayanacademy.com

Get Hinduism Today Digital Edition. It's Free!
http://www.hinduismtoday.com/digital/



More information about the Use-livecode mailing list