Tag: PinPopular

@PinPopular is a Twitter bot for tweeting the most popular posts from the Pinboard.in.

Recently some nice people notify me on Twitter that often there are some tweet with no context at all , then I found that the title of the image post from Twitter in Pinboard is just “Twitter”, like this:

PinPopular’s data is actually crawl from the Pinboard Popular page’s rss feed. After checked the feed then I found that some post’s title is just “Twitter” like this:

<item rdf:about="https://twitter.com/Snowden/status/716683740903247873/photo/1">
<title>Twitter</title>
<dc:date>2016-04-05T14:12:01+00:00</dc:date>
<link>
https://twitter.com/Snowden/status/716683740903247873/photo/1
</link>
<dc:creator>dalcrose</dc:creator>
<description>
<![CDATA[
Biggest leak in the history of data journalism just went live, and it's about corruption.
]]>
</description>
<dc:source>http://twitter.com/</dc:source>
<dc:identifier>http://pinboard.in/u:dalcrose/b:5a523455b927/</dc:identifier>
</item>

The solution is using the description instead of the “Twitter” title for the tweet content, it seems working good now.

P.S. I also transfered the PinPopular from the Linode where it lives for years to DigitalOcean now.