Преглед на файлове

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 Целия файл

Before After
Width: 187  |  Height: 85  |  Size: 3.7KB Width: 88  |  Height: 31  |  Size: 1.8KB

Двоични данни
news/fsfe-news.png Целия файл

Before After
Width: 158  |  Height: 85  |  Size: 3.7KB Width: 88  |  Height: 31  |  Size: 1.9KB

+ 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…
Отказ
Запис