Debian Bug report logs - #583779
Please fix broken encoding for UTF8 News/weekly RSS feed

Package: www.debian.org; Maintainer for www.debian.org is Debian WWW Team <debian-www@lists.debian.org>;

Reported by: David Prévot <david@tilapin.org>

Date: Sat, 29 May 2010 12:39:01 UTC

Severity: wishlist

Tags: patch

Done: David Prévot <david@tilapin.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, press@debian.org, Debian WWW Team <debian-www@lists.debian.org>:
Bug#583670; Package www.debian.org. (Sat, 29 May 2010 12:39:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefano Zacchiroli <zack@debian.org>:
New Bug report received and forwarded. Copy sent to press@debian.org, Debian WWW Team <debian-www@lists.debian.org>. (Sat, 29 May 2010 12:39:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Stefano Zacchiroli <zack@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: please provide a RSS/Atom feed for news items on the homepage
Date: Sat, 29 May 2010 14:36:49 +0200
Package: www.debian.org
Severity: wishlist

Heya, it would be great to have a RSS and/or Atom feed for the news section of
the Debian homepage (and possibly a different one for the advisories listed
there too). I know it's stuff one can already follow via mailing list(s), but a
lot of people these days uses feeds directly, I think we can offer a service to
more users offering both.

Now, I've written before helpers that generate RSS, and I'm willing to
contribute one for this specific case. Nevertheless the README files under
News/ are a bit scary in stating that only press/webmasters should fiddle with
them, so I'm looking for advice. Where can a script that generates RSS/Atom
(and commits it?) can be hooked at in the process of maintaining the HTML
listing of news on the website homepage?

An alternative less invasive solution would be to have a separate script
elsewhere checking out periodically from CVS the News/ directory, generate the
RSS feed, and have it referenced from the homepage. That would work, wouldn't
be that much at stake with feed technology (which does pull anyhow), but
somehow doesn't feel "right".

Any hint?
Thanks for maintaining www.d.o!

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash




Bug 583670 cloned as bugs 583687, 583688. Request was from Alexander Reichle-Schmehl <tolimar@debian.org> to control@bugs.debian.org. (Sat, 29 May 2010 15:21:09 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian WWW Team <debian-www@lists.debian.org>:
Bug#583670; Package www.debian.org. (Sun, 30 May 2010 10:51:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alexander Reichle-Schmehl <tolimar@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian WWW Team <debian-www@lists.debian.org>. (Sun, 30 May 2010 10:51:08 GMT) Full text and rfc822 format available.

Message #12 received at 583670@bugs.debian.org (full text, mbox):

From: Alexander Reichle-Schmehl <tolimar@debian.org>
To: Stefano Zacchiroli <zack@debian.org>
Subject: Re: Bug#583670: please provide a RSS/Atom feed for news items on the homepage
Date: Sat, 29 May 2010 17:20:17 +0200
clone 583670 -1 -2
retitle -1 Please add RSS feed to the web pages headers
retitle -2 RSS feeds for the project news contain escaped html markup
thanks


Hi!

* Stefano Zacchiroli <zack@debian.org> [100529 14:36]:

> Now, I've written before helpers that generate RSS, and I'm willing to
> contribute one for this specific case. Nevertheless the README files under
> News/ are a bit scary in stating that only press/webmasters should fiddle with
> them, so I'm looking for advice. Where can a script that generates RSS/Atom
> (and commits it?) can be hooked at in the process of maintaining the HTML
> listing of news on the website homepage?
> 
> An alternative less invasive solution would be to have a separate script
> elsewhere checking out periodically from CVS the News/ directory, generate the
> RSS feed, and have it referenced from the homepage. That would work, wouldn't
> be that much at stake with feed technology (which does pull anyhow), but
> somehow doesn't feel "right".

No concerns from my side to work on that.  Note that there alread is a
script for something similar in the News/weekly folder, which is also
integrated into the regular build process, so it as least possible.

There's also something to generate a RSS feed for the security
advisories.


Oh, and while talking about that, and should you happen to look the
weekly script:  It currently has two bugs (for which I now found the
time to "report" them ;) :

1) The RSS feed should be added to the corresponding web pages heads
  (That would be '<link rel="alternate" type="application/rss+xml"
   title="RSS" href="...">' IIRC).
2) The RSS feed for the project news is currently broken, as the < and >
   signs of embedded html tags are escaped, too.

For both problems I don't know how to proceed.

Best Regards,
  Alexander





Information forwarded to debian-bugs-dist@lists.debian.org, Debian WWW Team <debian-www@lists.debian.org>:
Bug#583670; Package www.debian.org. (Sun, 30 May 2010 15:12:10 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Prévot <david@tilapin.org>:
Extra info received and forwarded to list. Copy sent to Debian WWW Team <debian-www@lists.debian.org>. (Sun, 30 May 2010 15:12:10 GMT) Full text and rfc822 format available.

Message #17 received at 583670@bugs.debian.org (full text, mbox):

From: David Prévot <david@tilapin.org>
To: control@bugs.debian.org, 583670@bugs.debian.org
Subject: Re: RSS issue [Was: Bug#583670: please provide a RSS/Atom feed for news items on the homepage]
Date: Sun, 30 May 2010 11:08:37 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

clone 583670 -1 -2 -3
retitle -1 Please fix broken encoding for UTF8 News/weekly RSS feed
retitle -2 Please provide localized title for News/weekly RSS feed
retitle -3 Please provide only one item by DPN issue for News/weekly RSS
feed
thanks

Hi, as advised by Stefano, I fill the three bugs in order to keep them
in mind.

Le 29/05/2010 12:24, David Prévot a écrit :
> Le 29/05/2010 08:36, Stefano Zacchiroli a écrit :
>> Package: www.debian.org
>> Severity: wishlist
> 
>> Heya, it would be great to have a RSS and/or Atom feed for the news section of
>> the Debian homepage (and possibly a different one for the advisories listed
>> there too).
> 
> By the way, the French RSS feed [0] for the DPN is broken (some encoding
> issue I still don't get).
> 
> It would be also be nice to have the title localized (current French
> title of the first RSS feed is "Debian Project News 2010/02" instead of
> "Nouvelles du projet Debian - 3 mai 2010" as it is on the web page.
> 
> I also think the DPN feed could be improved by publishing only one item
> by DPN (pointing to different parts of it, like it's already done in the
> DPN itself with the list following "Topics covered in this issue
> include:") instead of every part of the DPN in different items, so that
> actually more than ten items are published in the RSS feed [1] every
> time a DPN is published.
> 
> [0] http://www.debian.org/News/weekly/dwn.fr.rdf
> [1] http://www.debian.org/News/weekly/dwn.en.rdf
> 
> Cheers
> 
> David

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkwCf3IACgkQ18/WetbTC/o6wACfTMoioLSEAJbQsYlbachYreUd
6AgAnRwSHDFbEOSZnRMAhLRI5lrqV4af
=90cY
-----END PGP SIGNATURE-----




Bug 583670 cloned as bugs 583779, 583780, 583781. Request was from David Prévot <david@tilapin.org> to control@bugs.debian.org. (Sun, 30 May 2010 15:12:11 GMT) Full text and rfc822 format available.

Changed Bug title to 'Please fix broken encoding for UTF8 News/weekly RSS feed' from 'please provide a RSS/Atom feed for news items on the homepage' Request was from David Prévot <david@tilapin.org> to control@bugs.debian.org. (Sun, 30 May 2010 15:12:15 GMT) Full text and rfc822 format available.

Owner recorded as David Prévot <david@tilapin.org>. Request was from David Prévot <david@tilapin.org> to control@bugs.debian.org. (Sun, 30 May 2010 16:03:05 GMT) Full text and rfc822 format available.

Changed Bug submitter to 'David Prévot <david@tilapin.org>' from 'Stefano Zacchiroli <zack@debian.org>' Request was from David Prévot <david@tilapin.org> to control@bugs.debian.org. (Fri, 25 Jun 2010 00:27:06 GMT) Full text and rfc822 format available.

Removed annotation that Bug was owned by David Prévot <david@tilapin.org>. Request was from David Prévot <david@tilapin.org> to control@bugs.debian.org. (Fri, 25 Jun 2010 00:27:08 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian WWW Team <debian-www@lists.debian.org>:
Bug#583779; Package www.debian.org. (Fri, 25 Jun 2010 02:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Prévot <david@tilapin.org>:
Extra info received and forwarded to list. Copy sent to Debian WWW Team <debian-www@lists.debian.org>. (Fri, 25 Jun 2010 02:15:03 GMT) Full text and rfc822 format available.

Message #32 received at 583779@bugs.debian.org (full text, mbox):

From: David Prévot <david@tilapin.org>
To: control@bugs.debian.org, 583779@bugs.debian.org
Subject: www.debian.org: fix broken charset for UTF-8 RSS feed
Date: Thu, 24 Jun 2010 22:12:12 -0400
[Message part 1 (text/plain, inline)]
tags 583779 patch
thanks

Hi,

I plan to upload this fix this weekend (before the next DPN will be
published) if no one speaks against, or do it before.

Cheers

David



[583779.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Added tag(s) patch. Request was from David Prévot <david@tilapin.org> to control@bugs.debian.org. (Fri, 25 Jun 2010 02:15:04 GMT) Full text and rfc822 format available.

Reply sent to David Prévot <david@tilapin.org>:
You have taken responsibility. (Sat, 26 Jun 2010 18:57:11 GMT) Full text and rfc822 format available.

Notification sent to David Prévot <david@tilapin.org>:
Bug acknowledged by developer. (Sat, 26 Jun 2010 18:57:11 GMT) Full text and rfc822 format available.

Message #39 received at 583779-done@bugs.debian.org (full text, mbox):

From: David Prévot <david@tilapin.org>
To: 583688-done@bugs.debian.org, 583779-done@bugs.debian.org, 587075-done@bugs.debian.org
Subject: dwn-to-rdf.pl updated
Date: Sat, 26 Jun 2010 14:53:49 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

As announced two days ago, dwn-to-rdf.pl has been updated in revision
1.13, hopefully fixing some of the most annoying issues about the RSS feed.

Cheers

David

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkwmTLoACgkQ18/WetbTC/rHnQCfche7QcoJm+BTA4FJrDv4iSDm
QLgAnixL5Utna/iKaN3COykgpdXG6ju5
=RtCL
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 25 Jul 2010 07:35:52 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 14:35:07 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.