Index: trunk/tools/planet/cs/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/cs/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> |
Index: trunk/tools/planet/cs/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/cs/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/cs/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/cs/templates/index.html.tmpl |
— | — | @@ -0,0 +1,176 @@ |
| 2 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
| 3 | +<html lang="cs" dir="ltr">
|
| 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 | +
|
| 17 | +<title><TMPL_VAR name></title>
|
| 18 | +
|
| 19 | +<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
| 20 | +<meta name="generator" content="<TMPL_VAR generator ESCAPE="HTML">">
|
| 21 | +
|
| 22 | +<link rel="stylesheet" href="planet.css" type="text/css" title="Výchozí styl">
|
| 23 | +
|
| 24 | +<TMPL_IF feedtype>
|
| 25 | +<link rel="alternate" href="<TMPL_VAR feed ESCAPE="HTML">" title="<TMPL_VAR channel_title_plain ESCAPE="HTML">" type="application/<TMPL_VAR feedtype>+xml">
|
| 26 | +</TMPL_IF>
|
| 27 | +
|
| 28 | +</head>
|
| 29 | +
|
| 30 | +<body>
|
| 31 | +
|
| 32 | +<h1><TMPL_VAR name></h1>
|
| 33 | +
|
| 34 | +<TMPL_LOOP Items>
|
| 35 | +<TMPL_IF new_date>
|
| 36 | +<TMPL_UNLESS __FIRST__>
|
| 37 | +### End <div class="channelgroup">
|
| 38 | +</div>
|
| 39 | +### End <div class="daygroup">
|
| 40 | +</div>
|
| 41 | +</TMPL_UNLESS>
|
| 42 | +<div class="daygroup">
|
| 43 | +<h2><TMPL_VAR new_date></h2>
|
| 44 | +</TMPL_IF>
|
| 45 | +
|
| 46 | +<TMPL_IF new_channel>
|
| 47 | +<TMPL_UNLESS new_date>
|
| 48 | +### End <div class="channelgroup">
|
| 49 | +</div>
|
| 50 | +</TMPL_UNLESS>
|
| 51 | +<div class="channelgroup">
|
| 52 | +
|
| 53 | +### Planet provides template variables for *all* configuration options for
|
| 54 | +### the channel (and defaults), even if it doesn't know about them. We
|
| 55 | +### exploit this here to add hackergotchi faces to our channels. Planet
|
| 56 | +### doesn't know about the "face", "facewidth" and "faceheight" configuration
|
| 57 | +### variables, but makes them available to us anyway.
|
| 58 | +
|
| 59 | +<h3><a href="<TMPL_VAR channel_link ESCAPE="HTML">" title="<TMPL_VAR channel_title_plain ESCAPE="HTML">"><TMPL_VAR channel_name></a></h3>
|
| 60 | +<TMPL_IF channel_face>
|
| 61 | +<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="">
|
| 62 | +</TMPL_IF>
|
| 63 | +</TMPL_IF>
|
| 64 | +
|
| 65 | +
|
| 66 | +<div class="entrygroup" id="<TMPL_VAR id>"<TMPL_IF channel_language> lang="<TMPL_VAR channel_language>"</TMPL_IF>>
|
| 67 | +<TMPL_IF title>
|
| 68 | +<h4<TMPL_IF title_language> lang="<TMPL_VAR title_language>"</TMPL_IF>><a href="<TMPL_VAR link ESCAPE="HTML">"><TMPL_VAR title></a></h4>
|
| 69 | +</TMPL_IF>
|
| 70 | +<div class="entry">
|
| 71 | +<div class="content"<TMPL_IF content_language> lang="<TMPL_VAR content_language>"</TMPL_IF>>
|
| 72 | +<TMPL_VAR content>
|
| 73 | +</div>
|
| 74 | +
|
| 75 | +### Planet also makes available all of the information from the feed
|
| 76 | +### that it can. Use the 'planet-cache' tool on the cache file for
|
| 77 | +### a particular feed to find out what additional keys it supports.
|
| 78 | +### Comment extra fields are 'author' and 'category' which we
|
| 79 | +### demonstrate below.
|
| 80 | +
|
| 81 | +<p class="date">
|
| 82 | +<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>
|
| 83 | +</p>
|
| 84 | +</div>
|
| 85 | +</div>
|
| 86 | +
|
| 87 | +<TMPL_IF __LAST__>
|
| 88 | +### End <div class="channelgroup">
|
| 89 | +</div>
|
| 90 | +### End <div class="daygroup">
|
| 91 | +</div>
|
| 92 | +</TMPL_IF>
|
| 93 | +</TMPL_LOOP>
|
| 94 | +
|
| 95 | +
|
| 96 | +<div class="sidebar">
|
| 97 | +
|
| 98 | +<img src="images/logo.png" width="136" height="136" alt="logo Planeta Wikimedia">
|
| 99 | +
|
| 100 | +<h2>Odběr</h2>
|
| 101 | +<ul>
|
| 102 | + <li><a href="https://www.mediawiki.org/atom.xml">Atom</a></li>
|
| 103 | + <li><a href="https://www.mediawiki.org/rss10.xml">RSS 1.0</a></li>
|
| 104 | + <li><a href="https://www.mediawiki.org/rss20.xml">RSS 2.0</a></li>
|
| 105 | +</ul>
|
| 106 | +
|
| 107 | +<h2>O Planetě Wikimedia</h2>
|
| 108 | +<p>
|
| 109 | +<i>Planeta Wikimedia je 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">Více informací… (anglicky)</a></i>
|
| 110 | +</p>
|
| 111 | +
|
| 112 | +<h2>Účastníci</h2>
|
| 113 | +<p>
|
| 114 | + <a href="https://www.mediawiki.org/foafroll.xml"><abbr title="Friend of a Friend">FOAF</abbr></a> •
|
| 115 | + <a href="https://www.mediawiki.org/opml.xml"><abbr titile="Outline Processor Markup Language">OPML</abbr></a>
|
| 116 | +</p>
|
| 117 | +<hr>
|
| 118 | +<ul>
|
| 119 | +<TMPL_LOOP Channels>
|
| 120 | + <li>
|
| 121 | + <a href="<TMPL_VAR url ESCAPE="HTML">" title="odebírat"><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>
|
| 122 | + </li>
|
| 123 | +</TMPL_LOOP>
|
| 124 | +</ul>
|
| 125 | +
|
| 126 | +<p>
|
| 127 | +<strong><a href="http://meta.wikimedia.org/wiki/Planet_Wikimedia/cs">Přidejte svůj blog</a></strong><br>
|
| 128 | +<a href="http://meta.wikimedia.org/wiki/Planet_Wikimedia/New_language">Požádejte o nový jazyk</a>
|
| 129 | +</p>
|
| 130 | +
|
| 131 | +<p>
|
| 132 | +Poslední aktualizace:<br>
|
| 133 | +<strong><TMPL_VAR date></strong><br>
|
| 134 | +<em>Všechny časy jsou v <a href="http://cs.wikipedia.org/wiki/Coordinated_Universal_Time"><abbr title="Coordinated Universal Time – koordinovaný světový čas">UTC</abbr></a>.</em>
|
| 135 | +</p>
|
| 136 | +
|
| 137 | +<p>
|
| 138 | +Běží na:<br>
|
| 139 | +<a href="http://www.planetplanet.org/"><img src="images/planet.png" width="80" height="15" alt="Planet" border="0"></a>
|
| 140 | +</p>
|
| 141 | +
|
| 142 | +<h2>Vyloučení odpovědnosti</h2>
|
| 143 | +<p>
|
| 144 | +Planeta Wikimedia je provozována neziskovou nadací <a href="http://wikimediafoundation.org/">Wikimedia Foundation</a> pro účely usnadnění sdílení informací a názorů mezi členy Wikimedia komunity. Agregace příspěvků z weblogů je počítačově řízený proces a Wikimedia Foundation není zodpovědná za žádný materiál dodaný účastníky této online komunity.
|
| 145 | +</p>
|
| 146 | +
|
| 147 | +<h2>V jiných jazycích:</h2>
|
| 148 | +<ul>
|
| 149 | + <li><a href="http://ar.planet.wikimedia.org" lang="ar" hreflang="ar">العربية</a></li>
|
| 150 | + <li><a href="http://de.planet.wikimedia.org" lang="de" hreflang="de">Deutsch</a></li>
|
| 151 | + <li><a href="http://en.planet.wikimedia.org" lang="en" hreflang="en">English</a></li>
|
| 152 | + <li><a href="http://fr.planet.wikimedia.org" lang="fr" hreflang="fr">Français</a></li>
|
| 153 | + <li><a href="http://pl.planet.wikimedia.org" lang="pl" hreflang="pl">Polski</a></li>
|
| 154 | + <li><a href="http://pt.planet.wikimedia.org" lang="pt" hreflang="pt">Português</a></li>
|
| 155 | + <li><a href="http://ru.planet.wikimedia.org" lang="ru" hreflang="ru">Руссский</a></li>
|
| 156 | + <li><a href="http://sr.planet.wikimedia.org" lang="sr" hreflang="sr">Српски / Srpski</a></li>
|
| 157 | + <li><a href="http://zh.planet.wikimedia.org" lang="zh" hreflang="zh">中文</a></li>
|
| 158 | +</ul>
|
| 159 | +
|
| 160 | +<h2>Planetárium:</h2>
|
| 161 | +<ul>
|
| 162 | + <li><a href="http://wikiblogplanet.com/">Wiki Blog Planet</a></li>
|
| 163 | + <li><a href="http://planet.laptop.org/">Planet OLPC</a></li>
|
| 164 | + <li><a href="http://planet.freedesktop.org/">Planet freedesktop.org</a></li>
|
| 165 | + <li><a href="http://planet.mozilla.org/">Planet Mozilla</a></li>
|
| 166 | + <li><a href="http://planet.inkscape.org/">Planet Inkscape</a></li>
|
| 167 | + <li><a href="http://planet.ubuntu.com/">Planet Ubuntu</a></li>
|
| 168 | + <li><a href="http://planet.debian.net/">Planet Debian</a></li>
|
| 169 | + <li><a href="http://planet.fedoraproject.org/">Planet Fedora</a></li>
|
| 170 | + <li><a href="http://intelligentdesigns.net/Planet_tracker">další…</a></li>
|
| 171 | +</ul>
|
| 172 | +
|
| 173 | +</div>
|
| 174 | +
|
| 175 | +</body>
|
| 176 | +
|
| 177 | +</html>
|
Index: trunk/tools/planet/cs/config.ini |
— | — | @@ -0,0 +1,83 @@ |
| 2 | +# Planet configuration file - cs.planet.wikimedia.org
|
| 3 | +
|
| 4 | +# Every planet needs a [Planet] section
|
| 5 | +[Planet]
|
| 6 | +
|
| 7 | +# Your planet's name
|
| 8 | +name=Planeta Wikimedia
|
| 9 | +# Link to the main page
|
| 10 | +link=http://cs.planet.wikimedia.org
|
| 11 | +# Your name
|
| 12 | +owner_name=Danny B.
|
| 13 | +# Your e-mail address
|
| 14 | +owner_email=Wikipedia.Danny.B@email.cz
|
| 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/cs/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/cs/templates/index.html.tmpl /usr/local/planet/wikimedia/cs/templates/atom.xml.tmpl /usr/local/planet/wikimedia/cs/templates/rss20.xml.tmpl /usr/local/planet/wikimedia/cs/templates/rss10.xml.tmpl /usr/local/planet/wikimedia/cs/templates/opml.xml.tmpl /usr/local/planet/wikimedia/cs/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/cs/www
|
| 38 | +items_per_page = 30
|
| 39 | +days_per_page = 0
|
| 40 | +date_format = %d. %B %Y, %H:%M
|
| 41 | +new_date_format = %d. %B %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 | +[DEFAULT]
|
| 77 | +facewidth = 64
|
| 78 | +faceheight = 64
|
| 79 | +
|
| 80 | +[http://blog.wikimedia.org/feed/]
|
| 81 | +name=Wikimedia Foundation (anglicky)
|
| 82 | +
|
| 83 | +[http://whygive.wikimedia.org/feed/]
|
| 84 | +name=Wikimedia Fundraising (anglicky)
|
Index: trunk/tools/planet/cs/www/favicon.ico |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/tools/planet/cs/www/favicon.ico |
___________________________________________________________________ |
Added: svn:mime-type |
1 | 85 | + application/octet-stream |
Index: trunk/tools/planet/cs/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/cs/www/images/feed-icon-10x10.png |
___________________________________________________________________ |
Added: svn:mime-type |
2 | 86 | + application/octet-stream |
Index: trunk/tools/planet/cs/www/images/logo.png |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/tools/planet/cs/www/images/logo.png |
___________________________________________________________________ |
Added: svn:mime-type |
3 | 87 | + application/octet-stream |
Index: trunk/tools/planet/cs/www/images/planet.png |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes on: trunk/tools/planet/cs/www/images/planet.png |
___________________________________________________________________ |
Added: svn:mime-type |
4 | 88 | + application/octet-stream |
Index: trunk/tools/planet/cs/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/ru/templates/index.html.tmpl |
— | — | @@ -1,4 +1,4 @@ |
2 | | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
| 2 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
3 | 3 | <html>
|
4 | 4 |
|
5 | 5 | ### Fancy Planet HTML template.
|
— | — | @@ -143,6 +143,7 @@ |
144 | 144 | <h2>На других языках:</h2>
|
145 | 145 | <ul>
|
146 | 146 | <li><a href="http://ar.planet.wikimedia.org">العربية</a></li>
|
| 147 | +<li><a href="http://cs.planet.wikimedia.org">Česky</a></li>
|
147 | 148 | <li><a href="http://de.planet.wikimedia.org">Deutsch</a></li>
|
148 | 149 | <li><a href="http://en.planet.wikimedia.org">English</a></li>
|
149 | 150 | <li><a href="http://fr.planet.wikimedia.org">Français</a></li>
|
Index: trunk/tools/planet/fr/templates/index.html.tmpl |
— | — | @@ -1,4 +1,4 @@ |
2 | | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
| 2 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
3 | 3 | <html>
|
4 | 4 |
|
5 | 5 | ### Fancy Planet HTML template.
|
— | — | @@ -143,6 +143,7 @@ |
144 | 144 | <h2>In other languages:</h2>
|
145 | 145 | <ul>
|
146 | 146 | <li><a href="http://ar.planet.wikimedia.org">العربية</a></li>
|
| 147 | +<li><a href="http://cs.planet.wikimedia.org">Česky</a></li>
|
147 | 148 | <li><a href="http://de.planet.wikimedia.org">Deutsch</a></li>
|
148 | 149 | <li><a href="http://en.planet.wikimedia.org">English</a></li>
|
149 | 150 | <li><a href="http://pl.planet.wikimedia.org">Polski</a></li>
|
Index: trunk/tools/planet/de/templates/index.html.tmpl |
— | — | @@ -1,4 +1,4 @@ |
2 | | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
| 2 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
3 | 3 | <html>
|
4 | 4 |
|
5 | 5 | ### Fancy Planet HTML template.
|
— | — | @@ -142,6 +142,7 @@ |
143 | 143 | <h2>Sprachen</h2>
|
144 | 144 | <ul>
|
145 | 145 | <li><a href="http://ar.planet.wikimedia.org">العربية</a></li>
|
| 146 | +<li><a href="http://cs.planet.wikimedia.org">Česky</a></li>
|
146 | 147 | <li><a href="http://en.planet.wikimedia.org">English</a></li>
|
147 | 148 | <li><a href="http://fr.planet.wikimedia.org">Français</a></li>
|
148 | 149 | <li><a href="http://pl.planet.wikimedia.org">Polski</a></li>
|
Index: trunk/tools/planet/pl/templates/index.html.tmpl |
— | — | @@ -1,4 +1,4 @@ |
2 | | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
| 2 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
3 | 3 | <html>
|
4 | 4 |
|
5 | 5 | ### Fancy Planet HTML template.
|
— | — | @@ -142,6 +142,7 @@ |
143 | 143 | <h2>W innych językach:</h2>
|
144 | 144 | <ul>
|
145 | 145 | <li><a href="http://ar.planet.wikimedia.org">العربية</a></li>
|
| 146 | +<li><a href="http://cs.planet.wikimedia.org">Česky</a></li>
|
146 | 147 | <li><a href="http://de.planet.wikimedia.org">Deutsch</a></li>
|
147 | 148 | <li><a href="http://en.planet.wikimedia.org">English</a></li>
|
148 | 149 | <li><a href="http://fr.planet.wikimedia.org">Français</a></li>
|
Index: trunk/tools/planet/zh/templates/index.html.tmpl |
— | — | @@ -1,4 +1,4 @@ |
2 | | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
| 2 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
3 | 3 | <html>
|
4 | 4 |
|
5 | 5 | ### Fancy Planet HTML template.
|
— | — | @@ -144,6 +144,7 @@ |
145 | 145 | <h2>其它语言 / 其它語言</h2>
|
146 | 146 | <ul>
|
147 | 147 | <li><a href="http://ar.planet.wikimedia.org">العربية</a></li>
|
| 148 | +<li><a href="http://cs.planet.wikimedia.org">Česky</a></li>
|
148 | 149 | <li><a href="http://de.planet.wikimedia.org">Deutsch</a></li>
|
149 | 150 | <li><a href="http://en.planet.wikimedia.org">English</a></li>
|
150 | 151 | <li><a href="http://fr.planet.wikimedia.org">Français</a></li>
|
Index: trunk/tools/planet/ar/templates/index.html.tmpl |
— | — | @@ -1,4 +1,4 @@ |
2 | | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
| 2 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
3 | 3 | <html lang="ar" dir="rtl">
|
4 | 4 |
|
5 | 5 | ### Fancy Planet HTML template.
|
— | — | @@ -139,6 +139,7 @@ |
140 | 140 | <p>
|
141 | 141 | <h2>:بلغات أخرى</h2>
|
142 | 142 | <ul>
|
| 143 | +<li><a href="http://cs.planet.wikimedia.org">Česky</a></li>
|
143 | 144 | <li><a href="http://de.planet.wikimedia.org">Deutsch</a></li>
|
144 | 145 | <li><a href="http://en.planet.wikimedia.org">English</a></li>
|
145 | 146 | <li><a href="http://fr.planet.wikimedia.org">Français</a></li>
|
Index: trunk/tools/planet/en/templates/index.html.tmpl |
— | — | @@ -1,4 +1,4 @@ |
2 | | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
| 2 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
3 | 3 | <html>
|
4 | 4 |
|
5 | 5 | ### Fancy Planet HTML template.
|
— | — | @@ -143,6 +143,7 @@ |
144 | 144 | <h2>In other languages:</h2>
|
145 | 145 | <ul>
|
146 | 146 | <li><a href="http://ar.planet.wikimedia.org">العربية</a></li>
|
| 147 | +<li><a href="http://cs.planet.wikimedia.org">Česky</a></li>
|
147 | 148 | <li><a href="http://de.planet.wikimedia.org">Deutsch</a></li>
|
148 | 149 | <li><a href="http://fr.planet.wikimedia.org">Français</a></li>
|
149 | 150 | <li><a href="http://pl.planet.wikimedia.org">Polski</a></li>
|
Index: trunk/tools/planet/pt/templates/index.html.tmpl |
— | — | @@ -141,6 +141,7 @@ |
142 | 142 | <h2>Em outras línguas:</h2> |
143 | 143 | <ul> |
144 | 144 | <li><a href="http://ar.planet.wikimedia.org">العربية (Árabe)</a></li> |
| 145 | +<li><a href="http://cs.planet.wikimedia.org">Česky</a></li> |
145 | 146 | <li><a href="http://de.planet.wikimedia.org">Deutsch (Alemão)</a></li> |
146 | 147 | <li><a href="http://en.planet.wikimedia.org">English (Inglês)</a></li> |
147 | 148 | <li><a href="http://fr.planet.wikimedia.org">Français (francês) </a></li> |
Index: trunk/tools/planet/sr/templates/index.html.tmpl |
— | — | @@ -1,4 +1,4 @@ |
2 | | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
| 2 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
3 | 3 | <html>
|
4 | 4 |
|
5 | 5 | ### Fancy Planet HTML template.
|
— | — | @@ -133,6 +133,7 @@ |
134 | 134 | <h2>Планета Викимедија на другим језицима:</h2>
|
135 | 135 | <ul>
|
136 | 136 | <li><a href="http://ar.planet.wikimedia.org">ﺎﻠﻋﺮﺒﻳﺓ (арапски)</a></li>
|
| 137 | +<li><a href="http://cs.planet.wikimedia.org">Česky</a></li>
|
137 | 138 | <li><a href="http://de.planet.wikimedia.org">Deutsch (немачки)</a></li>
|
138 | 139 | <li><a href="http://en.planet.wikimedia.org">English (енглески)</a></li>
|
139 | 140 | <li><a href="http://fr.planet.wikimedia.org">Français (француски)</a></li>
|