You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ogp_image_alt is a new option for conf.py. Any string provided with this option will be used as alt text
If no string is provided, opengraph.py will try to automatically use site_name as alt text. If site_name is not available, htp.text will be used instead.
The user also has the option to completely turn off alt text, by setting ogp_image_alt to False.
This pull request also includes an additional test and an update to README.md.
According to opg.me any page that includes an og:image should also inclode an og:image:alt. This would not only increase compliance with opg but might also increase search engine visibility.
Python script:
https://github.com/tcmetzger/pypresseportal/blob/master/docs/_ext/ogtag.py
https://github.com/tcmetzger/pypresseportal
https://github.com/tcmetzger/pypresseportal/blob/master/docs/pypresseportal.rst
https://api.presseportal.de/en
Layout like a newspaper by topic
https://www.presseportal.de/en/
The text was updated successfully, but these errors were encountered: