kartikprabhu / mf2py

mf2 parser in python (this is an experimental fork)
Other
3 stars 2 forks source link

handle h-* classes on the top-level <html> element #31

Closed kylewm closed 10 years ago

kylewm commented 10 years ago

For example, waterpigs.co.uk assigns classes to the html tag (h-feed on homepage, h-entry on permalink pages). mf2py seems to miss these when parsing!

kylewm commented 10 years ago

This is related to the beautifulsoup4 + html5lib bug that I filed a while back: https://bugs.launchpad.net/beautifulsoup/+bug/1296481

For some reason when using this combination, html.get('classes') returns a string instead of a list

kylewm commented 10 years ago

Thanks for merging!