/[qa]/trunk/pts/www/xsl/news2rss.xsl
ViewVC logotype

Log of /trunk/pts/www/xsl/news2rss.xsl

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 2521 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 1 23:06:17 2011 UTC (2 years, 1 month ago) by hertzog
File length: 2730 byte(s)
Diff to previous 1935
Add pubDate to package RSS feeds

This patch adds a pubDate element to item elements in the RSS
feeds for package's news and fixes deprecation warnings.
 
 * update_news.py:
   - use subprocess.Popen instead of deprecated os.popen3 for mhonarc
     invocation
   - use the xml.dom.minidom implementation included in Python since 2.0
   - add timestamp_to_rfc822date(timestamp) to convert the timestamp format of
     news filenames to RFC 822 timestamps
   - generate a new attribute rfc822date in news.xml item elements

 * news2rss.xsl: add transformation from rfc822date attribute in news.xml to
   pubDate element in RSS

Author: Jan Dittberner <jandd@debian.org>
Closes: #621790


Revision 1935 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 8 18:16:34 2008 UTC (4 years, 10 months ago) by zack
File length: 2665 byte(s)
Diff to previous 1814
Make the RSS valid against W3C feed validator (Closes: #461206).
Needed changes:
- escape <a href="">...</a> elements inside <description>..</description>
- turn relative links to monharc archived news into absolute links

Revision 1814 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 17 12:29:11 2008 UTC (5 years, 5 months ago) by zack
File length: 2458 byte(s)
Diff to previous 1754
bump (some) copyright years

Revision 1754 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 30 17:14:23 2007 UTC (5 years, 6 months ago) by zack
File length: 2435 byte(s)
Diff to previous 1743
add date to the description of RSS items (same syntax as the summary in the per-package PTS page)

Revision 1743 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu Nov 29 19:03:25 2007 UTC (5 years, 6 months ago) by zack
File length: 2347 byte(s)
new stylesheet to generate RSS feeds for package latest news

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.5