Closed KillyMXI closed 5 years ago
I think it depends on the feed reader client, vienna app it works perfectly. How would you change in the atom feed ?
What I have now by opening instatom.freelancis.net/anomalytowncomic
url (no feed reader involved):
<?xml version="1.0" encoding="utf-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:media="http://search.yahoo.com/mrss/">
<title>Pictures from instagram anomalytowncomic</title>
<link rel="alternate" type="text/html" href="http://instagram.com/anomalytowncomic"></link>
<id>tag:instatom:/anomalytowncomic</id> <!-- icon= thumbnail_url-->
<subtitle></subtitle>
<updated></updated>
<generator uri="http://instatom.freelancis.net/">instatom</generator>
<entry>
<title></title>
<link rel="alternate" type="text/html" href="https://scontent-cdt1-1.cdninstagram.com/vp/553c5029a10efe43c99b72ccd3093e24/5D148F60/t51.2885-15/e35/51443740_816131178727899_6625891955052716993_n.jpg?_nc_ht=scontent-cdt1-1.cdninstagram.com"></link>
<id>tag:instagram.com,2019-02-25T15:55:58.000Z</id>
<published>2019-02-25T15:55:58.000Z</published>
<updated>2019-02-25T15:55:58.000Z</updated>
<content type="image"><img src="https://scontent-cdt1-1.cdninstagram.com/vp/553c5029a10efe43c99b72ccd3093e24/5D148F60/t51.2885-15/e35/51443740_816131178727899_6625891955052716993_n.jpg?_nc_ht=scontent-cdt1-1.cdninstagram.com" width="640" height="640" alt="" /> </content>
<author>
<name>Anomaly town</name>
<uri>http://instagram.com/anomalytowncomic</uri>
</author>
<link rel="enclosure" type="image/jpeg" href="https://scontent-cdt1-1.cdninstagram.com/vp/553c5029a10efe43c99b72ccd3093e24/5D148F60/t51.2885-15/e35/51443740_816131178727899_6625891955052716993_n.jpg?_nc_ht=scontent-cdt1-1.cdninstagram.com"></link>
</entry>
...
Within an entry, there are two link
tags, both pointing to an image. And content
also contains the same link.
Correct link https://www.instagram.com/p/BuT4FFHgt3S/
can't be seen anywhere.
If I understand Atom standard right, I would expect these link tags inside an entry
:
<link href="https://www.instagram.com/p/BuT4FFHgt3S/" />
<link rel="enclosure" type="image/jpeg" href="https://scontent-cdt1-1.cdninstagram.com/vp/553c5029a10efe43c99b72ccd3093e24/5D148F60/t51.2885-15/e35/51443740_816131178727899_6625891955052716993_n.jpg?_nc_ht=scontent-cdt1-1.cdninstagram.com"/>
Your feed, on the other hand:
link rel="alternate" type="text/html"
pointing to images;rel="alternate"
for the link
tag of the feed itself - I would question the need of including this for default link.I'm using TTRSS. And I can't see how any feed reader can deduce the correct link from given feed.
Thank you for the very high quality feedback, this should be an easy fix, working on it !
Fixed and deployed
There is no
instagram.com/p/...
links - all feed items have images linked instead of posts.