Re: Slideshows in iRev
Sivakatirswami, Thank you very much! Well done, informative and will definitely help me. One thing I noticed was Richard Matthewson mentioned he liked the music as well as the picts plus your code displays how to use music with the slideshow. But I have never heard any music even on your latest which I clicked the automatic slide show with music which you listed near the bottom of the page. For some reason I do not hear any music at all. thanks again, -=JB=- On Dec 29, 2009, at 6:53 PM, Sivakatirswami wrote: -= JB =- wrote: I could not download the code either. I am using a Mac and a lot of times that right click stuff doesn't seem to do what you would expect. Would love the code if you make if available another way. Nice looking pictures by the way. -=JB=- OK I've been working on this every evening for a few days, tweaking things. I made a page with all the code. Thanks for everyone's input, I cobbled it all together. Updated iRev code is here: http://www.himalayanacademy.com/runrev/iRev_slideshow.html One useful bit you will find there is an embed for driving MP3's in almost any browser-platform: I took me hours to find that thing and it's been tested on Mac, Windows 7 Vista, EEPC, and HP Notebook running Windows. etc.. and so far everyone can hear the music. No Java Script yet, but I will probably break down sooner or later. What I love about this: I don't have to touch Flash, SWF template XML params, Action Script, there is no back end MySQL Dbase to hold the configurations and metadata, captions etc. (you would be amazed at some of the overhead in some slide show frameworks!) This CMS is the kind I like. How simple is this and scaleable 1 folder: photos and caption files 1 iRev template file! ( I have three templates now) 1 iFrame (if you want to embed) It allows for a) scale b) innovation c) content is not buried inside a maze so deep that you can never restructure or refactor your presentation without huge man hour overhead. Next invention will be adding voice over for each slide, where photo.jpg # is the image photo.txt # is the caption photo.mp3 # is the voice over. Caveats: 1) I never liked having captions popup over photos (the Flash- DHTML way) on the other hand I'm not sure I like scrolling divs (overflow css) with such a fat scroller on an HTML page, but it works. 2) without Javascript there are no transitions. But I'm working on the principle that it's not the bells and whistles... its the content! If you have high quality [images, sound, video, music] then your viewers really don't care about the wrapper too much. 3) I'm still fishing for the right rect and worry that I may be making things a bit too big for the steadily growing world of small devices/screens. Sivakatirswami ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slideshows in iRev
-= JB =- wrote: I could not download the code either. I am using a Mac and a lot of times that right click stuff doesn't seem to do what you would expect. Would love the code if you make if available another way. Nice looking pictures by the way. -=JB=- OK I've been working on this every evening for a few days, tweaking things. I made a page with all the code. Thanks for everyone's input, I cobbled it all together. Updated iRev code is here: http://www.himalayanacademy.com/runrev/iRev_slideshow.html One useful bit you will find there is an embed for driving MP3's in almost any browser-platform: I took me hours to find that thing and it's been tested on Mac, Windows 7 Vista, EEPC, and HP Notebook running Windows. etc.. and so far everyone can hear the music. No Java Script yet, but I will probably break down sooner or later. What I love about this: I don't have to touch Flash, SWF template XML params, Action Script, there is no back end MySQL Dbase to hold the configurations and metadata, captions etc. (you would be amazed at some of the overhead in some slide show frameworks!) This CMS is the kind I like. How simple is this and scaleable 1 folder: photos and caption files 1 iRev template file! ( I have three templates now) 1 iFrame (if you want to embed) It allows for a) scale b) innovation c) content is not buried inside a maze so deep that you can never restructure or refactor your presentation without huge man hour overhead. Next invention will be adding voice over for each slide, where photo.jpg # is the image photo.txt # is the caption photo.mp3 # is the voice over. Caveats: 1) I never liked having captions popup over photos (the Flash-DHTML way) on the other hand I'm not sure I like scrolling divs (overflow css) with such a fat scroller on an HTML page, but it works. 2) without Javascript there are no transitions. But I'm working on the principle that it's not the bells and whistles... its the content! If you have high quality [images, sound, video, music] then your viewers really don't care about the wrapper too much. 3) I'm still fishing for the right rect and worry that I may be making things a bit too big for the steadily growing world of small devices/screens. Sivakatirswami ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slideshows in iRev
WOW. I mean like WOW. This is such a great slideshow. I have watched it twice through now and I am in awe... Thank you Tom McGrath III Lazy River Software 3mcgr...@comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 23, 2009, at 12:10 AM, Sivakatirswami wrote: Jim Ault wrote: meta HTTP-EQUIV=refresh CONTENT=10 I think I'm pretty close to a final product: Enjoy: http://himalayanacademy.com/slideshows/aadheenam/2009/iraivan_2009-May-June_Gold-Gilding/ The above folder has 180 photos, 1 index.html file and 1 title.txt file: source irev: (right click to download the code) http://www.himalayanacademy.com/slideshows/templates/slideshow-auto.irev index page to put into to the folder with the photos. http://www.himalayanacademy.com/slideshows/templates/Slideshow-Index-Template.html Sivakatirswami ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slideshows in iRev
On Dec 23, 2009, at 8:09 AM, Thomas McGrath III wrote: WOW. I mean like WOW. +1 Fabulous. -- Troy RPSystems, Ltd. http://www.rpsystems.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slideshows in iRev
meta HTTP-EQUIV=refresh CONTENT=10 could be modified to pass a control parameter with each refresh of the same page. Use the form of the CONTENT parameter to include the same url of the page + one param meta HTTP-EQUIV=refresh CONTENT=10; URL=slideShowParams.irev? pImageNum =nextImgNumber -1- assume this page is http://coolAccount.on-rev.com/slideShowParams.irev -2- the following irev code is added to the slideShowParams.irev document ?rev #Jacque's lists of copyrighted images (7) get vinca.jpg thistleFluff.jpg pinkHoneysuckle2.jpg get IT milkweed2.jpg lamiumClose2.jpg cosmos2.jpg clematis3.jpg put IT into imageList put $_GET[pImageNum] into pImageNum #detect conditions and react ((( my working IREV script will be in the next email ))) ? -3- while still in the head section of the page use this line: meta HTTP-EQUIV=refresh CONTENT=10; URL=slideShowParams.irev? pImageNum=nextImgNumber so that you are defining pImageNum as a number for the next slide of course, you could use any number, not just incrementing -4- caution to note the exact location of the quotation marks This line will also work using single quotes. Browsers honor both. meta HTTP-EQUIV='refresh' CONTENT='10; URL=slideShowParams.irev? pImageNum=nextImgNumber' This example is using the same page URL 10 seconds from now to reload the page and pass a parameter that will choose the next slide in sequence. If pImageNum is missing, empty, or not a number, we use 1. This is yet another way to get a slide show sequence in order. ((( my working IREV script will be in the next email ))) Working page for 10 second refresh is http://ampower.on-rev.com/slideshow/slideShowParams.irev Jim Ault Las Vegas On Dec 20, 2009, at 10:16 PM, J. Landman Gay wrote: Sarah (and Sivakatirswami) wrote: I would be very interested to see your code for this slideshow please. Ok, but it's almost too easy to post. There's a folder called cgiphotos of flower images in the same directory as the irev page. Inside that folder is also a text file named cgiphotos.txt, which contains a list of all the available photos. Each line of the list has a file name as item one and a description as item two, like this: daisies.jpg,Daisies columbine2.jpg,Columbine etc In the html where I want the slideshow image to display, I choose a random image and stuff that into the img src tag: ?rev put any line of url (file:cgiphotos/cgiphotos.txt) into tFlower ? img src=cgiphotos/?rev put item 1 of tFlower ? width=320 height=240 border=1 / And later at the bottom of the page where I want the description to appear: ?rev put item 2 of tFlower ? I just use the refresh directive in a header to reload the page every ten seconds: meta HTTP-EQUIV=refresh CONTENT=10 Pretty easy. If you wanted the slide show to be in a strict order, it would be harder. I think you'd need to either set up cookies, or write the current line to disk and read that for each reload, then update the counter in the text file with the next line number. Or if you didn't want to keep a text file, you could read the files in the directory and get the list that way too. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slideshows in iRev
Jim Ault wrote: meta HTTP-EQUIV=refresh CONTENT=10 I think I'm pretty close to a final product: Enjoy: http://himalayanacademy.com/slideshows/aadheenam/2009/iraivan_2009-May-June_Gold-Gilding/ The above folder has 180 photos, 1 index.html file and 1 title.txt file: source irev: (right click to download the code) http://www.himalayanacademy.com/slideshows/templates/slideshow-auto.irev index page to put into to the folder with the photos. http://www.himalayanacademy.com/slideshows/templates/Slideshow-Index-Template.html Sivakatirswami ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slideshows in iRev
For me, right clicking downloads the result of running the irev code, but not the ?rev ? code itself. If you saved a version as .txt it would probably work. Looking forward to seeing your solution. I am building one that works with JQuery and is much more than a simple slide show. It is a specialized video library browser. Jim Ault Las Vegas On Dec 22, 2009, at 9:10 PM, Sivakatirswami wrote: Jim Ault wrote: meta HTTP-EQUIV=refresh CONTENT=10 I think I'm pretty close to a final product: Enjoy: http://himalayanacademy.com/slideshows/aadheenam/2009/iraivan_2009-May-June_Gold-Gilding/ The above folder has 180 photos, 1 index.html file and 1 title.txt file: source irev: (right click to download the code) http://www.himalayanacademy.com/slideshows/templates/slideshow-auto.irev index page to put into to the folder with the photos. http://www.himalayanacademy.com/slideshows/templates/Slideshow-Index-Template.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slideshows in iRev
I could not download the code either. I am using a Mac and a lot of times that right click stuff doesn't seem to do what you would expect. Would love the code if you make if available another way. Nice looking pictures by the way. -=JB=- On Dec 22, 2009, at 10:10 PM, Jim Ault wrote: For me, right clicking downloads the result of running the irev code, but not the ?rev ? code itself. If you saved a version as .txt it would probably work. Looking forward to seeing your solution. I am building one that works with JQuery and is much more than a simple slide show. It is a specialized video library browser. Jim Ault Las Vegas On Dec 22, 2009, at 9:10 PM, Sivakatirswami wrote: Jim Ault wrote: meta HTTP-EQUIV=refresh CONTENT=10 I think I'm pretty close to a final product: Enjoy: http://himalayanacademy.com/slideshows/aadheenam/2009/iraivan_2009- May-June_Gold-Gilding/ The above folder has 180 photos, 1 index.html file and 1 title.txt file: source irev: (right click to download the code) http://www.himalayanacademy.com/slideshows/templates/slideshow- auto.irev index page to put into to the folder with the photos. http://www.himalayanacademy.com/slideshows/templates/Slideshow- Index-Template.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slideshows in iRev
Lovely pictures and lovely music! Congratulations on such a wondrous building. sincerely, Richmond Mathewson. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slideshows in iRev
On Mon, Dec 21, 2009 at 4:16 PM, J. Landman Gay jac...@hyperactivesw.com wrote: Sarah (and Sivakatirswami) wrote: I would be very interested to see your code for this slideshow please. Ok, but it's almost too easy to post. There's a folder called cgiphotos of flower images in the same directory as the irev page. Inside that folder is also a text file named cgiphotos.txt, which contains a list of all the available photos. Each line of the list has a file name as item one and a description as item two, like this: Thanks Jacque. The transition was so smooth that I didn't realise you were using the REFRESH directive. I too have wrestled with the idea of keeping the slide show in order instead of just randomising, but it all seems too much like hard work :-) Maybe next year Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slideshows in iRev
Sarah Reichelt wrote: On Mon, Dec 21, 2009 at 4:16 PM, J. Landman Gay jac...@hyperactivesw.com wrote: Sarah (and Sivakatirswami) wrote: I would be very interested to see your code for this slideshow please. Ok, but it's almost too easy to post. There's a folder called cgiphotos of flower images in the same directory as the irev page. Inside that folder is also a text file named cgiphotos.txt, which contains a list of all the available photos. Each line of the list has a file name as item one and a description as item two, like this: Thanks Jacque. The transition was so smooth that I didn't realise you were using the REFRESH directive. I too have wrestled with the idea of keeping the slide show in order instead of just randomising, but it all seems too much like hard work :-) Maybe next year I solved that one, a bit convoluted. But here is how it works using next and previous buttons. And in a day or so I will have it auto run in order. Basic concept is that you update a number post variable with each refresh. In this case I'm using the model used by a Flash slide framework call SlideShowPro director (Cool Iris does the same thing) which is you have a single SWF file and you use that as a kind of template for pushing all slide shows thru. In my case I set up an iRev template. Called slideshow.irev and target and iFrame. You can pass the URL of any folder with images in it. And it will run. e.g. this targets any folder with only images in it and a single title.txt file. if there were adjacent text files for each one they would be used as captions/descriptions (watch for wraps) e.g. both use the same irev file: http://www.himalayanacademy.com/slideshows/templates/slideshow.irev?path=/slideshows/srilanka/2009/nallur-july/ http://www.himalayanacademy.com/slideshows/templates/slideshow.irev?path=/resources/lexicon/images/backgrounds/ if I update the template, both slide shows will change accordingly. Then if you embed the iFrame into a page, then you can add other things to that page, in this case, music http://www.himalayanacademy.com/resources/lexicon/images/backgrounds/ body style=background-color: #00; object data= [SNIP of an embed I found after 4 hours research that will push an mp3 to both Mac and Windows (Vista and IE on Window 7 tested] /object iframe name=slides-stage style=border:0px;width:1050px;height:760px;background-color: #00; src=/slideshows/templates/slideshow.irev?path=/resources/lexicon/images/backgrounds//iframe /body The slideshow.irev is too long to post here. if anyone is interested I will create a web page were you can see the code. Eventual goal will be have individual sound files attached to each slide or I may bail on this if the plug-in gets there before I do with iRev. It will be sooo much easier. Then just leave this frame work for simple photo shows. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slideshows in iRev
OK well I've reduced it to a single iRev template that runs alone or can be passed to an iFrame: see http://www.himalayanacademy.com/runrev/iRev_slideshow.html for the irev code. s much easier now than doing this via rev cgi's! It will be easy to hide the next and Previous buttons and simply pass the integer to the next slide to the refresh tag. Then we will have slide shows that take as long as it takes to process and upload the files (no thumbs yet in this framework) Om Shanti Sivakatirswami Production Manager www.HinduismToday.com Web Coordinator www.HimalayanAcademy.com stephen barncard wrote: Years ago I had a Hypercard app that took the file-list of a bunch of photos in a folder and stitched them together in a gallery. I had one index.html, a thumbs.html, and two sets of html detail documents (two for each photo), one used the 'refresh' tag and the other didn't - thereby the user could choose which set to use to 'autoplay' or not. I had a flashing red dot gif to indicate 'running' when using the auto mode. I batch-generated the reductions and thumbnails with GraphicConverter. I could build a photo gallery for the web in about a minute. Back in 2001 javascript was to be avoided at all costs - it caused crashing and incompatibilities everywhere. A lot of text files, but it got the job done. This was used for years on the Crosby, Stills and Nash sites. - Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/20 Sivakatirswami ka...@hindu.org Stephen barncard wrote: Oh! that one... yes I remember when (circa 1998) I went through our old web sites and removed all these redirects (very bad strategy from a CMS point of view, a nightmare in fact) and I put all the redirects into a single matrix file with a Rev cgi to drive 404's to other pages. (I still use it today... very sweet and easy to maintain and fast) But I can see the utility here. No sure if there are pros or cons to using this vs Javascript. One could add a button on the interface to post run to the iRev page and then the iRev page would start inserting this into the head... with the URL for the next slide updated on each round. If the user clicks a stop button then the iRev page removes this from the head and reverts to manual drive buttons I'll try it. Thanks! you can do the automatic advance in html using the REFRESH meta taghttp://en.wikipedia.org/wiki/Meta_refresh I've built photo galleries around a lot of html pages and refresh tags. Depreciated by the W3C for redirects, but works like a champ for this purpose. Place inside head to refresh page after 5 seconds: meta http-equiv=refresh content=5 / Redirect to http://example.com/ after 5 seconds: meta http-equiv=refresh content=5;url=http://example.com/; / Redirect to http://example.com/ immediately: meta http-equiv=refresh content=0;url=http://example.com/; /. 2009/12/19 Sivakatirswami ka...@hindu.org while waiting for the plug-in to settle down ( I can't deploy revlets until the update function is working) Now, I'm wondering if there is a way to make this thing drive itself, so the user does not have to click the next button, using iRev code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slideshows in iRev
Sivakatirswami wrote: Turned out to be too easy I just commented out the navigation buttons and passed the value I was poking into the 'next button into the refresh tag meta http-equiv=refresh content=2;url=http://www.himalayanacademy.com/slideshows/templates/slideshow-auto.irev?path=?rev put tSlidesPath ?current_slide=?rev put tNext ? / and it worked straight away: http://www.himalayanacademy.com/slideshows/templates/slideshow-auto.irev?path=/slideshows/srilanka/2009/nallur-july/ OK well I've reduced it to a single iRev template that runs alone or can be passed to an iFrame: see http://www.himalayanacademy.com/runrev/iRev_slideshow.html for the irev code. s much easier now than doing this via rev cgi's! It will be easy to hide the next and Previous buttons and simply pass the integer to the next slide to the refresh tag. Then we will have slide shows that take as long as it takes to process and upload the files (no thumbs yet in this framework) Om Shanti Sivakatirswami Production Manager www.HinduismToday.com Web Coordinator www.HimalayanAcademy.com stephen barncard wrote: Years ago I had a Hypercard app that took the file-list of a bunch of photos in a folder and stitched them together in a gallery. I had one index.html, a thumbs.html, and two sets of html detail documents (two for each photo), one used the 'refresh' tag and the other didn't - thereby the user could choose which set to use to 'autoplay' or not. I had a flashing red dot gif to indicate 'running' when using the auto mode. I batch-generated the reductions and thumbnails with GraphicConverter. I could build a photo gallery for the web in about a minute. Back in 2001 javascript was to be avoided at all costs - it caused crashing and incompatibilities everywhere. A lot of text files, but it got the job done. This was used for years on the Crosby, Stills and Nash sites. - Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/20 Sivakatirswami ka...@hindu.org Stephen barncard wrote: Oh! that one... yes I remember when (circa 1998) I went through our old web sites and removed all these redirects (very bad strategy from a CMS point of view, a nightmare in fact) and I put all the redirects into a single matrix file with a Rev cgi to drive 404's to other pages. (I still use it today... very sweet and easy to maintain and fast) But I can see the utility here. No sure if there are pros or cons to using this vs Javascript. One could add a button on the interface to post run to the iRev page and then the iRev page would start inserting this into the head... with the URL for the next slide updated on each round. If the user clicks a stop button then the iRev page removes this from the head and reverts to manual drive buttons I'll try it. Thanks! you can do the automatic advance in html using the REFRESH meta taghttp://en.wikipedia.org/wiki/Meta_refresh I've built photo galleries around a lot of html pages and refresh tags. Depreciated by the W3C for redirects, but works like a champ for this purpose. Place inside head to refresh page after 5 seconds: meta http-equiv=refresh content=5 / Redirect to http://example.com/ after 5 seconds: meta http-equiv=refresh content=5;url=http://example.com/; / Redirect to http://example.com/ immediately: meta http-equiv=refresh content=0;url=http://example.com/; /. 2009/12/19 Sivakatirswami ka...@hindu.org while waiting for the plug-in to settle down ( I can't deploy revlets until the update function is working) Now, I'm wondering if there is a way to make this thing drive itself, so the user does not have to click the next button, using iRev code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slideshows in iRev
you can do the automatic advance in html using the REFRESH meta taghttp://en.wikipedia.org/wiki/Meta_refresh I've built photo galleries around a lot of html pages and refresh tags. Depreciated by the W3C for redirects, but works like a champ for this purpose. Place inside head to refresh page after 5 seconds: meta http-equiv=refresh content=5 / Redirect to http://example.com/ after 5 seconds: meta http-equiv=refresh content=5;url=http://example.com/; / Redirect to http://example.com/ immediately: meta http-equiv=refresh content=0;url=http://example.com/; /. 2009/12/19 Sivakatirswami ka...@hindu.org while waiting for the plug-in to settle down ( I can't deploy revlets until the update function is working) Now, I'm wondering if there is a way to make this thing drive itself, so the user does not have to click the next button, using iRev code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slideshows in iRev
stephen barncard wrote: you can do the automatic advance in html using the REFRESH meta taghttp://en.wikipedia.org/wiki/Meta_refresh That's how I do it here: http://jacque.on-rev.com/codebits/flowerscgi.irev This presents a slideshow. If you need the iRev code (which doesn't show up when you view source) let me know. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slideshows in iRev
Aloha, Brian (we're in Hawaii) No I don't mind messing a bit with JS. Setting aside value judgements about obtuse nature of the language, it's is clearly a valuable technology -- I'm not really trying to minimize my exposure its more about time, learning curve where my creative coding is very much a sideline in an otherwise very busy day full of admin and publication work. advocacyI could go on at length here about how revTalk slides easily into that mind stream because of its' English like nature and squeezing JavaScript or PHP into that mind flow never quite works or sticks...(I tried with PHP and just got fed up... such a waste of time to get the smallest things done) but that would be a digressing into the nature of consciousness as it relates to linguistics and that core value of revTalk that is a bit deeper than one might think. i.e. it's not just english like but is also dances well with the way you think most of your day. /advocacy So, thank you! and Sarah too for the JS snippets and if I knew where to go to find more elegant JS functions related to this I would check it out. Cheers from Kauai Sivakatirwami Brian Yennie wrote: If you don't mind messing with a little Javascript, it could be as simple as this: body onLoad=setTimeout('window.location.href = \'http://http://www.himalayanacademy.com/slideshows/templates/slideshow.irev?path=/resources/lexicon/images/backgrounds/current_slide=13\' '), 5000) This would go to the next slide in 5 seconds after the current page is loaded. You could of course right more elegant JavaScript functions around this, but if you want to minimize your JavaScript exposure, this one-liner should work. It just creates a 5 second timer, and then changes the URL of the current page. HTH while waiting for the plug-in to settle down ( I can't deploy revlets until the update function is working) I've been playing with iRev engine. Here's a slide show that uses an iRev template in an iFrame. http://www.himalayanacademy.com/resources/lexicon/images/backgrounds/ this code is generated by iRev functions to set up links behind the previous and next buttons, where the buttons post the next slide and previous slide numbers and path to the irev page which then returns the slide with a new set of update buttons. I'm not really worried about the round trip to the server because the html here is so small, the CSS (not shown) is cached and you have to fetch the photos anyway, a little more html text is hardly an issue. Now, I'm wondering if there is a way to make this thing drive itself, so the user does not have to click the next button, using iRev code. I suspect I can't really do that with iRev but will need some Javascript (which I don't know at all.) body div id=slideShowStage div id=storyTitle Word of the Day Background Contributions/div div id=slide img src=http://www.himalayanacademy.com//resources/lexicon/images/backgrounds/100_0967.jpg; alt= height=420 width=700 / /div div id=caption /div div id=slideNav a href=http://www.himalayanacademy.com/slideshows/templates/slideshow.irev?path=/resources/lexicon/images/backgrounds/current_slide=11target=slides-stage; div class=buttonPrevious /div/a a href=http://www.himalayanacademy.com/slideshows/templates/slideshow.irev?path=/resources/lexicon/images/backgrounds/current_slide=13; target=slides-stage div class=buttonNext /div /a /div /div /body insights? Sivakatirswami ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slideshows in iRev
Stephen barncard wrote: Oh! that one... yes I remember when (circa 1998) I went through our old web sites and removed all these redirects (very bad strategy from a CMS point of view, a nightmare in fact) and I put all the redirects into a single matrix file with a Rev cgi to drive 404's to other pages. (I still use it today... very sweet and easy to maintain and fast) But I can see the utility here. No sure if there are pros or cons to using this vs Javascript. One could add a button on the interface to post run to the iRev page and then the iRev page would start inserting this into the head... with the URL for the next slide updated on each round. If the user clicks a stop button then the iRev page removes this from the head and reverts to manual drive buttons I'll try it. Thanks! you can do the automatic advance in html using the REFRESH meta taghttp://en.wikipedia.org/wiki/Meta_refresh I've built photo galleries around a lot of html pages and refresh tags. Depreciated by the W3C for redirects, but works like a champ for this purpose. Place inside head to refresh page after 5 seconds: meta http-equiv=refresh content=5 / Redirect to http://example.com/ after 5 seconds: meta http-equiv=refresh content=5;url=http://example.com/; / Redirect to http://example.com/ immediately: meta http-equiv=refresh content=0;url=http://example.com/; /. 2009/12/19 Sivakatirswami ka...@hindu.org while waiting for the plug-in to settle down ( I can't deploy revlets until the update function is working) Now, I'm wondering if there is a way to make this thing drive itself, so the user does not have to click the next button, using iRev code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slideshows in iRev
Years ago I had a Hypercard app that took the file-list of a bunch of photos in a folder and stitched them together in a gallery. I had one index.html, a thumbs.html, and two sets of html detail documents (two for each photo), one used the 'refresh' tag and the other didn't - thereby the user could choose which set to use to 'autoplay' or not. I had a flashing red dot gif to indicate 'running' when using the auto mode. I batch-generated the reductions and thumbnails with GraphicConverter. I could build a photo gallery for the web in about a minute. Back in 2001 javascript was to be avoided at all costs - it caused crashing and incompatibilities everywhere. A lot of text files, but it got the job done. This was used for years on the Crosby, Stills and Nash sites. - Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/20 Sivakatirswami ka...@hindu.org Stephen barncard wrote: Oh! that one... yes I remember when (circa 1998) I went through our old web sites and removed all these redirects (very bad strategy from a CMS point of view, a nightmare in fact) and I put all the redirects into a single matrix file with a Rev cgi to drive 404's to other pages. (I still use it today... very sweet and easy to maintain and fast) But I can see the utility here. No sure if there are pros or cons to using this vs Javascript. One could add a button on the interface to post run to the iRev page and then the iRev page would start inserting this into the head... with the URL for the next slide updated on each round. If the user clicks a stop button then the iRev page removes this from the head and reverts to manual drive buttons I'll try it. Thanks! you can do the automatic advance in html using the REFRESH meta taghttp://en.wikipedia.org/wiki/Meta_refresh I've built photo galleries around a lot of html pages and refresh tags. Depreciated by the W3C for redirects, but works like a champ for this purpose. Place inside head to refresh page after 5 seconds: meta http-equiv=refresh content=5 / Redirect to http://example.com/ after 5 seconds: meta http-equiv=refresh content=5;url=http://example.com/; / Redirect to http://example.com/ immediately: meta http-equiv=refresh content=0;url=http://example.com/; /. 2009/12/19 Sivakatirswami ka...@hindu.org while waiting for the plug-in to settle down ( I can't deploy revlets until the update function is working) Now, I'm wondering if there is a way to make this thing drive itself, so the user does not have to click the next button, using iRev code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slideshows in iRev
Hi Jacque, I would be very interested to see your code for this slideshow please. Cheers, Sarah On Mon, Dec 21, 2009 at 4:34 AM, J. Landman Gay jac...@hyperactivesw.com wrote: stephen barncard wrote: you can do the automatic advance in html using the REFRESH meta taghttp://en.wikipedia.org/wiki/Meta_refresh That's how I do it here: http://jacque.on-rev.com/codebits/flowerscgi.irev This presents a slideshow. If you need the iRev code (which doesn't show up when you view source) let me know. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slideshows in iRev
J. Landman Gay wrote: stephen barncard wrote: you can do the automatic advance in html using the REFRESH meta taghttp://en.wikipedia.org/wiki/Meta_refresh That's how I do it here: http://jacque.on-rev.com/codebits/flowerscgi.irev This presents a slideshow. If you need the iRev code (which doesn't show up when you view source) let me know. Aloha, Jacque: Yes i would love to see your iRev code thanks! Sivakatirswami ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slideshows in iRev
Sarah (and Sivakatirswami) wrote: I would be very interested to see your code for this slideshow please. Ok, but it's almost too easy to post. There's a folder called cgiphotos of flower images in the same directory as the irev page. Inside that folder is also a text file named cgiphotos.txt, which contains a list of all the available photos. Each line of the list has a file name as item one and a description as item two, like this: daisies.jpg,Daisies columbine2.jpg,Columbine etc In the html where I want the slideshow image to display, I choose a random image and stuff that into the img src tag: ?rev put any line of url (file:cgiphotos/cgiphotos.txt) into tFlower ? img src=cgiphotos/?rev put item 1 of tFlower ? width=320 height=240 border=1 / And later at the bottom of the page where I want the description to appear: ?rev put item 2 of tFlower ? I just use the refresh directive in a header to reload the page every ten seconds: meta HTTP-EQUIV=refresh CONTENT=10 Pretty easy. If you wanted the slide show to be in a strict order, it would be harder. I think you'd need to either set up cookies, or write the current line to disk and read that for each reload, then update the counter in the text file with the next line number. Or if you didn't want to keep a text file, you could read the files in the directory and get the list that way too. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Slideshows in iRev
while waiting for the plug-in to settle down ( I can't deploy revlets until the update function is working) I've been playing with iRev engine. Here's a slide show that uses an iRev template in an iFrame. http://www.himalayanacademy.com/resources/lexicon/images/backgrounds/ this code is generated by iRev functions to set up links behind the previous and next buttons, where the buttons post the next slide and previous slide numbers and path to the irev page which then returns the slide with a new set of update buttons. I'm not really worried about the round trip to the server because the html here is so small, the CSS (not shown) is cached and you have to fetch the photos anyway, a little more html text is hardly an issue. Now, I'm wondering if there is a way to make this thing drive itself, so the user does not have to click the next button, using iRev code. I suspect I can't really do that with iRev but will need some Javascript (which I don't know at all.) body div id=slideShowStage div id=storyTitle Word of the Day Background Contributions/div div id=slide img src=http://www.himalayanacademy.com//resources/lexicon/images/backgrounds/100_0967.jpg; alt= height=420 width=700 / /div div id=caption /div div id=slideNav a href=http://www.himalayanacademy.com/slideshows/templates/slideshow.irev?path=/resources/lexicon/images/backgrounds/current_slide=11target=slides-stage; div class=buttonPrevious /div/a a href=http://www.himalayanacademy.com/slideshows/templates/slideshow.irev?path=/resources/lexicon/images/backgrounds/current_slide=13; target=slides-stage div class=buttonNext /div /a /div /div /body insights? Sivakatirswami ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slideshows in iRev
If you don't mind messing with a little Javascript, it could be as simple as this: body onLoad=setTimeout('window.location.href = \'http://http:// www.himalayanacademy.com/slideshows/templates/slideshow.irev?path=/ resources/lexicon/images/backgrounds/current_slide=13\' '), 5000) This would go to the next slide in 5 seconds after the current page is loaded. You could of course right more elegant JavaScript functions around this, but if you want to minimize your JavaScript exposure, this one-liner should work. It just creates a 5 second timer, and then changes the URL of the current page. HTH while waiting for the plug-in to settle down ( I can't deploy revlets until the update function is working) I've been playing with iRev engine. Here's a slide show that uses an iRev template in an iFrame. http://www.himalayanacademy.com/resources/lexicon/images/backgrounds/ this code is generated by iRev functions to set up links behind the previous and next buttons, where the buttons post the next slide and previous slide numbers and path to the irev page which then returns the slide with a new set of update buttons. I'm not really worried about the round trip to the server because the html here is so small, the CSS (not shown) is cached and you have to fetch the photos anyway, a little more html text is hardly an issue. Now, I'm wondering if there is a way to make this thing drive itself, so the user does not have to click the next button, using iRev code. I suspect I can't really do that with iRev but will need some Javascript (which I don't know at all.) body div id=slideShowStage div id=storyTitle Word of the Day Background Contributions/div div id=slide img src=http://www.himalayanacademy.com//resources/lexicon/images/backgrounds/100_0967.jpg alt= height=420 width=700 / /div div id=caption /div div id=slideNav a href=http://www.himalayanacademy.com/slideshows/templates/slideshow.irev?path=/resources/lexicon/images/backgrounds/current_slide=11 target=slides-stage div class=buttonPrevious /div/a a href=http://www.himalayanacademy.com/slideshows/templates/slideshow.irev?path=/resources/lexicon/images/backgrounds/current_slide=13 target=slides-stage div class=buttonNext /div /a /div /div /body insights? Sivakatirswami ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Slideshows in iRev
On Sun, Dec 20, 2009 at 3:55 PM, Sivakatirswami ka...@hindu.org wrote: while waiting for the plug-in to settle down ( I can't deploy revlets until the update function is working) I've been playing with iRev engine. Here's a slide show that uses an iRev template in an iFrame. http://www.himalayanacademy.com/resources/lexicon/images/backgrounds/ this code is generated by iRev functions to set up links behind the previous and next buttons, where the buttons post the next slide and previous slide numbers and path to the irev page which then returns the slide with a new set of update buttons. I'm not really worried about the round trip to the server because the html here is so small, the CSS (not shown) is cached and you have to fetch the photos anyway, a little more html text is hardly an issue. Now, I'm wondering if there is a way to make this thing drive itself, so the user does not have to click the next button, using iRev code. I suspect I can't really do that with iRev but will need some Javascript (which I don't know at all.) Have a look at http://www.troz.net/onrev/samples/slideshow.irev where I use JavaScript AJAX to do this. The JavaScript sets up a timer and every 5 seconds, this sends an AJAX request to another irev file returns the html to display a random image. This link will show you the script of the secondary file http://www.troz.net/onrev/samples/showscript.irev?showscript=includes/photolink.irev HTH, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution