Skip to content

Commit

Permalink
reformat feed and link the image
Browse files Browse the repository at this point in the history
  • Loading branch information
rcarver committed Jun 1, 2010
1 parent b367582 commit 94e7c17
Showing 1 changed file with 25 additions and 23 deletions.
48 changes: 25 additions & 23 deletions atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,32 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

<title>Ryan Carver - Photography</title>
<link href="http://ryancarver.com/atom.xml" rel="self"/>
<link href="http://ryancarver.com/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>http://ryancarver.com.com/</id>
<author>
<title>Ryan Carver - Photography</title>
<link href="http://ryancarver.com/atom.xml" rel="self"/>
<link href="http://ryancarver.com/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>http://ryancarver.com.com/</id>
<author>
<name>Ryan Carver</name>
</author>
</author>

{% for post in site.posts %}
<entry>
<title>{{ post.date | date: "%Y.%m.%d" }}</title>
<link href="http://ryancarver.com{{post.url}}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>http://ryancarver.com{{post.url}}</id>
<content type="html">
&lt;p&gt;
&lt;img src="http://ryancarver.com/photos/thumb/{{post.thumb}}"&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://ryancarver.com{{post.url}}"&gt;View Larger&lt;/a&gt;
&lt;/p&gt;
</content>
</entry>
{% endfor %}
{% for post in site.posts %}
<entry>
<title>{{ post.date | date: "%Y.%m.%d" }}</title>
<link href="http://ryancarver.com{{post.url}}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>http://ryancarver.com{{post.url}}</id>
<content type="html">
&lt;p&gt;
&lt;a href="http://ryancarver.com{{post.url}}"&gt;
&lt;img src="http://ryancarver.com/photos/thumb/{{post.thumb}}"&gt;
&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://ryancarver.com{{post.url}}"&gt;View Larger&lt;/a&gt;
&lt;/p&gt;
</content>
</entry>
{% endfor %}

</feed>

0 comments on commit 94e7c17

Please sign in to comment.