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

Look for mf2 first, use Mercury as a fallback #2

Closed
aaronpk opened this Issue Jul 7, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@aaronpk

aaronpk commented Jul 7, 2018

If the page has mf2, that is likely to be much better data than what Mercury finds. Indiepaper should first check if it finds an article via mf2, and if it doesn't, then can use Mercury to extract what it can.

@cleverdevil

This comment has been minimized.

Owner

cleverdevil commented Jul 7, 2018

Great suggestion. I am debating either including mf2py as a dependency, or just using https://python.microformats.io as a web service like I do with Mercury, so I don't have to worry about keeping it up to date.

I will likely want to take the output from mf2py and strip out everything but the basics. Any directional feedback is, of course, welcome!

(Originally published at: https://cleverdevil.io/2018/great-suggestion-i-am-debating-either-including-mf2py-as-a)

@cleverdevil

This comment has been minimized.

Owner

cleverdevil commented Jul 7, 2018

Done in 6b7162c

@cleverdevil cleverdevil closed this Jul 7, 2018

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