diff options
author | JOGAMP DEV TEAM <[email protected]> | 2010-08-18 08:32:05 -0700 |
---|---|---|
committer | JOGAMP DEV TEAM <[email protected]> | 2010-08-18 08:32:05 -0700 |
commit | 0585a301f348ee4f75c6cdf748d5ea91690608db (patch) | |
tree | b596e0b02c4669ab74b2dc2b90145ab605021b6a /planet2 |
initial import of jogamp.org webpage
Diffstat (limited to 'planet2')
-rw-r--r-- | planet2/config/config.xml | 44 | ||||
-rw-r--r-- | planet2/config/stream-template.html | 54 | ||||
-rw-r--r-- | planet2/update-stream.sh | 3 |
3 files changed, 101 insertions, 0 deletions
diff --git a/planet2/config/config.xml b/planet2/config/config.xml new file mode 100644 index 0000000..28ddf0b --- /dev/null +++ b/planet2/config/config.xml @@ -0,0 +1,44 @@ + +<config> + + <planet title="JogAmp Streams" + description="JogAmp Aggregated Feeds" + author="Hungry Harry" + maxEntries="8" + link="http://jogamp.org/stream/"> + <feed>atom_0.3</feed> + <feed>rss_2.0</feed> + <template>/srv/www/jogamp.org/planet2/config/stream-template.html</template> + <output>/srv/www/jogamp.org/stream</output> + </planet> +<!-- + <feed name="vimeo" url="http://vimeo.com/tag:jogl/rss"/> + --> + <feed name="demoscenepassivist" url="http://gdata.youtube.com/feeds/base/users/DemoscenePassivist/uploads?alt=rss&v=2&orderby=published&client=ytapi-youtube-profile"/> + + <template keyword="vimeo" idpattern="http://vimeo.com/([0-9]+)"> +<![CDATA[ + <object width="400" height="320"> + <param name="allowfullscreen" value="true" /> + <param name="allowscriptaccess" value="always" /> + <param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=#id#&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1" /> + <embed src="http://vimeo.com/moogaloop.swf?clip_id=#id#&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1" + type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="320"> + </embed> + </object> +]]> + </template> + <template keyword="youtube" idpattern="http://www.youtube.com/watch\?v=([^&]+)"> +<![CDATA[ + <object width="480" height="385"> + <param name="movie" value="http://www.youtube.com/v/#id#&hl=en_US&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6&hd=1"/> + <param name="allowFullScreen" value="true"/> + <param name="allowscriptaccess" value="always"/> + <embed src="http://www.youtube.com/v/#id#&hl=en_US&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6&hd=1" + type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"> + </embed> + </object> +]]> + </template> + +</config> diff --git a/planet2/config/stream-template.html b/planet2/config/stream-template.html new file mode 100644 index 0000000..92d577e --- /dev/null +++ b/planet2/config/stream-template.html @@ -0,0 +1,54 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>JogAmp Streams</title> + <meta content="java, jogl, jocl, joal, opengl, opencl, openal, libraries" name="keywords"/> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <link href="../style.css" rel="stylesheet" type="text/css"/> + <link href="http://jogamp.org/SocialCoding/logo_symbol_finals/website_final_blue_favicon_symbol_16x16pel.ico" rel="shortcut icon"> + <#list feeds as feed> + <link rel="alternate" href="${planet.link}/${feed.fileName}" type="application/${feed.feedType}+xml"> + </#list> + </head> + + <body> + <div id="container"> + <div id="header"> + <div id="slogan"><img src="../images/jogamp_symbols/website_final_sideslogan_weblogsandfeeds_404x20pel.png" alt="streams and feeds"/></div> + <div id="logo"><img src="../images/jogamp_symbols/website_final_blue_jogamp_346x70pel.png" alt="JogAmp symbol"/></div> + </div> + <div id="menu"> + <ul> + <li><a href="http://jogamp.org/">Home</a></li> + <li><a href="../joal/www">JOAL</a></li> + <li><a href="../jogl/www">JOCL</a></li> + <li><a href="../jogl/www">JOGL</a></li> + <li><a href="../wiki">Wiki</a></li> + <li><a href="../blog">Blogs</a></li> + </ul> + + </div> + <div id="main"> + <div id="sidebar"> + <h3>Community</h3> + <ul> + <li><a href="../forum.html">Forum / Mailing Lists</a></li> + <li><a href="../blog/">Blogs</a></li> + </ul> + + </div> + <div id="text"> +${content} + </div> + </div> + <div id="footer"> + <div id="footer_left"> + <span>JogAmp.org</span> + by <a href="http://jogamp.org">http://jogamp.org</a> is licensed under a <br/> + <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 License</a>. + </div> + </div> + </div> + </body> +</html> + diff --git a/planet2/update-stream.sh b/planet2/update-stream.sh new file mode 100644 index 0000000..67ade77 --- /dev/null +++ b/planet2/update-stream.sh @@ -0,0 +1,3 @@ +java -jar HungryHarry-SNAPSHOT-jar-with-dependencies.jar /srv/www/jogamp.org/planet2/config/config.xml +mv ../stream/planet.html ../stream/index.html + |