planet-web r619 - in trunk: config/gnome-cl themes/gnome-cl
- From: pvillavi svn gnome org
- To: svn-commits-list gnome org
- Subject: planet-web r619 - in trunk: config/gnome-cl themes/gnome-cl
- Date: Sun, 31 Aug 2008 19:12:06 +0000 (UTC)
Author: pvillavi
Date: Sun Aug 31 19:12:06 2008
New Revision: 619
URL: http://svn.gnome.org/viewvc/planet-web?rev=619&view=rev
Log:
added theme for the gnome-cl planet.
Added:
trunk/themes/gnome-cl/
trunk/themes/gnome-cl/config.ini
trunk/themes/gnome-cl/feeds.html.tmpl
trunk/themes/gnome-cl/index.html.tmpl
trunk/themes/gnome-cl/rss20.xml.tmpl
trunk/themes/gnome-cl/sidebar.html.tmpl
trunk/themes/gnome-cl/simple.html.tmpl
Modified:
trunk/config/gnome-cl/config.ini
Modified: trunk/config/gnome-cl/config.ini
==============================================================================
--- trunk/config/gnome-cl/config.ini (original)
+++ trunk/config/gnome-cl/config.ini Sun Aug 31 19:12:06 2008
@@ -7,7 +7,7 @@
date_format = %B %d, %Y %I:%M %p
log_level = ERROR
-output_theme = ../../themes/gnome
+output_theme = ../../themes/gnome-cl
output_dir = ../../web/gnome-cl
#spider_threads = 10
Added: trunk/themes/gnome-cl/config.ini
==============================================================================
--- (empty file)
+++ trunk/themes/gnome-cl/config.ini Sun Aug 31 19:12:06 2008
@@ -0,0 +1,28 @@
+# In addition to the outputs produced by the 'asf' theme, this one adds
+# a 'mobile' version. For best results, this needs to be combined with
+# the 'excerpt.py' filter.
+
+[Planet]
+template_files:
+ index.html.tmpl
+ simple.html.tmpl
+ feeds.html.tmpl
+ sidebar.html.tmpl
+ atom.xml.xslt
+ rss10.xml.tmpl
+ rss20.xml.tmpl
+ opml.xml.xslt
+ foafroll.xml.xslt
+
+template_directories:
+ /home/users/jdub/bin/venus/themes/common
+
+bill_of_materials:
+
+# feeds should be fairly short by default
+[atom.xml.xslt]
+items_per_page = 30
+[rss10.xml.tmpl]
+items_per_page = 30
+[rss20.xml.tmpl]
+items_per_page = 30
Added: trunk/themes/gnome-cl/feeds.html.tmpl
==============================================================================
--- (empty file)
+++ trunk/themes/gnome-cl/feeds.html.tmpl Sun Aug 31 19:12:06 2008
@@ -0,0 +1 @@
+<ul><TMPL_LOOP Channels><li<TMPL_IF nick> class="<TMPL_VAR nick>"</TMPL_IF>><TMPL_IF url><a href="<TMPL_VAR url ESCAPE="HTML">" title="Subscribe"><img src="http://planet.gnome.org/img/feed-icon-10x10.png" alt="(feed)"></a><TMPL_ELSE><img src="http://planet.gnome.org/img/feed-icon-10x10.png" alt="(feed)"></TMPL_IF> <TMPL_IF link><a href="<TMPL_VAR link ESCAPE="HTML">" <TMPL_IF message>class="message" title="<TMPL_VAR message ESCAPE="HTML">"</TMPL_IF><TMPL_UNLESS message>title="<TMPL_VAR title_plain ESCAPE="HTML">"</TMPL_UNLESS>><TMPL_VAR name></a><TMPL_ELSE><span <TMPL_IF message>class="message" title="<TMPL_VAR message ESCAPE="HTML">"</TMPL_IF><TMPL_UNLESS message>title="<TMPL_VAR title_plain ESCAPE="HTML">"</TMPL_UNLESS>><TMPL_VAR name></span></TMPL_IF></li></TMPL_LOOP></ul>
Added: trunk/themes/gnome-cl/index.html.tmpl
==============================================================================
--- (empty file)
+++ trunk/themes/gnome-cl/index.html.tmpl Sun Aug 31 19:12:06 2008
@@ -0,0 +1,206 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+
+<head>
+ <title><TMPL_VAR name></title>
+
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <link rel="shortcut icon" type="image/png" href="http://planet.gnome.org/img/gnome-16.png">
+ <link rel="alternate" type="application/atom+xml" title="Planet GNOME Atom 1.0" href="http://planeta.gnome.cl/atom.xml">
+ <link rel="alternate" type="application/rss+xml" title="Planet GNOME RSS 2.0" href="http://planeta.gnome.cl/rss20.xml">
+
+ <link rel="stylesheet" href="http://planet.gnome.org/nlayout.css" type="text/css">
+ <link rel="stylesheet" href="http://planet.gnome.org/planet.css" type="text/css">
+ <link rel="stylesheet" href="http://planet.gnome.org/generic.css" type="text/css">
+ <link rel="stylesheet" href="http://blogs.gnome.org/wp-content/mu-plugins/bug-links/bug-links.css" type="text/css">
+
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
+ <script type="text/javascript" src="http://planet.gnome.org/jquery.cookie.min.js"></script>
+ <script type="text/javascript">
+ function toggleFeeds() {
+ $("#feedlist").slideToggle(function() {
+ $("#feeds h3").toggleClass("open");
+ });
+ }
+ $(document).ready(function() {
+ var hidden = $.cookie("hidden") ? $.cookie("hidden").split(",") : new Array();
+ // hide posts by disabled folks
+ if (hidden.length > 0) for (i in hidden) {
+ $("div." + hidden[i]).hide();
+ }
+ $("#feeds h3 a").click(function(e) {
+ e.preventDefault();
+ if ($("#feedlist ul").length == 0) {
+ $("#feedlist").load('feeds.html', '', function(r,t,x) {
+ $('<input type="checkbox" checked>')
+ .change(function() {
+ var nick = $(this).parent().attr("class");
+ var i = $.inArray(nick, hidden);
+ if ($(this).attr("checked")) {
+ if (hidden[i]) hidden.splice(i, 1);
+ $("div." + nick).show();
+ } else {
+ if (!hidden[i]) hidden[hidden.length] = nick;
+ $("div." + nick).hide();
+ }
+ $.cookie("hidden", hidden.join(","),
+ {expires: 365});
+ })
+ .prependTo("#feedlist ul li");
+ // remove checks from disabled folks
+ for (i in hidden) {
+ $("#feedlist ul li." + hidden[i] + " input")
+ .removeAttr("checked");
+ }
+ toggleFeeds();
+ });
+ } else {
+ toggleFeeds();
+ }
+ });
+ });
+ </script>
+</head>
+
+<body>
+
+
+<div id="gnome-sites">
+<ul><li class="home"><a href="http://www.gnome.org/" title="Home">Home</a></li><li><a href="http://news.gnome.org" title="News">News</a></li><li><a href="http://www.gnome.org/projects/" title="Projects">Projects</a></li><li><a href="http://art.gnome.org" title="Art">Art</a></li><li><a href="http://www.gnome.org/support/" title="Support">Support</a></li><li><a href="http://developer.gnome.org" title="Development">Development</a></li><li><a href="http://www.gnome.org/community/" title="Community">Community</a></li></ul>
+</div> <!-- /gnome-sites -->
+
+
+<div id="page">
+
+
+<div id="header">
+
+<!-- Google CSE Search Box Begins -->
+<div id="search">
+<form id="searchbox_007525575524326405779:c0gv0y410u0" action="http://www.google.com/cse">
+<input type="hidden" name="cx" value="007525575524326405779:c0gv0y410u0">
+<input name="q" type="text" size="15">
+<!--<input type="submit" name="sa" value="Search">-->
+<input type="hidden" name="cof" value="FORID:0">
+</form>
+<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_007525575524326405779%3Ac0gv0y410u0"></script>
+</div> <!-- /search -->
+<!-- Google CSE Search Box Ends -->
+
+<div id="masthead">
+<a href="/" title="Home" rel="home"><img src="http://ideas.perkypants.org/sites/all/themes/gnome/logo.png" alt="Home" id="site-logo"></a>
+<div id="site-title">
+<p id="site-name"><a href="/" title="Home" rel="home">Planeta GNOME Chile</a></p>
+<p id="site-slogan">24 horas al dÃa, 7 dÃas a la semana, 365 dÃas al aÃo<span title="Yeah, yeah... 366 days per leap year :-)" style="cursor: pointer;">*</span>, esto es Planeta GNOME Chile</p>
+</div> <!-- /site-title -->
+<a id="footer-link" href="#footer">Acerca de Planeta GNOME Chile</a>
+</div> <!-- /masthead -->
+
+</div> <!-- /header -->
+
+
+<div id="content">
+
+<TMPL_IF banner_message>
+<div class="banner"><TMPL_VAR banner_message></div>
+</TMPL_IF>
+
+<TMPL_LOOP Items>
+
+<TMPL_IF new_date>
+<h2 class="date"><TMPL_VAR new_date></h2>
+</TMPL_IF>
+
+<div class="entry<TMPL_IF channel_nick> <TMPL_VAR channel_nick></TMPL_IF>">
+
+<div class="person-info">
+<a href="<TMPL_VAR channel_link ESCAPE="HTML">" title="<TMPL_VAR channel_title ESCAPE="HTML">"><TMPL_IF channel_face><img class="face" src="<TMPL_VAR channel_face ESCAPE="HTML">" alt=""><br><TMPL_ELSE><img class="face" src="http://planet.gnome.org/heads/nobody.png" alt=""><br></TMPL_IF><TMPL_VAR channel_name><TMPL_IF channel_real><br><TMPL_VAR channel_real></TMPL_IF><TMPL_IF channel_nick><br>(<TMPL_VAR channel_nick>)</TMPL_IF></a>
+<TMPL_IF channel_gsoc2008><p><a href="http://www.gnome.org/projects/soc/" title="Google Summer of Code 2008"><img src="http://planet.gnome.org/heads/logos/gsoc2008.png" alt="GSoC 2008" /></a></p></TMPL_IF>
+</div>
+
+<div class="post">
+
+<div class="post-header">
+<TMPL_IF title><h3 class="post-title"><a href="<TMPL_VAR link ESCAPE="HTML">"><TMPL_VAR title></a></h3></TMPL_IF>
+</div> <!-- /post-header -->
+
+<div class="post-contents">
+<TMPL_VAR content>
+</div> <!-- /post-contents -->
+
+<div class="post-footer">
+<p><a href="<TMPL_VAR link ESCAPE="HTML">"><TMPL_VAR date></a></p>
+</div> <!-- /post-footer -->
+
+<b class="vt lt"></b><b class="vt rt"></b><b class="hz to"></b><b class="hz bo"></b>
+<b class="cr tl"></b><b class="cr tr"></b><b class="cr bl"></b><b class="cr br"></b>
+
+</div> <!-- /post -->
+
+</div> <!-- /entry -->
+
+</TMPL_LOOP>
+
+</div> <!-- /content -->
+
+
+<div id="feeds">
+ <h3><a href="feeds.html">Feeds</a></h3>
+ <div id="feedlist"></div>
+</div>
+
+<div id="footer">
+
+<div class="column">
+<div class="section">
+<h3>Planeta GNOME Chile</h3>
+<p><b>Planeta GNOME Chile es una ventana al mundo, trabajo y vidas de la <a href="http://www.gnome.cl">Comunidad GNOME en Chile</a>.</b></p>
+
+<p>Brought to you by the <a href="http://www.planetplanet.org/">Planet</a> aggregator, cron, <a href="http://www.python.org/">Python</a>, <a href="http://www.redhat.com/">Red Hat</a> (who kindly host the GNOME servers). Design by <a href="http://bethesignal.org/">Jeff Waugh</a>, inspired by earlier work from <a href="http://www.actsofvolition.com/">Steven Garrity</a>, <a href="http://www.gnome.org/~seth/">Seth Nickell</a> and <a href="http://www.isity.net/">Diana Fong</a>.</p>
+
+<p>Planeta GNOME Chile es mantenido por <a href="mailto:pvillavi gnome org?Subject=planet gnome org">Pedro Villavicencio</a>, EnvÃa un correo electrÃnico si tienes alguna duda o deseas que tu sitio sea agregado.</p>
+
+<p>Updated on <TMPL_VAR date> UTC. Entries are normalised to UTC time.</p>
+</div>
+</div>
+
+<div class="column">
+<div class="section">
+<h3>GNOME en el Mundo</h3>
+<p><a href="http://live.gnome.org/GnomeWorldWide"><img src="http://www.gnome.org/~jdub/random/GnomeWorldWideSmall.jpg" alt=""></a></p>
+<p>Comunidades GNOME alrededor del Mundo:</p>
+<ul>
+ <li><a href="http://www.gnomebangalore.org/?q=blog">Bangalore, India</a></li>
+ <li><a href="http://br.gnome.org/">Brazil</a></li>
+ <li><a href="http://gnome.cult.bg/">Bulgaria</a></li>
+ <li><a href="http://planeta.gnome.cl/">Chile</a></li>
+ <li><a href="http://planet.gnomefr.org/">Francophile</a></li>
+ <li><a href="http://planet.gnome-ev.de/">Germany</a></li>
+ <li><a href="http://planet.gnome.gr/">Greece</a></li>
+ <li><a href="http://planeta.es.gnome.org/">Hispano</a></li>
+ <li><a href="http://it.gnome.org/planet/">Italy</a></li>
+ <li><a href="http://gnome.or.kr/pgk/">Korea</a></li>
+ <li><a href="http://planet.nl.gnome.org/">Netherlands</a></li>
+ <li><a href="http://www.gnome.org.tr/">Turkey</a></li>
+ <li><a href="http://www.uk.gnome.org/planet/">United Kingdom</a></li>
+</ul>
+</div>
+</div>
+
+<div id="fineprint" class="section">
+<h3><img src="img/footer-logo.png" alt="GNOME" title="GNOME"></h3>
+<p>Copyright  2003-2008, <a href="http://www.gnome.org/">The GNOME Project</a>.<br>
+<a href="http://validator.w3.org/check/referer">Optimised</a> for <a href="http://www.w3.org/">standards</a>.<br>
+Hosted by <a href="http://www.redhat.com/">Red Hat</a>.</p>
+<p id="ownership">Blog entries aggregated on this page are owned by, and represent the opinion of the author.</p>
+</div> <!-- /fineprint -->
+
+</div> <!-- /footer -->
+
+
+</div> <!-- /page -->
+
+
+</body>
+
+</html>
Added: trunk/themes/gnome-cl/rss20.xml.tmpl
==============================================================================
--- (empty file)
+++ trunk/themes/gnome-cl/rss20.xml.tmpl Sun Aug 31 19:12:06 2008
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<rss version="2.0">
+
+<channel>
+ <title><TMPL_VAR name></title>
+ <link><TMPL_VAR link ESCAPE="HTML"></link>
+ <language>en</language>
+ <description><TMPL_VAR name ESCAPE="HTML"> - <TMPL_VAR link ESCAPE="HTML"></description>
+
+<TMPL_LOOP Items>
+<item>
+ <title><TMPL_VAR channel_name ESCAPE="HTML"><TMPL_IF title>: <TMPL_VAR title_plain ESCAPE="HTML"></TMPL_IF></title>
+ <guid isPermaLink="<TMPL_VAR guid_isPermaLink>"><TMPL_VAR id ESCAPE="HTML"></guid>
+ <link><TMPL_VAR link ESCAPE="HTML"></link>
+ <TMPL_IF content>
+ <description><TMPL_IF channel_face><img src="<TMPL_VAR channel_face ESCAPE="HTML">" alt="" align="right"> </TMPL_IF><TMPL_VAR content ESCAPE="HTML"></description>
+ </TMPL_IF>
+ <pubDate><TMPL_VAR date_822></pubDate>
+ <TMPL_IF author_email>
+ <TMPL_IF author_name>
+ <author><TMPL_VAR author_email> (<TMPL_VAR author_name>)</author>
+ <TMPL_ELSE>
+ <author><TMPL_VAR author_email></author>
+ </TMPL_IF>
+ </TMPL_IF>
+ <TMPL_IF enclosure_href>
+ <enclosure url="<TMPL_VAR enclosure_href ESCAPE="HTML">" length="<TMPL_VAR enclosure_length>" type="<TMPL_VAR enclosure_type>"/>
+ </TMPL_IF>
+</item>
+</TMPL_LOOP>
+
+</channel>
+</rss>
Added: trunk/themes/gnome-cl/sidebar.html.tmpl
==============================================================================
--- (empty file)
+++ trunk/themes/gnome-cl/sidebar.html.tmpl Sun Aug 31 19:12:06 2008
@@ -0,0 +1,17 @@
+<ul>
+<TMPL_LOOP Items>
+### we can only show items that have titles in this feed
+<TMPL_IF title>
+<li>
+<a href="<TMPL_VAR link ESCAPE="HTML">">
+<TMPL_IF channel_face>
+<img src="<TMPL_VAR channel_face ESCAPE="HTML">" height="24" alt="">
+<TMPL_ELSE>
+<img src="http://planet.gnome.org/heads/nobody.png" height="24" alt="">
+</TMPL_IF>
+<TMPL_VAR title></a>
+</li>
+</TMPL_IF>
+
+</TMPL_LOOP>
+</ul>
Added: trunk/themes/gnome-cl/simple.html.tmpl
==============================================================================
--- (empty file)
+++ trunk/themes/gnome-cl/simple.html.tmpl Sun Aug 31 19:12:06 2008
@@ -0,0 +1,74 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+
+
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title><TMPL_VAR name></title>
+ <link rel="stylesheet" href="http://planet.gnome.org/generic.css" type="text/css">
+ <link rel="stylesheet" href="http://planet.gnome.org/planet.css" type="text/css">
+
+ <link rel="icon" type="image/png" href="http://planet.gnome.org/img/gnome-16.png">
+ <link rel="SHORTCUT ICON" type="image/png" href="http://planet.gnome.org/img/gnome-16.png">
+ <link rel="alternate" type="application/atom+xml" title="Planet GNOME Atom 1.0" href="http://planet.gnome.org/atom.xml">
+ <link rel="alternate" type="application/rss+xml" title="Planet GNOME RSS 2.0" href="http://planet.gnome.org/rss20.xml">
+</head>
+
+
+<body>
+
+
+<TMPL_LOOP Items>
+ <TMPL_IF new_date>
+ <h2 class="date"><TMPL_VAR new_date></h2>
+ </TMPL_IF>
+
+ <div class="entry<TMPL_IF channel_nick> <TMPL_VAR channel_nick></TMPL_IF>">
+
+ <div class="person-info">
+ <a href="<TMPL_VAR channel_link ESCAPE="HTML">" title="<TMPL_VAR channel_title ESCAPE="HTML">">
+ <TMPL_IF channel_face>
+ <img class="face" src="<TMPL_VAR channel_face ESCAPE="HTML">" alt=""><br />
+ <TMPL_ELSE>
+ <img class="face" src="http://planet.gnome.org/heads/nobody.png" alt=""><br />
+ </TMPL_IF>
+ <TMPL_VAR channel_name>
+ <TMPL_IF channel_real><br /><TMPL_VAR channel_real></TMPL_IF>
+ <TMPL_IF channel_nick><br />(<TMPL_VAR channel_nick>)</TMPL_IF>
+ </a>
+ <TMPL_IF channel_gsoc2008>
+ <p><a href="http://www.gnome.org/projects/soc/" title="Google Summer of Code 2008"><img src="http://planet.gnome.org/heads/logos/gsoc2008.png" alt="GSoC 2007" /></a></p>
+ </TMPL_IF>
+ </div>
+
+ <div class="post">
+ <div class="post-header">
+ <TMPL_IF title>
+ <h3 class="post-title"><a href="<TMPL_VAR link ESCAPE="HTML">"><TMPL_VAR title></a></h3>
+ </TMPL_IF>
+ </div>
+ <div class="post-contents">
+ <TMPL_VAR content>
+ </div>
+ <div class="post-footer">
+ <p><a href="<TMPL_VAR link ESCAPE="HTML">"><TMPL_VAR date></a></p>
+ </div>
+ <b class="vt lt"></b><b class="vt rt"></b><b class="hz to"></b><b class="hz bo"></b>
+ <b class="cr tl"></b><b class="cr tr"></b><b class="cr bl"></b><b class="cr br"></b>
+ </div>
+
+ </div>
+</TMPL_LOOP>
+</div>
+
+
+<div id="copyright">
+Copyright © 2003-2007, <a href="http://www.gnome.org/">The GNOME Project</a><br />
+Blog entries aggregated on this page are owned by, and represent the opinion of the author.<br />
+<a href="http://validator.w3.org/check/referer">Optimised</a> for <a href="http://www.w3.org/">standards</a>. Hosted by <a href="http://redhat.com/">Red Hat</a>.<br />
+</div>
+
+
+</body>
+
+</html>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]