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

Automatically pull og:image:alt content from embedded links #19

Open
ZacharyTalis opened this issue Jun 16, 2021 · 0 comments
Open

Automatically pull og:image:alt content from embedded links #19

ZacharyTalis opened this issue Jun 16, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ZacharyTalis
Copy link
Owner

Feature request:
When a user posts a link, visit the link to see if the webpage contains a meta tag with property="og:image:alt". If so, fetch and automatically post the content of this tag to the server.

Example:
Image link - https://mastodon.opportunis.me/@Grandasse_/106419305487796570
Head element -

<meta content="anakin padme meme :
– I've added subtitles to make my content accessible
– But not automatically generated ones, right ?
– ...
– but not or tomato call he gem her eight it ones, write ?" property="og:image:alt">

Consideration:
Depending on how the text-fetching functions, the fetch may contain escape characters (such as \n). If so, pretty up that dirty text like a good little bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants