planet-web r495 - in trunk: . config/news config/people themes themes/gnome



Author: jdub
Date: Sun Mar  2 02:42:40 2008
New Revision: 495
URL: http://svn.gnome.org/viewvc/planet-web?rev=495&view=rev

Log:
getting ready for venus

Added:
   trunk/themes/
   trunk/themes/gnome/
   trunk/themes/gnome/config.ini
   trunk/themes/gnome/index.html.tmpl
   trunk/themes/gnome/sidebar.html.tmpl
   trunk/themes/gnome/simple.html.tmpl
Modified:
   trunk/config/news/config.ini
   trunk/config/people/config.ini
   trunk/update-planet

Modified: trunk/config/news/config.ini
==============================================================================
--- trunk/config/news/config.ini	(original)
+++ trunk/config/news/config.ini	Sun Mar  2 02:42:40 2008
@@ -4,14 +4,23 @@
 owner_name = Jeff Waugh
 owner_email = jdub gnome org
  
-template_files = index.shtml.tmpl ../atom.xml.tmpl ../foafroll.xml.tmpl ../opml.xml.tmpl ../rss10.xml.tmpl ../rss20.xml.tmpl
-output_dir = ../../web/news
-items_per_page = 30
 date_format = %B %d, %Y %I:%M %p
- 
-cache_directory = ../../cache
 log_level = ERROR
 
