-
Notifications
You must be signed in to change notification settings - Fork 52
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 for alt text on images posted to Twitter (blocked on mf2py) #756
Comments
this is currently blocked on mf2py supporting img alt text explicitly, microformats/mf2py#83, based on microformats/microformats2-parsing#2. (also, for my own notes, i'm tentatively planning to serialize HTML |
this is deployed! still needs more testing and bug fixes - eg i need to ellipsize at 420 chars, and i think it doesn't work with multiple photos right now - but feel free to try it! |
fixed both of those issues. |
recent example of a twitter publish with alt text:
|
@snarfed I'm not sure if this may have broken again, but looking at this tweet in Granary, I don't see the alt tag returned, unless I'm doing something wrong? |
ah, i only implemented this for publishing, not consuming. i take it you're interested in the consuming side in granary? looks doable! interested in tackling it? 😁 |
Sorry yep, I'm only looking for the consuming side as I've seen that Bridgy does publish the alt tags to Twitter. I wasn't looking where I was and thought this issue was on Granary - sorry! I'll raise an issue for it, not sure if I'll get round to it soon, but it'll at least be there for someone else to |
@jamietanna Perhaps helpful to crosslink it here when you open the ticket. |
@Ryuno-Ki snarfed/granary#183 is the issue, of which snarfed has already implemented a fix 🙌🏼 |
It seems that it is doable with the Twitter REST API to pass alt text for images
Not 100% sure how to do so with Bridgy, unless bridgy can parse the
alt
attribute from the image with au-photo
oru-featured
class. Then it would be pretty straight forward I would guess.The text was updated successfully, but these errors were encountered: