-
Notifications
You must be signed in to change notification settings - Fork 727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What's the point of the markdown filter? #2938
Comments
It was introduced in this PR #1513
Removing this feature would be a breaking change for the few people that use it. I'm not aware of any lightweight alternative Markdown parser library in Go. |
I don't think it'll break anything, as nobody should be using it. The reason it was added, |
@jvoisin Funny timing, I actually just opened a PR to remove that rewrite rule (#2958). When I originally added this filter, Laravel's feed was in markdown, but they've since fixed it. It looks like there's another rewrite rule for https://www.recalbox.com/rss.xml which still returns markdown. It isn't very common (and honestly probably a feed generation bug), but it seems to happen occasionally. That being said, I agree that a smaller binary would be nice... Edit: In actuality, it adds ~2MiB to the binary size
|
I don't think that any other feed reader does support markdown. It does indeed looks like a feed generation bug to me. |
True! Although in my experience, most feed readers don't support rewrite rules in general. I just tested recalbox with "Fetch original content" and without |
@fguillot what do you think? If I sent a pull-request to remove markdown support, will it get considered/merged? |
Miniflux supports converting feeds from markdown to html via github.com/yuin/goldmark, but I fail to see a usecase, as I don't know a single rss/atom feed that spits markdown and not html.
If it has no use, it' be nice to remove it, as reducing the amount of external dependencies is almost always a win, packaging-wise, security-wise, reliability-wise… but also size-wise, as it adds adds a lot of code to the
miniflux
binary:The text was updated successfully, but these errors were encountered: