mf2py icon indicating copy to clipboard operation
mf2py copied to clipboard

support lang attribute for language

Open snarfed opened this issue 6 years ago • 0 comments

https://github.com/microformats/microformats2-parsing/issues/3 is the current proposal for extracting and surfacing the lang attribute in parsed mf2 for a page's or item's language. that proposal isn't official yet, but it's been stable for over 2y, and it's implemented in PHP and JS, so it'd be nice for m2py to support it too!

example use case: apple/itunes require the <language> element in podcast RSS feeds. i'd like to convert HTML lang to RSS <language> in granary (snarfed/granary#124).

snarfed avatar Feb 13 '19 23:02 snarfed