r20485 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r20484‎ | r20485 | r20486 >
Date:14:10, 15 March 2007
Author:brion
Status:old
Tags:
Comment:
move to language subdir
Modified paths:
  • /trunk/tools/planet/config.ini (deleted) (history)
  • /trunk/tools/planet/en (added) (history)
  • /trunk/tools/planet/en/config.ini (added) (history)
  • /trunk/tools/planet/en/config.ini (added) (history)
  • /trunk/tools/planet/en/templates (added) (history)
  • /trunk/tools/planet/en/templates (added) (history)
  • /trunk/tools/planet/en/www (added) (history)
  • /trunk/tools/planet/en/www (added) (history)
  • /trunk/tools/planet/templates (deleted) (history)
  • /trunk/tools/planet/www (deleted) (history)

Diff [purge]

Index: trunk/tools/planet/config.ini
@@ -1,148 +0,0 @@
2 -# Planet configuration file
3 -
4 -# Every planet needs a [Planet] section
5 -[Planet]
6 -
7 -# Your planet's name
8 -name=Planet Wikimedia
9 -# Link to the main page
10 -link=default
11 -# Your name
12 -owner_name=Brion Vibber
13 -# Your e-mail address
14 -owner_email=brion@wikimedia.org
15 -
16 -# cache_directory: Where cached feeds are stored
17 -# new_feed_items: Number of items to take from new feeds
18 -# log_level: One of DEBUG, INFO, WARNING, ERROR or CRITICAL
19 -cache_directory = /usr/local/planet/wikimedia/cache
20 -new_feed_items = 2
21 -log_level = ERROR
22 -
23 -# template_files: Space-separated list of output template files
24 -template_files = /usr/local/planet/wikimedia/templates/index.html.tmpl /usr/local/planet/wikimedia/templates/atom.xml.tmpl /usr/local/planet/wikimedia/templates/rss20.xml.tmpl /usr/local/planet/wikimedia/templates/rss10.xml.tmpl /usr/local/planet/wikimedia/templates/opml.xml.tmpl /usr/local/planet/wikimedia/templates/foafroll.xml.tmpl
25 -
26 -# The following provide defaults for each template:
27 -# output_dir: Directory to place output files
28 -# items_per_page: How many items to put on each page
29 -# days_per_page: How many complete days of posts to put on each page
30 -# This is the absolute, hard limit (over the item limit)
31 -# date_format: strftime format for the default 'date' template variable
32 -# new_date_format: strftime format for the 'new_date' template variable
33 -# encoding: output encoding for the file, Python 2.3+ users can use the
34 -# special "xml" value to output ASCII with XML character references
35 -# locale: locale to use for (e.g.) strings in dates, default is taken from your
36 -# system
37 -output_dir = /usr/local/planet/wikimedia/www
38 -items_per_page = 60
39 -days_per_page = 0
40 -date_format = %B %d, %Y %I:%M %p
41 -new_date_format = %B %d, %Y
42 -encoding = utf-8
43 -# locale = C
44 -
45 -
46 -# To define a different value for a particular template you may create
47 -# a section with the same name as the template file's filename (as given
48 -# in template_files).
49 -#
50 -# [examples/rss10.xml.tmpl]
51 -# items_per_page = 30
52 -# encoding = xml
53 -
54 -
55 -# Any other section defines a feed to subscribe to. The section title
56 -# (in the []s) is the URI of the feed itself. A section can also be
57 -# have any of the following options:
58 -#
59 -# name: Name of the feed (defaults to the title found in the feed)
60 -#
61 -# Additionally any other option placed here will be available in
62 -# the template (prefixed with channel_ for the Items loop). You can
63 -# define defaults for these in a [DEFAULT] section, for example
64 -# Planet Debian uses the following to define faces:
65 -#
66 -# [DEFAULT]
67 -# facewidth = 64
68 -# faceheight = 64
69 -#
70 -# [http://www.blog.com/rss]
71 -# face = foo.png
72 -# faceheight = 32
73 -#
74 -# The facewidth of the defined blog defaults to 64.
75 -
76 -[http://leuksman.com/log/category/wiki/feed/]
77 -name=Brion Vibber
78 -
79 -[http://wikiangela.com/blog/category/wiki/feed]
80 -name=Angela Beesley
81 -
82 -[http://reddragdiva.vox.com/library/posts/atom.xml]
83 -name=David Gerard
84 -
85 -[http://intelligentdesigns.net/blog/?cat=9&feed=rss2]
86 -name=Erik Moeller
87 -
88 -[http://blog.valuewiki.com/tag/wiki/feed]
89 -name=Jonathan Stokes
90 -
91 -[http://nzmonarchist.blogspot.com/feeds/posts/default/-/wiki]
92 -name=Brian Anderton
93 -
94 -[http://original-research.blogspot.com/feeds/posts/default/-/wikipedia]
95 -name=Geoff Burling
96 -
97 -[http://scienceroll.com/tag/wikipedia/feed]
98 -name=Bertalan Meskó
99 -
100 -[http://blog.xinki.org.uk/category/wiki/feed]
101 -name=Gary Kirk
102 -
103 -[http://dammit.lt/stream/wikitech/feed]
104 -name=Domas Mituzas
105 -
106 -[http://arnomane.wordpress.com/tag/wiki-en/feed/]
107 -name=Daniel Arnold
108 -
109 -[http://ragesossscholar.blogspot.com/feeds/posts/default/-/Wikipedia]
110 -name=Sage Ross
111 -
112 -[http://wikip.blogspot.com/feeds/posts/default]
113 -name=Ben Yates
114 -
115 -[http://titoxd.blogspot.com/feeds/posts/default/-/wiki]
116 -name=User:Titoxd
117 -
118 -[http://wikinewsreports.blogspot.com/feeds/posts/default]
119 -name=Wikinews Reports
120 -
121 -[http://thoughtsfordeletion.blogspot.com/feeds/posts/default]
122 -name=Stephen Bain
123 -
124 -[http://www.scrubnugget.com/categories/wikipedia/feed/]
125 -name=User:Jredmond
126 -
127 -[http://www.wikipediasignpost.com/blog/feed/?cat=4]
128 -name=Wikipedia Signpost
129 -
130 -[http://bookcraft.blogspot.com/feeds/posts/default]
131 -name=Robert Horning
132 -
133 -[http://gpollard.wordpress.com/tag/wiki/feed]
134 -name=Gabriel Pollard
135 -
136 -[http://eng.i-iter.org/berto-wikiblog]
137 -name=Bèrto ëd Sèra
138 -
139 -[http://beta.blogger.com/feeds/12152702/posts/full/-/wiki]
140 -name=Sean Whitton
141 -
142 -[http://sleepyhead.org/?cat=16&feed=rss2]
143 -name=Judson Dunn (cohesion)
144 -
145 -[http://feeds.feedburner.com/enwikizine]
146 -name=Wikizine
147 -
148 -[http://reagle.org/joseph/blog/culture/wikipedia/?flav=rss]
149 -name=Joseph Reagle
Index: trunk/tools/planet/en/config.ini
@@ -0,0 +1,148 @@
 2+# Planet configuration file
 3+
 4+# Every planet needs a [Planet] section
 5+[Planet]
 6+
 7+# Your planet's name
 8+name=Planet Wikimedia
 9+# Link to the main page
 10+link=default
 11+# Your name
 12+owner_name=Brion Vibber
 13+# Your e-mail address
 14+owner_email=brion@wikimedia.org
 15+
 16+# cache_directory: Where cached feeds are stored
 17+# new_feed_items: Number of items to take from new feeds
 18+# log_level: One of DEBUG, INFO, WARNING, ERROR or CRITICAL
 19+cache_directory = /usr/local/planet/wikimedia/cache
 20+new_feed_items = 2
 21+log_level = ERROR
 22+
 23+# template_files: Space-separated list of output template files
 24+template_files = /usr/local/planet/wikimedia/templates/index.html.tmpl /usr/local/planet/wikimedia/templates/atom.xml.tmpl /usr/local/planet/wikimedia/templates/rss20.xml.tmpl /usr/local/planet/wikimedia/templates/rss10.xml.tmpl /usr/local/planet/wikimedia/templates/opml.xml.tmpl /usr/local/planet/wikimedia/templates/foafroll.xml.tmpl
 25+
 26+# The following provide defaults for each template:
 27+# output_dir: Directory to place output files
 28+# items_per_page: How many items to put on each page
 29+# days_per_page: How many complete days of posts to put on each page
 30+# This is the absolute, hard limit (over the item limit)
 31+# date_format: strftime format for the default 'date' template variable
 32+# new_date_format: strftime format for the 'new_date' template variable
 33+# encoding: output encoding for the file, Python 2.3+ users can use the
 34+# special "xml" value to output ASCII with XML character references
 35+# locale: locale to use for (e.g.) strings in dates, default is taken from your
 36+# system
 37+output_dir = /usr/local/planet/wikimedia/www
 38+items_per_page = 60
 39+days_per_page = 0
 40+date_format = %B %d, %Y %I:%M %p
 41+new_date_format = %B %d, %Y
 42+encoding = utf-8
 43+# locale = C
 44+
 45+
 46+# To define a different value for a particular template you may create
 47+# a section with the same name as the template file's filename (as given
 48+# in template_files).
 49+#
 50+# [examples/rss10.xml.tmpl]
 51+# items_per_page = 30
 52+# encoding = xml
 53+
 54+
 55+# Any other section defines a feed to subscribe to. The section title
 56+# (in the []s) is the URI of the feed itself. A section can also be
 57+# have any of the following options:
 58+#
 59+# name: Name of the feed (defaults to the title found in the feed)
 60+#
 61+# Additionally any other option placed here will be available in
 62+# the template (prefixed with channel_ for the Items loop). You can
 63+# define defaults for these in a [DEFAULT] section, for example
 64+# Planet Debian uses the following to define faces:
 65+#
 66+# [DEFAULT]
 67+# facewidth = 64
 68+# faceheight = 64
 69+#
 70+# [http://www.blog.com/rss]
 71+# face = foo.png
 72+# faceheight = 32
 73+#
 74+# The facewidth of the defined blog defaults to 64.
 75+
 76+[http://leuksman.com/log/category/wiki/feed/]
 77+name=Brion Vibber
 78+
 79+[http://wikiangela.com/blog/category/wiki/feed]
 80+name=Angela Beesley
 81+
 82+[http://reddragdiva.vox.com/library/posts/atom.xml]
 83+name=David Gerard
 84+
 85+[http://intelligentdesigns.net/blog/?cat=9&feed=rss2]
 86+name=Erik Moeller
 87+
 88+[http://blog.valuewiki.com/tag/wiki/feed]
 89+name=Jonathan Stokes
 90+
 91+[http://nzmonarchist.blogspot.com/feeds/posts/default/-/wiki]
 92+name=Brian Anderton
 93+
 94+[http://original-research.blogspot.com/feeds/posts/default/-/wikipedia]
 95+name=Geoff Burling
 96+
 97+[http://scienceroll.com/tag/wikipedia/feed]
 98+name=Bertalan Meskó
 99+
 100+[http://blog.xinki.org.uk/category/wiki/feed]
 101+name=Gary Kirk
 102+
 103+[http://dammit.lt/stream/wikitech/feed]
 104+name=Domas Mituzas
 105+
 106+[http://arnomane.wordpress.com/tag/wiki-en/feed/]
 107+name=Daniel Arnold
 108+
 109+[http://ragesossscholar.blogspot.com/feeds/posts/default/-/Wikipedia]
 110+name=Sage Ross
 111+
 112+[http://wikip.blogspot.com/feeds/posts/default]
 113+name=Ben Yates
 114+
 115+[http://titoxd.blogspot.com/feeds/posts/default/-/wiki]
 116+name=User:Titoxd
 117+
 118+[http://wikinewsreports.blogspot.com/feeds/posts/default]
 119+name=Wikinews Reports
 120+
 121+[http://thoughtsfordeletion.blogspot.com/feeds/posts/default]
 122+name=Stephen Bain
 123+
 124+[http://www.scrubnugget.com/categories/wikipedia/feed/]
 125+name=User:Jredmond
 126+
 127+[http://www.wikipediasignpost.com/blog/feed/?cat=4]
 128+name=Wikipedia Signpost
 129+
 130+[http://bookcraft.blogspot.com/feeds/posts/default]
 131+name=Robert Horning
 132+
 133+[http://gpollard.wordpress.com/tag/wiki/feed]
 134+name=Gabriel Pollard
 135+
 136+[http://eng.i-iter.org/berto-wikiblog]
 137+name=Bèrto ëd Sèra
 138+
 139+[http://beta.blogger.com/feeds/12152702/posts/full/-/wiki]
 140+name=Sean Whitton
 141+
 142+[http://sleepyhead.org/?cat=16&feed=rss2]
 143+name=Judson Dunn (cohesion)
 144+
 145+[http://feeds.feedburner.com/enwikizine]
 146+name=Wikizine
 147+
 148+[http://reagle.org/joseph/blog/culture/wikipedia/?flav=rss]
 149+name=Joseph Reagle
Index: trunk/tools/planet/en/www/images/feed-icon-10x10.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/tools/planet/en/www/images/feed-icon-10x10.png
___________________________________________________________________
Name: svn:mime-type
1150 + application/octet-stream
Index: trunk/tools/planet/en/www/images/logo.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/tools/planet/en/www/images/logo.png
___________________________________________________________________
Name: svn:mime-type
2151 + application/octet-stream
Index: trunk/tools/planet/en/www/images/planet.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/tools/planet/en/www/images/planet.png
___________________________________________________________________
Name: svn:mime-type
3152 + application/octet-stream
Index: trunk/tools/planet/en/www/planet.css
@@ -0,0 +1,96 @@
 2+body {
 3+ color: black;
 4+ background: #f0f0f0;
 5+ font-family: sans-serif;
 6+ font-size: smaller;
 7+}
 8+
 9+a img {
 10+ border: 0;
 11+}
 12+.sidebar ul {
 13+ list-style: none;
 14+ padding-left: 16px;
 15+ margin-left: 0;
 16+}
 17+
 18+h1, h2, h3 {
 19+ color: #404040;
 20+ border-bottom: solid 1px #c0c0c0;
 21+}
 22+
 23+/* Dates */
 24+h2 {
 25+ font-weight: normal;
 26+}
 27+
 28+/* Channel/blogs */
 29+h3 {
 30+ font-size: 133%;
 31+ font-weight: normal;
 32+}
 33+h3 a, h4 a {
 34+ color: black;
 35+}
 36+
 37+/* Posts */
 38+h4 {
 39+ font-size: 125%;
 40+}
 41+
 42+/* Within entry */
 43+.channelgroup {
 44+ border: solid 1px #a0a0a0;
 45+ background: white;
 46+ padding: 0px 16px 8px 16px;
 47+ margin: 8px;
 48+}
 49+.date {
 50+ text-align: right;
 51+}
 52+.date:before {
 53+ content: "[";
 54+}
 55+.date:after {
 56+ content: "]";
 57+}
 58+
 59+/* Broad layout */
 60+
 61+.sidebar {
 62+ position: absolute;
 63+ left: 0;
 64+ top: 0;
 65+ width: 180px;
 66+ padding: 8px;
 67+}
 68+
 69+h1, .daygroup {
 70+ margin-left: 200px;
 71+}
 72+
 73+/* Copied from monobook */
 74+a {
 75+ text-decoration: none;
 76+ color: #002bb8;
 77+ background: none;
 78+}
 79+a:visited {
 80+ color: #5a3696;
 81+}
 82+a:active {
 83+ color: #faa700;
 84+}
 85+a:hover {
 86+ text-decoration: underline;
 87+}
 88+a.stub {
 89+ color: #772233;
 90+}
 91+a.new, #p-personal a.new {
 92+ color: #ba0000;
 93+}
 94+a.new:visited, #p-personal a.new:visited {
 95+ color: #a55858;
 96+}
 97+
Index: trunk/tools/planet/en/templates/opml.xml.tmpl
@@ -0,0 +1,15 @@
 2+<?xml version="1.0"?>
 3+<opml version="1.1">
 4+ <head>
 5+ <title><TMPL_VAR name ESCAPE="HTML"></title>
 6+ <dateModified><TMPL_VAR date_822></dateModified>
 7+ <ownerName><TMPL_VAR owner_name></ownerName>
 8+ <ownerEmail><TMPL_VAR owner_email></ownerEmail>
 9+ </head>
 10+
 11+ <body>
 12+ <TMPL_LOOP Channels>
 13+ <outline type="rss" text="<TMPL_VAR name ESCAPE="HTML">" xmlUrl="<TMPL_VAR url ESCAPE="HTML">" title="<TMPL_IF title><TMPL_VAR title ESCAPE="HTML"></TMPL_IF><TMPL_UNLESS title><TMPL_VAR name ESCAPE="HTML"></TMPL_UNLESS>"<TMPL_IF channel_link> htmlUrl="<TMPL_VAR channel_link ESCAPE="HTML">"</TMPL_IF> />
 14+ </TMPL_LOOP>
 15+ </body>
 16+</opml>
Index: trunk/tools/planet/en/templates/rss10.xml.tmpl
@@ -0,0 +1,37 @@
 2+<?xml version="1.0"?>
 3+<rdf:RDF
 4+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 5+ xmlns:dc="http://purl.org/dc/elements/1.1/"
 6+ xmlns:foaf="http://xmlns.com/foaf/0.1/"
 7+ xmlns:content="http://purl.org/rss/1.0/modules/content/"
 8+ xmlns="http://purl.org/rss/1.0/"
 9+>
 10+<channel rdf:about="<TMPL_VAR link ESCAPE="HTML">">
 11+ <title><TMPL_VAR name ESCAPE="HTML"></title>
 12+ <link><TMPL_VAR link ESCAPE="HTML"></link>
 13+ <description><TMPL_VAR name ESCAPE="HTML"> - <TMPL_VAR link ESCAPE="HTML"></description>
 14+
 15+ <items>
 16+ <rdf:Seq>
 17+<TMPL_LOOP Items>
 18+ <rdf:li rdf:resource="<TMPL_VAR id ESCAPE="HTML">" />
 19+</TMPL_LOOP>
 20+ </rdf:Seq>
 21+ </items>
 22+</channel>
 23+
 24+<TMPL_LOOP Items>
 25+<item rdf:about="<TMPL_VAR id ESCAPE="HTML">">
 26+ <title><TMPL_VAR channel_name ESCAPE="HTML"><TMPL_IF title>: <TMPL_VAR title_plain ESCAPE="HTML"></TMPL_IF></title>
 27+ <link><TMPL_VAR link ESCAPE="HTML"></link>
 28+ <TMPL_IF content>
 29+ <content:encoded><TMPL_VAR content ESCAPE="HTML"></content:encoded>
 30+ </TMPL_IF>
 31+ <dc:date><TMPL_VAR date_iso></dc:date>
 32+ <TMPL_IF author_name>
 33+ <dc:creator><TMPL_VAR author_name></dc:creator>
 34+ </TMPL_IF>
 35+</item>
 36+</TMPL_LOOP>
 37+
 38+</rdf:RDF>
Index: trunk/tools/planet/en/templates/rss20.xml.tmpl
@@ -0,0 +1,30 @@
 2+<?xml version="1.0"?>
 3+<rss version="2.0">
 4+
 5+<channel>
 6+ <title><TMPL_VAR name></title>
 7+ <link><TMPL_VAR link ESCAPE="HTML"></link>
 8+ <language>en</language>
 9+ <description><TMPL_VAR name ESCAPE="HTML"> - <TMPL_VAR link ESCAPE="HTML"></description>
 10+
 11+<TMPL_LOOP Items>
 12+<item>
 13+ <title><TMPL_VAR channel_name ESCAPE="HTML"><TMPL_IF title>: <TMPL_VAR title_plain ESCAPE="HTML"></TMPL_IF></title>
 14+ <guid><TMPL_VAR id ESCAPE="HTML"></guid>
 15+ <link><TMPL_VAR link ESCAPE="HTML"></link>
 16+ <TMPL_IF content>
 17+ <description><TMPL_VAR content ESCAPE="HTML"></description>
 18+ </TMPL_IF>
 19+ <pubDate><TMPL_VAR date_822></pubDate>
 20+ <TMPL_IF author_email>
 21+ <TMPL_IF author_name>
 22+ <author><TMPL_VAR author_email> (<TMPL_VAR author_name>)</author>
 23+ <TMPL_ELSE>
 24+ <author><TMPL_VAR author_email></author>
 25+ </TMPL_IF>
 26+ </TMPL_IF>
 27+</item>
 28+</TMPL_LOOP>
 29+
 30+</channel>
 31+</rss>
Index: trunk/tools/planet/en/templates/index.html.tmpl
@@ -0,0 +1,145 @@
 2+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 3+<html>
 4+
 5+### Fancy Planet HTML template.
 6+###
 7+### When combined with the stylesheet and images in the output/ directory
 8+### of the Planet source, this gives you a much prettier result than the
 9+### default examples template and demonstrates how to use the config file
 10+### to support things like faces
 11+###
 12+### For documentation on the more boring template elements, see
 13+### examples/config.ini and examples/index.html.tmpl in the Planet source.
 14+
 15+<head>
 16+<title><TMPL_VAR name></title>
 17+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 18+<meta name="generator" content="<TMPL_VAR generator ESCAPE="HTML">">
 19+<link rel="stylesheet" href="planet.css" type="text/css">
 20+<TMPL_IF feedtype>
 21+<link rel="alternate" href="<TMPL_VAR feed ESCAPE="HTML">" title="<TMPL_VAR channel_title_plain ESCAPE="HTML">" type="application/<TMPL_VAR feedtype>+xml">
 22+</TMPL_IF>
 23+</head>
 24+
 25+<body>
 26+<h1><TMPL_VAR name></h1>
 27+
 28+<TMPL_LOOP Items>
 29+<TMPL_IF new_date>
 30+<TMPL_UNLESS __FIRST__>
 31+### End <div class="channelgroup">
 32+</div>
 33+### End <div class="daygroup">
 34+</div>
 35+</TMPL_UNLESS>
 36+<div class="daygroup">
 37+<h2><TMPL_VAR new_date></h2>
 38+</TMPL_IF>
 39+
 40+<TMPL_IF new_channel>
 41+<TMPL_UNLESS new_date>
 42+### End <div class="channelgroup">
 43+</div>
 44+</TMPL_UNLESS>
 45+<div class="channelgroup">
 46+
 47+### Planet provides template variables for *all* configuration options for
 48+### the channel (and defaults), even if it doesn't know about them. We
 49+### exploit this here to add hackergotchi faces to our channels. Planet
 50+### doesn't know about the "face", "facewidth" and "faceheight" configuration
 51+### variables, but makes them available to us anyway.
 52+
 53+<h3><a href="<TMPL_VAR channel_link ESCAPE="HTML">" title="<TMPL_VAR channel_title_plain ESCAPE="HTML">"><TMPL_VAR channel_name></a></h3>
 54+<TMPL_IF channel_face>
 55+<img class="face" src="images/<TMPL_VAR channel_face ESCAPE="HTML">" width="<TMPL_VAR channel_facewidth ESCAPE="HTML">" height="<TMPL_VAR channel_faceheight ESCAPE="HTML">" alt="">
 56+</TMPL_IF>
 57+</TMPL_IF>
 58+
 59+
 60+<div class="entrygroup" id="<TMPL_VAR id>"<TMPL_IF channel_language> lang="<TMPL_VAR channel_language>"</TMPL_IF>>
 61+<TMPL_IF title>
 62+<h4<TMPL_IF title_language> lang="<TMPL_VAR title_language>"</TMPL_IF>><a href="<TMPL_VAR link ESCAPE="HTML">"><TMPL_VAR title></a></h4>
 63+</TMPL_IF>
 64+<div class="entry">
 65+<div class="content"<TMPL_IF content_language> lang="<TMPL_VAR content_language>"</TMPL_IF>>
 66+<TMPL_VAR content>
 67+</div>
 68+
 69+### Planet also makes available all of the information from the feed
 70+### that it can. Use the 'planet-cache' tool on the cache file for
 71+### a particular feed to find out what additional keys it supports.
 72+### Comment extra fields are 'author' and 'category' which we
 73+### demonstrate below.
 74+
 75+<p class="date">
 76+<a href="<TMPL_VAR link ESCAPE="HTML">"><TMPL_IF author>by <TMPL_VAR author> at </TMPL_IF><TMPL_VAR date><TMPL_IF category> under <TMPL_VAR category></TMPL_IF></a>
 77+</p>
 78+</div>
 79+</div>
 80+
 81+<TMPL_IF __LAST__>
 82+### End <div class="channelgroup">
 83+</div>
 84+### End <div class="daygroup">
 85+</div>
 86+</TMPL_IF>
 87+</TMPL_LOOP>
 88+
 89+
 90+<div class="sidebar">
 91+<img src="images/logo.png" width="136" height="136" alt="">
 92+<h2>Subscribe</h2>
 93+<ul><li>
 94+<a href="https://www.mediawiki.org/atom.xml">atom feed</A></li>
 95+<li><a href="https://www.mediawiki.org/rss10.xml">rss 1.0</A></li>
 96+<li><a href="https://www.mediawiki.org/rss20.xml">rss 2.0</a></li>
 97+</ul>
 98+
 99+<h2>About</h2>
 100+
 101+<I>Planet Wikimedia is a combined view on what Wikimedia project participants have to say in their blogs about wikis. <a href="http://meta.wikimedia.org/wiki/Planet_Wikimedia">More information ..</A>
 102+</I>
 103+
 104+<h2>Subscriptions</h2>
 105+<ul>
 106+<TMPL_LOOP Channels>
 107+<li>
 108+<a href="<TMPL_VAR url ESCAPE="HTML">" title="subscribe"><img src="images/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>
 109+</li>
 110+</TMPL_LOOP>
 111+</ul>
 112+<P>
 113+<strong><a href="http://meta.wikimedia.org/wiki/Planet_Wikimedia">Add your blog</A> &ndash; <a href="http://meta.wikimedia.org/wiki/Planet_Wikimedia/New_language">Request new language</A></strong>
 114+</P>
 115+<p>
 116+<strong>Last updated:</strong><br>
 117+<TMPL_VAR date><br>
 118+<em>All times are UTC.</em><br>
 119+<br>
 120+Powered by:<br>
 121+<a href="http://www.planetplanet.org/"><img src="images/planet.png" width="80" height="15" alt="Planet" border="0"></a>
 122+</p>
 123+<P>
 124+<H2>Disclaimer</H2>
 125+Planet Wikimedia is operated by the non-profit <a href="http://wikimediafoundation.org/">Wikimedia Foundation</A> for the purpose of facilitating the sharing of
 126+information and opinions among members of the Wikimedia community. Where not otherwise stated, any and all posts reflect only the personal opinion
 127+of the authors. The aggregation of posts from weblogs is a computer-controlled process, and the Wikimedia Foundation cannot be held liable for any material
 128+submitted by participants in this online community.
 129+</P>
 130+<p>
 131+<h2>Planetarium:</h2>
 132+<ul>
 133+<li><a href="http://wikiblogplanet.com/">Wiki Blog Planet</a></li>
 134+<li><a href="http://www.planetapache.org/">Planet Apache</a></li>
 135+<li><a href="http://planet.debian.net/">Planet Debian</a></li>
 136+<li><a href="http://planet.freedesktop.org/">Planet freedesktop.org</a></li>
 137+<li><a href="http://planet.gnome.org/">Planet GNOME</a></li>
 138+<li><a href="http://planetsun.org/">Planet Sun</a></li>
 139+<li><a href="http://fedora.linux.duke.edu/fedorapeople/">Fedora People</a></li>
 140+<li><a href="http://www.planetplanet.org/">more...</a></li>
 141+</ul>
 142+</p>
 143+</div>
 144+</body>
 145+
 146+</html>
Index: trunk/tools/planet/en/templates/atom.xml.tmpl
@@ -0,0 +1,61 @@
 2+<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
 3+<feed xmlns="http://www.w3.org/2005/Atom">
 4+
 5+ <title><TMPL_VAR name></title>
 6+ <link rel="self" href="<TMPL_VAR feed ESCAPE="HTML">"/>
 7+ <link href="<TMPL_VAR link ESCAPE="HTML">"/>
 8+ <id><TMPL_VAR feed ESCAPE="HTML"></id>
 9+ <updated><TMPL_VAR date_iso></updated>
 10+ <generator uri="http://www.planetplanet.org/"><TMPL_VAR generator ESCAPE="HTML"></generator>
 11+
 12+<TMPL_LOOP Items>
 13+ <entry<TMPL_IF channel_language> xml:lang="<TMPL_VAR channel_language>"</TMPL_IF>>
 14+ <title type="html"<TMPL_IF title_language> xml:lang="<TMPL_VAR title_language>"</TMPL_IF>><TMPL_VAR title ESCAPE="HTML"></title>
 15+ <link href="<TMPL_VAR link ESCAPE="HTML">"/>
 16+ <id><TMPL_VAR id ESCAPE="HTML"></id>
 17+ <updated><TMPL_VAR date_iso></updated>
 18+ <content type="html"<TMPL_IF content_language> xml:lang="<TMPL_VAR content_language>"</TMPL_IF>><TMPL_VAR content ESCAPE="HTML"></content>
 19+ <author>
 20+<TMPL_IF author_name>
 21+ <name><TMPL_VAR author_name ESCAPE="HTML"></name>
 22+<TMPL_IF author_email>
 23+ <email><TMPL_VAR author_email ESCAPE="HTML"></email>
 24+</TMPL_IF author_email>
 25+<TMPL_ELSE>
 26+<TMPL_IF channel_author_name>
 27+ <name><TMPL_VAR channel_author_name ESCAPE="HTML"></name>
 28+<TMPL_IF channel_author_email>
 29+ <email><TMPL_VAR channel_author_email ESCAPE="HTML"></email>
 30+</TMPL_IF channel_author_email>
 31+<TMPL_ELSE>
 32+ <name><TMPL_VAR channel_name ESCAPE="HTML"></name>
 33+</TMPL_IF>
 34+</TMPL_IF>
 35+ <uri><TMPL_VAR channel_link ESCAPE="HTML"></uri>
 36+ </author>
 37+ <source>
 38+<TMPL_IF channel_title>
 39+ <title type="html"><TMPL_VAR channel_title ESCAPE="HTML"></title>
 40+<TMPL_ELSE>
 41+ <title type="html"><TMPL_VAR channel_name ESCAPE="HTML"></title>
 42+</TMPL_IF>
 43+<TMPL_IF channel_subtitle>
 44+ <subtitle type="html"><TMPL_VAR channel_subtitle ESCAPE="HTML"></subtitle>
 45+</TMPL_IF>
 46+ <link rel="self" href="<TMPL_VAR channel_url ESCAPE="HTML">"/>
 47+<TMPL_IF channel_id>
 48+ <id><TMPL_VAR channel_id ESCAPE="HTML"></id>
 49+<TMPL_ELSE>
 50+ <id><TMPL_VAR channel_url ESCAPE="HTML"></id>
 51+</TMPL_IF>
 52+<TMPL_IF channel_updated_iso>
 53+ <updated><TMPL_VAR channel_updated_iso></updated>
 54+</TMPL_IF>
 55+<TMPL_IF channel_rights>
 56+ <rights type="html"><TMPL_VAR channel_rights ESCAPE="HTML"></rights>
 57+</TMPL_IF>
 58+ </source>
 59+ </entry>
 60+
 61+</TMPL_LOOP>
 62+</feed>
Index: trunk/tools/planet/en/templates/foafroll.xml.tmpl
@@ -0,0 +1,31 @@
 2+<?xml version="1.0"?>
 3+<rdf:RDF
 4+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 5+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
 6+ xmlns:foaf="http://xmlns.com/foaf/0.1/"
 7+ xmlns:rss="http://purl.org/rss/1.0/"
 8+ xmlns:dc="http://purl.org/dc/elements/1.1/"
 9+>
 10+<foaf:Group>
 11+ <foaf:name><TMPL_VAR name ESCAPE="HTML"></foaf:name>
 12+ <foaf:homepage><TMPL_VAR link ESCAPE="HTML"></foaf:homepage>
 13+ <rdfs:seeAlso rdf:resource="<TMPL_VAR url ESCAPE="HTML">" />
 14+
 15+<TMPL_LOOP Channels>
 16+ <foaf:member>
 17+ <foaf:Agent>
 18+ <foaf:name><TMPL_VAR name ESCAPE="HTML"></foaf:name>
 19+ <foaf:weblog>
 20+ <foaf:Document rdf:about="<TMPL_VAR link ESCAPE="HTML">">
 21+ <dc:title><TMPL_VAR title_plain ESCAPE="HTML"></dc:title>
 22+ <rdfs:seeAlso>
 23+ <rss:channel rdf:about="<TMPL_VAR url ESCAPE="HTML">" />
 24+ </rdfs:seeAlso>
 25+ </foaf:Document>
 26+ </foaf:weblog>
 27+ </foaf:Agent>
 28+ </foaf:member>
 29+</TMPL_LOOP>
 30+
 31+</foaf:Group>
 32+</rdf:RDF>

Follow-up revisions

RevisionCommit summaryAuthorDate
r55781Solves r20485 by explicitly listing javascript files to be combined since ord...tparscal18:06, 3 September 2009

Status & tagging log