Comments (4)
huh. thanks for filing!
i actually suspect we're handling retweets wrong more broadly. we should probably render them as coming from the original author, with the original text, as opposed to from the retweeter and with the "RT author ..."
i thought we were doing this right, by extracting retweeted_status
for RTs at twitter.py:837. details in the twitter docs.
...however, if that was the cause here, i'd think the link would be moved up to start before the http://t.co
, not after. so i still don't know what's up yet either.
from granary.
here's the RT in the example above: https://twitter.com/EvaGabriela_Z/status/507570782126358528
and the original tweet: https://twitter.com/jeresig/status/507528866513293315
from granary.
i took a look at this, and i think we should do three things:
- fully convert
retweeted_status
to an embedded object in the outershare
ActivityStreams object. (right now we only fill in a minimal set of fields, e.g. url) - use the content text from that embedded object, when available, instead of the text we're using that includes RT @author .... this should fix the links.
- improve the mf2 html rendering for retweets/shares. specifically, render the original tweet as a reply context, outside the
e-context
. @barnabywalters actually asked for this a bit ago for shrewdness.
these will take some work, mostly in ramping up on the twitter conversion code (even for me), but they'll be worth it.
i don't plan to work on this soon, so anyone else is welcome to!
from granary.
this got fixed recently. that tweet's e-content
is now rendered as:
RT <a href="https://twitter.com/jeresig">@jeresig</a>: ... This one is great: <a href="http://geekfeminism.wikia.com/wiki/How_to_find_supportive_workplaces">geekfeminism.wikia.com/wiki/How_to_fi…</a>
from granary.
Related Issues (20)
- Add the tags to the message/tweet HOT 7
- API: Mastodon support for public (unauthenticated) timelines
- add snippet generation HOT 1
- “white-space: pre” prevents words from wrapping in tweet bodies HOT 7
- Issue with text-first render of some post types HOT 3
- published/updated not always populating (HTML to Atom) HOT 5
- standardize on `to/from_as1` function names
- Add Blog Archive Format support HOT 1
- Bluesky data conversion: rich text facet support HOT 1
- Bluesky data conversion: quote support HOT 1
- Mastodon per-user feed support HOT 9
- Nostr: Bad Request response for datetime HOT 1
- Migrate microformats2 to use proper HTML templating
- Support for moderation activities HOT 8
- Can't pip install due to Google dependency conflict HOT 7
- Bluesky photo-only replies are interpreted as photo objects HOT 3
- HTML to Atom: title element has encoded HTML HOT 4
- Exclude boosts and replies from @friends feed HOT 2
- Photos missing from RSS HOT 5
- Bluesky.from_as1: convert links, @-mentions, and hashtags to facets HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from granary.