Comments (3)
woo, this should actually be pretty easy. evidently the whole quoted tweet object is included in the quoted_status
field.
twitter renders it in an h-cite
/reply context style box below the actual tweet, and hides the quote tweet link if it's at the end of the tweet text. we could just do the same.
from granary.
This is done already isn't it? e.g.,
<!DOCTYPE html>
<html>
<head><meta charset="utf-8"></head>
<body>
<article class="h-entry h-as-note">
<span class="p-uid">tag:twitter.com:688090950829215744</span>
<time class="dt-published" datetime="2016-01-15T20:10:41+00:00">2016-01-15T20:10:41+00:00</time>
<span class="p-author h-card">
<a class="p-name u-url" href="https://twitter.com/Eldritchreality">A powerful cabbit</a>
<img class="u-photo" src="https://twitter.com/Eldritchreality/profile_image?size=original" alt="" />
</span>
<a class="u-url" href="https://twitter.com/Eldritchreality/status/688090950829215744">https://twitter.com/Eldritchreality/status/688090950829215744</a>
<div class="e-content p-name">
YOU LITERALLY ARE A MARKOV CHAIN, WTF?<br />
<a href="https://twitter.com/eldritch_ebooks/status/688073162672713728">twitter.com/eldritch_ebook…</a>
<p>
<a class="link" href="https://twitter.com/eldritch_ebooks/status/688073162672713728">
</a>
</p>
</div>
<article class="h-cite h-as-note">
<span class="p-uid">tag:twitter.com:688073162672713728</span>
<time class="dt-published" datetime="2016-01-15T19:00:00+00:00">2016-01-15T19:00:00+00:00</time>
<span class="p-author h-card">
<a class="p-name u-url" href="https://twitter.com/eldritch_ebooks">eldritch_ebooks</a>
<img class="u-photo" src="https://twitter.com/eldritch_ebooks/profile_image?size=original" alt="" />
</span>
<a class="u-url" href="https://twitter.com/eldritch_ebooks/status/688073162672713728">https://twitter.com/eldritch_ebooks/status/688073162672713728</a>
<div class="e-content p-name">
I just discovered that Markov chains were just a random walk with delusions of grandeur.
</div>
</article>
</article>
</body>
</html>
from granary.
awesome, yes! then we just need to do atom and we can close this.
from granary.
Related Issues (20)
- Unescaped character in summary HOT 3
- h-entry not being found on homepage HOT 6
- 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
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.