Your message dated Sun, 26 May 2013 15:51:43 +0000 with message-id <E1UgdEV-000230-Hr@vasks.debian.org> and subject line Debian WWW CVS commit by taffit fixes #685563 has caused the Debian Bug report #685563, regarding www.debian.org: Comments in DPN wml sources appear in RSS feed to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 685563: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685563 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: www.debian.org: Comments in DPN wml sources appear in RSS feed
- From: Mark Caglienzi <mark.caglienzi@gmail.com>
- Date: Wed, 22 Aug 2012 00:09:12 +0200
- Message-id: <20120821220912.GA6753@debian.TheBeast>
Package: www.debian.org Severity: normal User: www.debian.org@packages.debian.org Usertags: script news Dear Webmasters, tonight I noticed that in the RSS feed of the new DPN (2012/16) there were some comments, so I started looking at the dwn-to-rdf.pl script. I am not a Perl expert, but I came to a little workaround trying to make the script ignore the lines that start with a '#' character. I did not test the patch thoroughly, but a run with the same index.wml with the comments gave a dwn.en.rdf that seemed clean to me. As suggested in #debian-www by taffit, I removed the comments in the DPN source file and now I'm sending here the patch as a bug report. I'm almost sure that this is not the best solution, but maybe it's a start. Best regards, Mark -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- . ''`. | GPG Public Key : 0xCD542422 - Download it from http://is.gd/fOa7Vm : :' : | GPG Fingerprint : 0823 A40D F31B 67A8 5621 AD32 E293 A2EB CD54 2422 `. `'` | Powered by Debian GNU/Linux, http://www.debian.org `- | Try not. Do, or do not. There is no try. - Master Yoda, TESB.Index: dwn-to-rdf.pl =================================================================== RCS file: /cvs/webwml/webwml/english/News/weekly/dwn-to-rdf.pl,v retrieving revision 1.19 diff -u -u -r1.19 dwn-to-rdf.pl --- dwn-to-rdf.pl 16 Apr 2011 23:50:00 -0000 1.19 +++ dwn-to-rdf.pl 21 Aug 2012 21:56:04 -0000 @@ -168,7 +168,9 @@ while (<F>) { # prevent double utf-8 encode by XML::RSS $_ = decode_utf8($_) if ($charset eq 'utf-8') ; - if (/^<p><strong>(.*)<\/strong>(?:<br \/>)?\s*(.*)/) { + if (/^#.*$/) { + } + elsif (/^<p><strong>(.*)<\/strong>(?:<br \/>)?\s*(.*)/) { $headline = $1; $body = $2."\n"; chop ($headline) if ($headline =~ /\.$/);Attachment: signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
- To: 685563-done@bugs.debian.org
- Subject: Debian WWW CVS commit by taffit fixes #685563
- From: Debian WWW CVS <webmaster@debian.org>
- Date: Sun, 26 May 2013 15:51:43 +0000
- Message-id: <E1UgdEV-000230-Hr@vasks.debian.org>
- Mail-followup-to: debian-www@lists.debian.org
- Reply-to: debian-www@lists.debian.org
This bug was closed by taffit in the webwml CVS repository: http://www.debian.org/devel/website/using_cvs Note that it might take some time until www.debian.org has been updated. CVSROOT: /cvs/webwml Module name: webwml Changes by: taffit 13/05/26 15:51:43 Modified files: english/devel/website: htmlediting.wml Log message: fix a typo: s/ore/or/ Modified files: english/News/weekly: dwn-to-rdf.pl Log message: Throw away comments from RSS feed [ victory ] (closes: #685563)
--- End Message ---