anaclumos / signalkite

🪁 notifies you based on your algo
http://hn.cho.sh
MIT License
130 stars 6 forks source link

RSS Support #16

Closed BasixKOR closed 1 year ago

BasixKOR commented 1 year ago

Could we have an RSS feed for HN newsletters? I think it would be easier for folks uses an RSS reader.

anaclumos commented 1 year ago

I do have very basic RSS support for English articles. Check this link. It's a very rudimentary RSS, so I'd advise using services like Kill the Newsletter! to convert it to RSS automatically. #9

Ultimately, I have plans for a much bigger v2 of this. RSS will be one of the features. It won't come any time soon, but you can track the progress here: Project Heimdall @ Sunghyun Cho

BasixKOR commented 1 year ago

Nice to know there's a readily available RSS feed. Can we keep this issue open so people can subscribe when RSS v2 is implemented?

anaclumos commented 1 year ago

Implemented. Let me know if this works.

ysm-dev commented 1 year ago

@anaclumos

I think you include wrong RSS content.

Each items of rss should be each newsletter link like this:

<channel>
  <atom:link href="http://hn.cho.sh/rss/ko.xml" rel="self" type="application/rss+xml"/>
  <title>헤임달</title>
  <link>https://hn.cho.sh/ko</link>
  <description></description>
  <language>ko</language>
  <item>
    <guid isPermaLink="false">https://hn.cho.sh/ko/2023/08/07</guid>
    <title>2023-08-07 | Heimdall</title>
    <link>https://hn.cho.sh/ko/2023/08/07</link>
    // ...
  </item>
  // ...
</channel>

And I think you can fill guid with just link

anaclumos commented 1 year ago

That's actually intended so that the feed would look like this, which I think feels more natural to skim as stories.

image

image

But I understand what you mean. Do you prefer each item to be the whole newsletter? I can also make that as well.

ysm-dev commented 1 year ago

@anaclumos

Yeah, I prefer that, because I follow some others (e.g. GeekNews, https://twitter.com/betterhn300), too.

So I want to treat this as individual "Newsletter", even with the "Same content".

e.g. hn.cho.sh > https://explore.zoom.us/en/terms ----> 'Oh, this is "about zoom news"(content) from "hn.cho.sh newsletter"(context)'

GeekNews > https://explore.zoom.us/en/terms. ----> 'Oh, this is "about zoom news"(content) from "GeekNews"(context)'

betterhn300 > https://explore.zoom.us/en/terms. ----> 'Oh, this is "about zoom news"(content) from "betterhn twitter account"(context)'

anaclumos commented 1 year ago

Gotcha. Will work on it soon.

anaclumos commented 1 year ago

@ysm-dev as you wish...

Story-based RSS feed

Newsletter-issue-based RSS feed

Also, I am looking for company sponsors. @BasixKOR @ysm-dev Can I slide you a DM for this?

ysm-dev commented 1 year ago

Yes, but currently I'm not belong to any company

btw this link contains only single latest item: https://hn.cho.sh/rss/newsletter/ko.xml Maybe better to include recent 10~20 items.

anaclumos commented 1 year ago

It now includes the most recent 10 items. 😃

ysm-dev commented 1 year ago

All the title and link of each items look wrong data...?

anaclumos commented 1 year ago

@BasixKOR Can you check now if it's working as intended?

BasixKOR commented 10 months ago

Works like a charm on my Miniflux instance. Thanks for working on this, I appreciate your efforts.