瀏覽代碼

Changed RSS generation to be as standards conformant as possible.

svn path=/trunk/; revision=11229
tags/stw2018
Reinhard Müller 11 年之前
父節點
當前提交
75b1dea45d
共有 5 個檔案被更改,包括 12 行新增14 行删除
  1. 0
    2
      TODO
  2. 6
    6
      events/events.rss.xsl
  3. 二進制
      events/fsfe-events.png
  4. 二進制
      news/fsfe-news.png
  5. 6
    6
      news/news.rss.xsl

+ 0
- 2
TODO 查看文件

@@ -66,8 +66,6 @@ TODO items for www.fsfeurope.org web pages (unsorted):
* in internal/er.en.xhtml, allow for presetting of fields through URL, like
http://www.fsfeurope.org/internal/er?budget=GENERAL

* Fix the 'non-valid' RSS. See http://validator.w3.org/feed/ for details.

* Add id to RSS so caching readers replace old versions of a news entry or
event with the new version istead of just adding the new version. The id
should be the same for all languages, so changing from untranslated to

+ 6
- 6
events/events.rss.xsl 查看文件

@@ -67,19 +67,19 @@
<channel>
<title>FSFE Events</title>
<description>Free Software Events</description>
<link>http://www.fsfeurope.org/</link>
<link>http://www.fsfeurope.org/events/</link>
<language><xsl:value-of select="$lang" /></language>
<copyright>Copyright (c) FSF Europe. Verbatim copying and distribution
of this entire article is permitted in any medium, provided this
notice is preserved.</copyright>
<managingEditor>press@fsfeurope.org</managingEditor>
<webMaster>web@fsfeurope.org</webMaster>
<managingEditor>press@fsfeurope.org (FSFE Press Team)</managingEditor>
<webMaster>web@fsfeurope.org (FSFE Webmaster Team)</webMaster>
<image>
<url>http://fsfeurope.org/events/fsfe-events.png</url>
<title>FSFE Events</title>
<width>180</width>
<height>47</height>
<link>http://fsfeurope.org/events/</link>
<width>88</width>
<height>31</height>
<link>http://www.fsfeurope.org/events/</link>
</image>

<!-- News items -->

二進制
events/fsfe-events.png 查看文件


二進制
news/fsfe-news.png 查看文件


+ 6
- 6
news/news.rss.xsl 查看文件

@@ -67,19 +67,19 @@
<channel>
<title>FSFE News</title>
<description>News from the Free Software Foundation Europe</description>
<link>http://www.fsfeurope.org</link>
<link>http://www.fsfeurope.org/news/</link>
<language><xsl:value-of select="$lang" /></language>
<copyright>Copyright (c) FSF Europe. Verbatim copying and distribution
of this entire article is permitted in any medium, provided this
notice is preserved.</copyright>
<managingEditor>press@fsfeurope.org</managingEditor>
<webMaster>web@fsfeurope.org</webMaster>
<managingEditor>press@fsfeurope.org (FSFE Press Team)</managingEditor>
<webMaster>web@fsfeurope.org (FSFE Webmaster Team)</webMaster>
<image>
<url>http://fsfeurope.org/news/fsfe-news.png</url>
<title>FSFE News</title>
<width>180</width>
<height>47</height>
<link>http://fsfeurope.org/news/</link>
<width>88</width>
<height>31</height>
<link>http://www.fsfeurope.org/news/</link>
</image>

<!-- News items -->

Loading…
取消
儲存