Tree Crawling Results
Last weeks post might have been a bit puzzling to most people so I figured I could show what it actually does. Just the end product (in its current state). When that code is interpreted</a> (ruby is not a compiled language), it outputs HTML stable for display in any (modern) web browser. The particular bit of code, produces a navigation menu to make finding the videos easy. I can't link to the live page yet as it is not complete, but I can show a screen shot of what it looks like.<br /><img src="http://andrewbarna.org/photos/gallery3/var/albums/dailyphoto/ghdc_sci_at_sea.jpg"/></a><br /><br />The to make the embedding of the video itself convenient I wrote a custom tag class that is then interpreted to make an embedded video. All I need to put in the page file is the following line: {video: "Rosette/Rosette_Recovery_Day_Rough.m4v"}</code> where the "Rosette/Rosette_Recovery_Day_Rough.m4v" is simply the path to the desired video inside the video folder. The custom video tag class then figures out how deep the resulting page is in the tree and constructs the video embed path accordingly so it always is the correct path. So far everyone (especially myself) is happy with the results. The graphic designer is currently working on what we are calling an "exploding ship," if you is familiar with the book series Incredible Cross-Sections</a> it will be something like that. So the exploding ship will be included to give a location of where the video was shot on the ship.<br /><br />Finished product due in 2 weeks...<br />-Andrew<br />Due to a disaster, the screenshot will probably be lost forever</b></p>