Gnus development mailing list
 help / color / mirror / Atom feed
* RSS setup (encoding and link problems)
@ 2010-12-05 21:22 Johnny
  2010-12-05 21:27 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Johnny @ 2010-12-05 21:22 UTC (permalink / raw)
  To: ding

(if I've managed to multipost, apologies, I had trouble in getting the
right list parameters)

I am trying to set up a few rss feeds in gnus but am seriously
struggling to comprehend how to get the display right. I have set up a
few rss feeds and some are displaying unfriendly octal codes while
displaying the same rss in Firefox shows apostrophes, quotes, linebreaks
and dashes. The encodeing is set to utf-8, and I have tried redisplaying
using other encoding by C-u W-q (e.g. windows-1252).

I suspect this may have to do with smartquotes? Or is it dependent on
the gnus-article-wash-function (currently nil and mm-text-html-renderer
set to 'lynx')? 

Apostrophes, quotes and dashes are misrepresented by a sequence of
characters, whereas linebreaks (i.e. between paragraphs) are represented
by two codes.

I also tried to view the source (C-u g) and wash html (W h) in an
attempt to get wiser, alas to no avail! However, this led me to suspect
maybe mm-text-html-renderer needs to be set to something else?

For example I get
| Firefox     | Gnus                             | C-u g, W h |
|-------------+----------------------------------+------------|
| '           | \303\242\342\202\254\342\204\242 | =E2=80=99  |
| "           | \303\242\342\202\254\305\223     | =E2=80=9C  |
| -           | \303\242\342\202\254\342\200\234 | =E2=80=93  |
| (linebreak) | \303\302                         | =C2=A0     |
|-------------+----------------------------------+------------|

Any advise on this would be greatly appreciated!

Less important, but maybe related is that (embedded) links seem dead in
the articles, could this also be related to the above, and how to
remedy? (The [1], [2], ... are visible but cannot be followed)

Thanks!


-- 
Johnny



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RSS setup (encoding and link problems)
  2010-12-05 21:22 RSS setup (encoding and link problems) Johnny
@ 2010-12-05 21:27 ` Lars Magne Ingebrigtsen
  2010-12-05 21:40   ` Johnny
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-12-05 21:27 UTC (permalink / raw)
  To: ding

Johnny <yggdrasil@gmx.co.uk> writes:

> I suspect this may have to do with smartquotes? Or is it dependent on
> the gnus-article-wash-function (currently nil and mm-text-html-renderer
> set to 'lynx')? 

I would suggest installing w3m and emacs-w3m -- they provide quite good
HTML rendering.

> I also tried to view the source (C-u g) and wash html (W h) in an
> attempt to get wiser, alas to no avail! However, this led me to suspect
> maybe mm-text-html-renderer needs to be set to something else?
>
> For example I get
> | Firefox     | Gnus                             | C-u g, W h |
> |-------------+----------------------------------+------------|
> | '           | \303\242\342\202\254\342\204\242 | =E2=80=99  |
> | "           | \303\242\342\202\254\305\223     | =E2=80=9C  |
> | -           | \303\242\342\202\254\342\200\234 | =E2=80=93  |
> | (linebreak) | \303\302                         | =C2=A0     |
> |-------------+----------------------------------+------------|

Hm.  It does look like something is getting encoded twice.  But I
haven't used lynx as an html renderer in yonks.  Anybody have any ideas? 

> Less important, but maybe related is that (embedded) links seem dead in
> the articles, could this also be related to the above, and how to
> remedy? (The [1], [2], ... are visible but cannot be followed)

Yeah, the lynx renderer doesn't support links.  The emacs-w3m one does,
though.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RSS setup (encoding and link problems)
  2010-12-05 21:27 ` Lars Magne Ingebrigtsen
@ 2010-12-05 21:40   ` Johnny
  2010-12-05 22:58     ` Johnny
  0 siblings, 1 reply; 4+ messages in thread
From: Johnny @ 2010-12-05 21:40 UTC (permalink / raw)
  To: ding

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

>
> I would suggest installing w3m and emacs-w3m -- they provide quite good
> HTML rendering.
>

Ok, I will take your advise on this. It seems w3m is quite nice to have
anyhow; I have just been too lazy to heed in that direction and felt
Conkeror and Lynx did well enough. Alas, until now!

> Yeah, the lynx renderer doesn't support links.  The emacs-w3m one does,
> though.

Thanks for the quick response and awesome work on gnus! 

-- 
Johnny



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RSS setup (encoding and link problems)
  2010-12-05 21:40   ` Johnny
@ 2010-12-05 22:58     ` Johnny
  0 siblings, 0 replies; 4+ messages in thread
From: Johnny @ 2010-12-05 22:58 UTC (permalink / raw)
  To: ding

Just to confirm that the solution to this problem was indeed to use w3m
as renderer. The display is now what it should be and links alive again,
woho!
 
Thanks again!
-- 
Johnny



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-05 22:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-05 21:22 RSS setup (encoding and link problems) Johnny
2010-12-05 21:27 ` Lars Magne Ingebrigtsen
2010-12-05 21:40   ` Johnny
2010-12-05 22:58     ` Johnny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).