First off, I am loving offpunk! Still learning how to effectively use
it, but what I've been able to do with it so far is awesome.
Today I tried to `go https://soylentnews.org` and instead of rendering
the index it immediately showed one of the articles at that site.
I tried the same with `https://slashdot.org` and again it rendered one
of the articles instead of the index.
In both cases the rendered article wasn't even the first one on the
page.
This happened with v2.5 and according to `--features` everything is
green.
O xov., 20 de feb. de 2025 ás 00:41, Stephen (<stephen@thatit.be>) escribiu:
>> First off, I am loving offpunk! Still learning how to effectively use> it, but what I've been able to do with it so far is awesome.>> Today I tried to `go https://soylentnews.org` and instead of rendering> the index it immediately showed one of the articles at that site.>> I tried the same with `https://slashdot.org` and again it rendered one> of the articles instead of the index.
Hi Stephen,
I tried those two links, and it's true, only open of the "news items"
gets rendered. I guess this is one of these situations where the
"readability" package is less than stellar.
I understand that Lionel is doing some tests to replace it with
something called "unmerdify", tha might end solving these cases.
In the meantime, I would try the "view full" command to browse these
sites. It works, and shows all the content (even when all the content
can be a bit overwhelming for some pages)
Regards
>> In both cases the rendered article wasn't even the first one on the> page.>> This happened with v2.5 and according to `--features` everything is> green.
--
Saúde,
J. M. Castroagudín
Le 25 fév 19 06:41, Stephen a écrit :
>First off, I am loving offpunk! Still learning how to effectively use>it, but what I've been able to do with it so far is awesome.>>Today I tried to `go https://soylentnews.org` and instead of rendering>the index it immediately showed one of the articles at that site.>>I tried the same with `https://slashdot.org` and again it rendered one>of the articles instead of the index.>>In both cases the rendered article wasn't even the first one on the>page.>>This happened with v2.5 and according to `--features` everything is>green.
This is because Offpunk is trying to extract the article of a page using
python-readability. If you are on the home page, it often fails.
What you can do:
- Use "v feed" (will becomes "feed" in 2.6) to show the feed and uses
the RSS feed as the home page. Works well with slashdot.
- Use "v full" to view the full page and not only the "article" on that
page. That’s something you need to learn for cases where readability
fails.
In the future, I hope that integration with unmerdify will greatly help
and make "v full" less needed.
--
Ploum - Lionel Dricot
Blog: https://www.ploum.net
Bikepunk: https://bikepunk.fr/
Le 25 fév 20 01:16, José Manuel Castroagudín Silva a écrit :
>O xov., 20 de feb. de 2025 ás 00:41, Stephen (<stephen@thatit.be>) escribiu:>>>> First off, I am loving offpunk! Still learning how to effectively use>> it, but what I've been able to do with it so far is awesome.>>>> Today I tried to `go https://soylentnews.org` and instead of rendering>> the index it immediately showed one of the articles at that site.>>>> I tried the same with `https://slashdot.org` and again it rendered one>> of the articles instead of the index.>>Hi Stephen,>I tried those two links, and it's true, only open of the "news items">gets rendered. I guess this is one of these situations where the>"readability" package is less than stellar.>I understand that Lionel is doing some tests to replace it with>something called "unmerdify", tha might end solving these cases.>>In the meantime, I would try the "view full" command to browse these>sites. It works, and shows all the content (even when all the content>can be a bit overwhelming for some pages)
I replied before seeing you replied too. Thanks a lot!
I would like to insist on a very little-known tip: RSS feeds are really
better homepages than the true homepage. Instead of trying to browse the
homepage of a website, always try to use "view feed"
This is a reflex I started using offpunk and it is incredibly useful.
Reading a nice blog post after following a link? Just hit "v feed" and
see what are other posts on that site.
(also, starting 2.6, "feed" will be a standalone command as it is not
really a "view")