Hi guys! Small problem here with the nnrss backend. If you have a RSS feed that uses some < or > in the *text* (as opposed to the HTML code), those will be parsed, and w3m (if you use w3m) will screw up badly. Such RSS feed will have an entry like : When <strong>Mickey</strong>'s colleague was tasked with changing &lt;br&gt;s which should result in HTML in When Mickey's colleague was tasked with changing <br>s and in the final reading in When *Mickey*'s colleague was tasked with changing
s Problem is, this field is « HTML-unescaped » twice : - On line ~456, (setq xmlform (xml-parse-region (point-min) (point-max))) because xml-parse-region uses xml-parse-string which uses xml-substitute-special. - On line ~772, (and extra (nnrss-decode-entities-string extra)) which uses mm-url-decode-entities-nbsp. This leads to the
being interpreted as a newline. I don't know if `w3-parse-buffer' does the same, but as xml-parse-region works for all my feeds, I use the following change : Index: nnrss.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/nnrss.el,v retrieving revision 7.52 diff -b -u -w -r7.52 nnrss.el --- nnrss.el 25 Oct 2007 08:17:54 -0000 7.52 +++ nnrss.el 31 Oct 2007 15:24:27 -0000 @@ -769,7 +769,7 @@ (and subject (nnrss-mime-encode-string subject)) (and author (nnrss-mime-encode-string author)) date - (and extra (nnrss-decode-entities-string extra)) + extra enclosure comments hash-index) Let me know if I should install it. -- | Michaël `Micha' Cadilhac | Personne n'est la au mauvais moment | | http://michael.cadilhac.name | et au mauvais endroit | | JID/MSN: | par hasard. | `---- michael.cadilhac@gmail.com | -- ElBarto - --'