Skip to content
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

Handle badly formatted dc:Creator field #2033

Closed
yamada321 opened this issue Aug 23, 2023 · 0 comments · Fixed by #2058
Closed

Handle badly formatted dc:Creator field #2033

yamada321 opened this issue Aug 23, 2023 · 0 comments · Fixed by #2058
Labels

Comments

@yamada321
Copy link

yamada321 commented Aug 23, 2023

Hi,

Thank you for the brilliant tool. This is more of ask for a hacky solution than a feature request.

I use miniflux v2.0.46 on a linux box. I subscribe to arxiv feeds, who lists multiple authors of each item in a single dc:Creator tag. Arxiv unfortunately let the tag to contain raw html content with hyperlink info, rather than simply stacking authors names, e.g. instead of Author One, Author Two, arxiv would stick <a href="https://site.one">Author One</a>, <a href="https://site.two">Author Two</a> in it.

This results in a handful lines of texts showing up as the authors field in miniflux, which often are quite hard to read:

image

Example of an arxiv feed: https://export.arxiv.org/rss/cs.CV

Referring to RSSboard's advice, I believe doing so is arxiv's bad practice, and miniflux is correct to not try to eval the field. But considering arxiv's popularity, I think there might be some way to get around this using rewrite rules that I'm not aware of, therefore this post. So far my only idea is to write a browser userscript I wrote the userscript to parse the raw HTML and found out miniflux has CSP and the userscript would not execute.

Any suggestion is appreciated. Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

1 participant