v2 icon indicating copy to clipboard operation
v2 copied to clipboard

Substack comments

Open emilknievel opened this issue 1 year ago • 2 comments

  • [X] I have read this document: https://miniflux.app/opinionated.html#feature-request

Unsure if this should be a feature request or a bug but here goes:

I have noticed that articles from Substack don't have a link to the comments. I really appreciate having that option when I'm reading hackernews links etc. and would love for the same to exist for the articles from substack.

Best regards, Emil

emilknievel avatar Sep 01 '24 17:09 emilknievel

I'm not sure this is feasible.

For hackernews feed items[0], miniflux displays a comments link because it's part of the actual RSS feed.

From the RSS spec:

<comments> is an optional sub-element of <item>

and also here in miniflux' implementation: https://github.com/miniflux/v2/blob/8708a109b314c78a8adccf80e4fb58940c6ac4b3/internal/reader/rss/rss.go#L131

Unfortunately, Substack[1] does not provide the <comments> element for their feeds.

That means miniflux would need some custom logic that adds a https://substack_url.com/comments[2] link to each entry.


[0]: hackernews feed example: https://news.ycombinator.com/rss [1]: random Substack feed example: https://www.astralcodexten.com/feed [2] random Substack comments link example: https://www.astralcodexten.com/p/open-thread-345/comments

moppman avatar Sep 02 '24 13:09 moppman

Ah, I see. Thank you for the clarification.

emilknievel avatar Sep 03 '24 18:09 emilknievel