When I subscribe to a Mastodon to RSS feed posts look like this:
This is the parsed XML item:
<item>
<title><p>RubyFrontierDocs – es geht voran</p><p>Inspiriert durch das gestrige »Fahrrad für den Geist«-Video habe ich...</title>
<link>https://mastodon.social/@kantel/103329305147285605</link>
<description><![CDATA[<p>RubyFrontierDocs – es geht voran</p><p>Inspiriert durch das gestrige »Fahrrad für den Geist«-Video habe ich noch ein wenig an meiner Implementierung der <a href="https://mastodon.social/tags/RubyFrontierDocs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RubyFrontierDocs</span></a> gebastelt und erste Ergebnisse erzielt. <a href="http://blog.schockwellenreiter.de/2019/12/2019121801.html" rel="nofollow noopener" target="_blank"><span class="invisible">http://</span><span class="ellipsis">blog.schockwellenreiter.de/201</span><span class="invisible">9/12/2019121801.html</span></a></p><p><a class="link" href="https://mastodon.social/@kantel/103329305147285605"><img class="u-photo" src="https://f2.tchncs.de/social.tchncs.de/media_attachments/files/005/557/949/original/3384e3e514f01780.jpeg" alt="" /></a></p><p><a class="link" href="http://blog.schockwellenreiter.de/2019/12/2019121801.html"><span class="name">RubyFrontierDocs – es geht voran – Schockwellenreiter</span></a></p><a class="p-category" href="https://social.tchncs.de/tags/RubyFrontierDocs">RubyFrontierDocs</a>]]></description>
<guidisPermaLink="true">https://mastodon.social/@kantel/103329305147285605</guid>
<category>RubyFrontierDocs</category>
<pubDate>Wed, 18 Dec 2019 14:41:11 +0000</pubDate>
</item>
The same post looks fine with Mastodon to ATOM instead:
<entry><author><activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type><uri>https://mastodon.social/@kantel</uri><name>Jörg Kantel</name></author><activity:object-type>http://activitystrea.ms/schema/1.0/note</activity:object-type><id>https://mastodon.social/@kantel/103329305147285605</id><title>RubyFrontierDocs – es geht voranInspiriert durch das gestrige »Fahrrad für den Geist«-Video habe ich...</title><contenttype="xhtml"><divxmlns="http://www.w3.org/1999/xhtml"><p>RubyFrontierDocs – es geht voran</p><p>Inspiriert durch das gestrige »Fahrrad für den Geist«-Video habe ich noch ein wenig an meiner Implementierung der <ahref="https://mastodon.social/tags/RubyFrontierDocs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RubyFrontierDocs</span></a> gebastelt und erste Ergebnisse erzielt. <ahref="http://blog.schockwellenreiter.de/2019/12/2019121801.html" rel="nofollow noopener" target="_blank"><spanclass="invisible">http://</span><spanclass="ellipsis">blog.schockwellenreiter.de/201</span><spanclass="invisible">9/12/2019121801.html</span></a></p><p><aclass="link" href="https://mastodon.social/@kantel/103329305147285605"><imgclass="u-photo" src="https://f2.tchncs.de/social.tchncs.de/media_attachments/files/005/557/949/original/3384e3e514f01780.jpeg" alt="" />
</a></p><p><aclass="link" href="http://blog.schockwellenreiter.de/2019/12/2019121801.html"><spanclass="name">RubyFrontierDocs – es geht voran – Schockwellenreiter</span></a></p><aclass="p-category" href="https://social.tchncs.de/tags/RubyFrontierDocs">RubyFrontierDocs</a></div></content><linkrel="alternate" type="text/html" href="https://mastodon.social/@kantel/103329305147285605" />
<linkrel="ostatus:conversation" href="https://mastodon.social/@kantel/103329305147285605" />
<linkrel="ostatus:attention" href="https://social.tchncs.de/tags/RubyFrontierDocs" />
<linkrel="mentioned" href="https://social.tchncs.de/tags/RubyFrontierDocs" />
<ahref="https://social.tchncs.de/tags/RubyFrontierDocs">RubyFrontierDocs</a><linkrel="ostatus:attention" href="http://blog.schockwellenreiter.de/2019/12/2019121801.html" />
<linkrel="mentioned" href="http://blog.schockwellenreiter.de/2019/12/2019121801.html" />
<ahref="http://blog.schockwellenreiter.de/2019/12/2019121801.html">RubyFrontierDocs – es geht voran – Schockwellenreiter</a><activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb><published>2019-12-18T14:41:11+00:00</published><updated>2019-12-18T14:41:11+00:00</updated><linkrel="self" type="application/atom+xml" href="https://mastodon.social/@kantel/103329305147285605" />
<linkrel="enclosure" href="https://f2.tchncs.de/social.tchncs.de/media_attachments/files/005/557/949/original/3384e3e514f01780.jpeg" type="image/jpeg" />
</entry>
It's even worse with Reshares or Replies.
Works like a charm with Twitter to RSS as well so I assume it's some converting issue with Granary.
The text was updated successfully, but these errors were encountered:
thanks for the report, and sorry for the trouble! very good point, these should be fixed. any interest in taking a look? should be pretty isolated to rss.py and/or mastodon.py. feel free to look at the docs to help ramp up!
When I subscribe to a
Mastodon to RSS
feed posts look like this:This is the parsed XML item:
The same post looks fine with
Mastodon to ATOM
instead:It's even worse with Reshares or Replies.
Works like a charm with
Twitter to RSS
as well so I assume it's some converting issue withGranary
.The text was updated successfully, but these errors were encountered: