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

support lang attribute for language #150

Closed
snarfed opened this issue Feb 13, 2019 · 1 comment · Fixed by #210
Closed

support lang attribute for language #150

snarfed opened this issue Feb 13, 2019 · 1 comment · Fixed by #210

Comments

@snarfed
Copy link
Member

snarfed commented Feb 13, 2019

microformats/microformats2-parsing#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
Copy link
Member Author

snarfed commented Oct 13, 2023

Nudging this, it now has higher priority for me specifically as part of handling Mastodon's new Translate link on posts that are bridged in from outside, eg from Bridgy Fed or micro.blog. snarfed/bridgy-fed#681

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

Successfully merging a pull request may close this issue.

2 participants