[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Readability" feature in eww
From: |
David Engster |
Subject: |
Re: "Readability" feature in eww |
Date: |
Tue, 04 Nov 2014 08:44:10 +0100 |
User-agent: |
Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.91 (gnu/linux) |
Lars Magne Ingebrigtsen writes:
> David Engster <address@hidden> writes:
>
>> It'd be great if you could make this extraction method flexible, similar
>> to the 'washing' feature from Gnus, so that users could hook their own
>> methods for extracting the main content into eww. The user would provide
>> an extraction function and the corresponding regexp that matches against
>> the URL, or optionally also against the source to match things like the
>> 'generator' meta-tag.
>
> Well, the best is if we find a solution that works out of the box,
> because then all users can just, like, use it. >"?
>
> The current heuristics are probably too simple, but I've been going
> through bunches of pages, and it already seems to basically do what
> you'd expect it to do, which surprises me, sort of.
Well, users might want to even automatically load another version of the
page. This is actually quite common in emacs-w3m's shimbun library. For
instance, many sites break their articles among several pages to
generate more clicks, but also provide a printable version where
everything is on one, which the shimbun then automatically loads.
-David
- Re: "Readability" feature in eww, (continued)