discussions icon indicating copy to clipboard operation
discussions copied to clipboard

Add journalduhacker

Open hucste opened this issue 3 years ago • 6 comments

Hi.

"Journal Du Hacker" is a lobst.er-like for french IT community. See: https://www.journalduhacker.net/about

hucste avatar Jun 21 '22 05:06 hucste

Hi, the problem is that Journal Du Hacker doesn't seem to support the .json endpoints which I use for all the lobster based forums. Here's an example from lobste.rs: https://lobste.rs/page/2.json The same endpoint on Journal Du Hacker doesn't work: https://www.journalduhacker.net/page/2.json

I've also sent an email to them, but never received a reply. Thanks

xojoc avatar Jun 22 '22 10:06 xojoc

OK. I'm going with Carl Chenet, the author of JdH. "Wait'n see…" ≤ perhaps ;)

hucste avatar Jun 22 '22 11:06 hucste

They have an RSS feed: https://www.journalduhacker.net/rss

Yay295 avatar Jun 22 '22 12:06 Yay295

Well, there are only the last N threads (I'd like to extract all the past threads too) in the RSS feed, plus there's no indication of the amount of points or comments. And I'd need to implement yet another "parser" since I'm not handling RSS feeds for any other source.

xojoc avatar Jun 22 '22 13:06 xojoc

Well, there are only the last N threads (I'd like to extract all the past threads too) in the RSS feed, plus there's no indication of the amount of points or comments. And I'd need to implement yet another "parser" since I'm not handling RSS feeds for any other source.

especially since JSON is more suitable for data processing ;)

hucste avatar Jun 22 '22 13:06 hucste

Hi @xojoc

Excellent news: Carl Chenet replied me.

See:

  • https://www.journalduhacker.net/newest.json (for the 24 most recent)
  • https://www.journalduhacker.net/t/tag-name.json (where tag's name is 'linux', or 'openbsd', or 'intelligence artificielle', etc.)

Tags are displayed into this page:

  • https://www.journalduhacker.net/filters, or
  • https://www.journalduhacker.net/tags

But, in actual fact, https://www.journalduhacker.net/page/2.json not run because the code of JdH forked than Lobste.rs; currently, few original features are not functional.

hucste avatar Jun 23 '22 08:06 hucste