diff options
author | Michael Bien <[email protected]> | 2010-08-23 19:38:43 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-08-23 19:38:43 +0200 |
commit | 293f078dc1dd7eb960c95411c15e253c4fd5a92c (patch) | |
tree | 08dd1acf4aff8488e062f220cb2dcda673e84236 | |
parent | 5f803caee5b6d37366c5c25909e87ed523bedd7d (diff) |
updated stream and planet configuration files and templates.
-rw-r--r-- | planet2/config/planet-config.xml | 18 | ||||
-rw-r--r-- | planet2/config/planet-template.html | 112 | ||||
-rw-r--r-- | planet2/config/stream-config.xml (renamed from planet2/config/config.xml) | 0 | ||||
-rw-r--r-- | planet2/config/stream-template.html | 2 |
4 files changed, 131 insertions, 1 deletions
diff --git a/planet2/config/planet-config.xml b/planet2/config/planet-config.xml new file mode 100644 index 0000000..556baa4 --- /dev/null +++ b/planet2/config/planet-config.xml @@ -0,0 +1,18 @@ + +<config> + + <planet title="Planet JogAmp" + description="JogAmp Aggregated Feeds" + author="Hungry Harry" + maxEntries="20" + link="http://jogamp.org/planet"> + <feed>rss_2.0</feed> + <template>/home/mbien/NetBeansProjects/JOGAMP/planet2/config/planet-template.html</template> + <output>/home/mbien/NetBeansProjects/JOGAMP/planet</output> + </planet> + + <feed name="dominik" url="http://copypastaresearch.tumblr.com/rss"/> + <feed name="mbien" url="http://michael-bien.com/mbien/feed/entries/atom?tags=jogl"/> + <feed name="jau" url="http://jausoft.com/blog/category/computer-stuff/3d-opengl/jogl/feed/"/> + <!--<feed name="ant" url="http://blogs.sun.com/ant/feed/entries/rss"/>--> +</config> diff --git a/planet2/config/planet-template.html b/planet2/config/planet-template.html new file mode 100644 index 0000000..8dbd4c7 --- /dev/null +++ b/planet2/config/planet-template.html @@ -0,0 +1,112 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> + <head> + <title>Planet JogAmp</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 rel="stylesheet" href="../style.css" type="text/css"> + <#list feedlinks as feed> + <link rel="alternate" href="${planet.link}/${feed.fileName}" type="application/${feed.feedType}+xml"> + </#list> + </head> + + <body> + + <div id="container"> + <!-- header --> + <div id="header"> + <div id="slogan">graphics, audio, media and processing libraries</div> + <div id="logo"><a href="http://jogamp.org/">Planet JogAmp</a></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="../jocl/www">JOCL</a></li> + <li><a href="../jogl/www">JOGL</a></li> + <li><a href="../wiki">Wiki</a></li> + <li><a href="../forum.html">Forums</a></li> + </ul> + </div> + + <div id="main"> + <div id="sidebar"> + <h2>Feeds</h2> + + <ul> + <#list feeds as feed> + <li class="rss"> + <a href="${feed.link}">${feed.title}</a> + </li> + </#list> + </ul> + <!-- + <ul> + <li><a href="forum.html">Forum / Mailing Lists</a></li> + <li><a href="stream">Streams</a></li> + </ul> + --> + <p> + Powered by <a href="http://github.com/mbien/Hungry-Harry">Hungry Harry</a> + </p> + + <p><!-- + <script src="http://widgets.twimg.com/j/2/widget.js"></script> + <script> + new TWTR.Widget({ + version: 2, + type: 'search', + search: 'jogl', + interval: 4000, + title: '', + subject: 'JogAmp on Twitter', + width: 180, + height: 300, + theme: { + shell: { + background: '#ffffff', + color: '#000000' + }, + tweets: { + background: '#ffffff', + color: '#444444', + links: '#000000' + } + }, + features: { + scrollbar: false, + loop: false, + live: false, + hashtags: true, + timestamp: true, + avatars: false, + behavior: 'all' + } + }).render().start(); + </script> + --></p> + </div> + + <div id="text"> +<#list entries as entry> +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br/> +<a href="${entry.link}">${entry.title}</a><br/> +${entry.published?datetime}<br/> +${entry.content}<br/> +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <br/><br/> +</#list> + </div> + + </div> + <div id="footer"> + <div id="footer_left"> + <span xmlns:dc="http://purl.org/dc/elements/1.1/" property="dc:title">JogAmp.org</span> + by <a xmlns:cc="http://creativecommons.org/ns#" href="http://jogamp.org" property="cc:attributionName" rel="cc:attributionURL">http://jogamp.org</a> + is licensed under a <br/> + <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 License</a>. + </div> + </div> + </div> + </body> +</html> diff --git a/planet2/config/config.xml b/planet2/config/stream-config.xml index df358aa..df358aa 100644 --- a/planet2/config/config.xml +++ b/planet2/config/stream-config.xml diff --git a/planet2/config/stream-template.html b/planet2/config/stream-template.html index 49eabbe..6b08ae8 100644 --- a/planet2/config/stream-template.html +++ b/planet2/config/stream-template.html @@ -6,7 +6,7 @@ <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> + <#list feedlinks as feed> <link rel="alternate" href="${planet.link}/${feed.fileName}" type="application/${feed.feedType}+xml"> </#list> </head> |