+output_theme = gnome
+output_dir = ../../web/news
+
+spider_threads = 10
+feed_timeout = 20
+cache_directory = ../../cache
+
+new_feed_items = 2
+items_per_page = 30
+#days_per_page = 3
+activity_threshold = 60
+
+#template_files = index.shtml.tmpl ../atom.xml.tmpl ../foafroll.xml.tmpl ../opml.xml.tmpl ../rss10.xml.tmpl ../rss20.xml.tmpl
+
 [http://gnomedesktop.org/node/feed]
 name = Footnotes
 face = http://gnomedesktop.org/themes/footnotes/footnotes.png

Modified: trunk/config/people/config.ini
==============================================================================
--- trunk/config/people/config.ini	(original)
+++ trunk/config/people/config.ini	Sun Mar  2 02:42:40 2008
@@ -4,18 +4,23 @@
 owner_name = Jeff Waugh
 owner_email = jdub gnome org
  
-template_files = index.html.tmpl simple.html.tmpl sidebar.html.tmpl cse.xml.tmpl ../atom.xml.tmpl ../foafroll.xml.tmpl ../opml.xml.tmpl ../rss10.xml.tmpl ../rss20.xml.tmpl
-output_dir = ../../web
 date_format = %B %d, %Y %I:%M %p
- 
-cache_directory = ../../cache
 log_level = ERROR
 
+output_theme = gnome
+output_dir = ../../web
+
+spider_threads = 10
+feed_timeout = 20
+cache_directory = ../../cache
+
 new_feed_items = 2
-#items_per_page = 50
-days_per_page = 3
+items_per_page = 60
+#days_per_page = 3
 activity_threshold = 60
 
+#template_files = index.html.tmpl simple.html.tmpl sidebar.html.tmpl cse.xml.tmpl ../atom.xml.tmpl ../foafroll.xml.tmpl ../opml.xml.tmpl ../rss10.xml.tmpl ../rss20.xml.tmpl
+
 [simple.html.tmpl]
 items_per_page = 30
 

Added: trunk/themes/gnome/config.ini
==============================================================================
--- (empty file)
+++ trunk/themes/gnome/config.ini	Sun Mar  2 02:42:40 2008
@@ -0,0 +1,27 @@
+# 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
+  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/index.html.tmpl
==============================================================================
--- (empty file)
+++ trunk/themes/gnome/index.html.tmpl	Sun Mar  2 02:42:40 2008
@@ -0,0 +1,180 @@
+<!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/layout.css"; type="text/css">
+	<link rel="stylesheet" href="http://planet.gnome.org/planet.css"; type="text/css">
+	<link rel="stylesheet" href="http://blogs.gnome.org/wp-content/mu-plugins/bug-links/bug-links.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>
+
+
+<div id="hdr">
+	<div id="banner"><img src="http://planet.gnome.org/img/spacer"; alt=""></div>
+	<div id="logo"><a
+		href="./"><img
+		src="http://planet.gnome.org/img/spacer"; alt="Home"></a></div>
+
+    <div id="hdrNav">
+<a href="http://www.gnome.org/about/";>About GNOME</a> &middot;
+<a href="http://www.gnome.org/start/stable/";>Download</a> &middot;
+<!--<a href="http://www.gnome.org/start/";><i>Get Involved!</i></a> &middot;-->
+<a href="http://www.gnome.org/";><b>Users</b></a> &middot;
+<a href="http://art.gnome.org/";>Art &amp; Themes</a> &middot;
+<a href="http://developer.gnome.org/";>Developers</a> &middot;
+<a href="http://foundation.gnome.org/";>Foundation</a> &middot;
+<a href="http://www.gnome.org/contact/";>Contact</a>
+    </div>
+</div>
+
+
+<div id="body">
+
+
+<!--<div style="border: 1px solid #e0e0df; background-color: #fffff0; padding: 0.5em 1em 0.5em 1em; padding-left: 60px; min-height: 50px; background-position: 6px 0.5em; background-repeat: no-repeat; background-image: url(http://library.gnome.org/skin/admon-note.png); margin-bottom: 2em; width: 50%; margin-left: auto; margin-right: auto;">
+If Planet GNOME looks a little broken today, please hit <tt>Ctrl-Shift-R</tt>
+to force a reload, and everything should go back to normal. Nothing to see
+here... Move along! <img src="http://blogs.gnome.org/wp-content/mu-plugins/tango-smilies/face-smile.png"; alt=":-)" class="wp-smiley" height="16" width="16">
+</div>-->
+
+
+<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_gsoc2007>
+		<p><a href="http://www.gnome.org/projects/soc/"; title="Google Summer of Code 2007"><img src="http://planet.gnome.org/heads/logos/gsoc2007.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="sidebar">
+	<div class="section">
+	<h3>Planet GNOME</h3>
+	<p>Planet GNOME is a window into the world, work and lives of GNOME <a href="http://planet.gnome.org/heads/";>hackers and contributors</a>.</p>
+	<p>Updated on <TMPL_VAR date> UTC. Entries are normalised to UTC time.</p>
+	<p>Don't like what someone usually posts?  <a href="http://live.gnome.org/PlanetGnome";>Remove them</a> from your personal display of Planet GNOME.</p>
+	</div>
+
+	<div class="section">
+	<h3>Search</h3>
+	<p>Customised search for Planet GNOME contributor blogs.</p>
+<!-- Google CSE Search Box Begins -->
+ <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%3
+Ac0gv0y410u0"></script>
+<!-- Google CSE Search Box Ends -->
+	</div>
+
+	<div class="section">
+	<h3>GNOME World Wide</h3>
+	<p class="center"><a href="http://live.gnome.org/GnomeWorldWide";><img src="http://www.gnome.org/~jdub/random/GnomeWorldWideSmall.jpg"; alt=""></a></p>
+	<p>GNOME communities around the world by region and language:</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/";>French</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 class="section">
+	<h3>Subscribe</h3>
+	<ul>
+		<li><a href="atom.xml">Atom 1.0</a></li>
+		<li><a href="rss20.xml">RSS 2.0</a></li>
+		<li><a href="rss10.xml">RSS 1.0</a></li>
+		<li><a href="foafroll.xml">FOAF</a></li>
+		<li><a href="opml.xml">OPML</a></li>
+	</ul>
+	</div>
+
+	<div class="section">
+	<h3>Feeds</h3>
+	<ul>
+	<TMPL_LOOP Channels>
+	<li><a href="<TMPL_VAR url ESCAPE="HTML">" title="subscribe"><img src="http://planet.gnome.org/img/feed-icon-10x10.png"; alt="(feed)"></a> <a <TMPL_IF link>href="<TMPL_VAR link ESCAPE="HTML">" </TMPL_IF><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></li>
+	</TMPL_LOOP>
+	</ul>
+	</div>
+
+	<div class="section">
+	<h3>Colophon</h3>
+	<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). Beautiful template design by <a href="http://www.actsofvolition.com/";>Steven Garrity</a>, concept by <a href="http://www.gnome.org/~seth/";>Seth Nickell</a> and <a href="http://www.isity.net/";>Diana Fong</a>.</p>
+	<p>Planet GNOME is edited by <a href="mailto:jdub gnome org?Subject=planet gnome org">Jeff Waugh</a>. Please mail him if you have a question or would like your blog added to the feed.</p>
+	</div>
+</div>
+
+
+<div id="copyright">
+Copyright &copy; 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>

Added: trunk/themes/gnome/sidebar.html.tmpl
==============================================================================
--- (empty file)
+++ trunk/themes/gnome/sidebar.html.tmpl	Sun Mar  2 02:42:40 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/simple.html.tmpl
==============================================================================
--- (empty file)
+++ trunk/themes/gnome/simple.html.tmpl	Sun Mar  2 02:42:40 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_gsoc2007>
+		<p><a href="http://www.gnome.org/projects/soc/"; title="Google Summer of Code 2007"><img src="http://planet.gnome.org/heads/logos/gsoc2007.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 &copy; 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>

Modified: trunk/update-planet
==============================================================================
--- trunk/update-planet	(original)
+++ trunk/update-planet	Sun Mar  2 02:42:40 2008
@@ -1,6 +1,7 @@
 #!/bin/sh
 #PLANET=/usr/local/bin/planet/planet.py
-PLANET=/home/users/jdub/public_html/bzr/planet/devel/trunk/planet.py
+#PLANET=/home/users/jdub/public_html/bzr/planet/devel/trunk/planet.py
+PLANET=/home/users/jdub/bin/venus/planet.py
 
 if [ "$(basename `pwd`)" != "planet-web" ]; then
 	echo "YOU MUST RUN THIS IN planet-web!"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]