Skip to content

Instantly share code, notes, and snippets.

@Firsh
Created September 24, 2016 10:44
Show Gist options
  • Save Firsh/5d1324ea266f7c8b7bf6d25f76dacd26 to your computer and use it in GitHub Desktop.
Save Firsh/5d1324ea266f7c8b7bf6d25f76dacd26 to your computer and use it in GitHub Desktop.
How to add any image to JIG
<?xml version="1.0" ?>
<rss version="2.0">
<channel>
<title>Title of the test feed</title>
<description>To get external images to JIG</description>
<link>http://justifiedgrid.com/</link>
<item>
<title>The first photo</title>
<description><![CDATA[
<img src="http://dummyimage.com/600x600/3e2723/ff5722/&text=Dummy photo" />
this is just an example with a link and a date
]]></description>
<link>http://dummyimage.com/</link>
<pubDate>Thu, 25 Jun 2015 15:16:42 GMT</pubDate>
</item>
<item>
<title>The second one</title>
<description><![CDATA[
<img src="http://dummyimage.com/1280x720/795548/ffc107" />
using some dummy images, no date, no link
]]></description>
</item>
</channel>
</rss>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment