Parent Directory
|
Revision Log
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Revision: |
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
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
bump (some) copyright years
add date to the description of RSS items (same syntax as the summary in the per-package PTS page)
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.
| ViewVC Help | |
| Powered by ViewVC 1.1.5 |