Skip to content

Instantly share code, notes, and snippets.

@james2doyle
Created August 27, 2015 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save james2doyle/8267ed038570bdf394f4 to your computer and use it in GitHub Desktop.
Save james2doyle/8267ed038570bdf394f4 to your computer and use it in GitHub Desktop.
Example of an RSS Atom feed. Has images, author, and expanded entries.
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Primer CMS</title>
<subtitle>Primer CMS is the new product from WARPAINT Media.</subtitle>
<link href="http://localhost:8888/warpaint-laravel-cms/public"></link>
<link href="http://localhost:8888/warpaint-laravel-cms/public/feed.xml" rel="self" />
<id>http://localhost:8888/warpaint-laravel-cms/public/</id>
<description>Primer CMS is the new product from WARPAINT Media.</description>
<updated>2015-08-27T15:10:58+00:00</updated>
<entry>
<id>http://localhost:8888/warpaint-laravel-cms/public/post/fake-post</id>
<title>Fake Post</title>
<link href="http://localhost:8888/warpaint-laravel-cms/public/post/fake-post"/>
<updated>2015-08-27T14:37:01+00:00</updated>
<logo>http://localhost:8888/warpaint-laravel-cms/public/uploads/1440432524-james-speaking-small.jpg</logo>
<icon>http://localhost:8888/warpaint-laravel-cms/public/uploads/1440432524-james-speaking-small.jpg</icon>
<summary>This is a fake post</summary>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>This is a pretty little editor. My content is amazing!</p>
</div>
</content>
<author>
<name>James Doyle</name>
<email>admin@admin.com</email>
</author>
</entry>
</feed>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment