Skip to content
Browse files

changed urls in rss feed to point to app store pages instead of cafep…

…ress
  • Loading branch information...
1 parent 280ec3a commit b2996fd74d69e883cb864684529faec84ae9f05c @benjaminleesmith benjaminleesmith committed May 17, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 app/views/stores/feed.rss.builder
View
8 app/views/stores/feed.rss.builder
@@ -12,11 +12,11 @@ xml.rss :version => "2.0", 'xmlns:content' => 'http://purl.org/rss/1.0/modules/c
if store.cafepress_back_design_url
xml.tag! 'content:encoded' do
xml.cdata! %{
- <a href="http://cafepress.com/#{store.cafepress_store_id}">
+ <a href="#{store_url(store)}">
<img src="#{store.cafepress_design_url}"/>
</a>
<br/>
- <a href="http://cafepress.com/#{store.cafepress_store_id}">
+ <a href="#{store_url(store)}">
<img src=#{store.cafepress_back_design_url}/>
</a>
<br/>
@@ -26,7 +26,7 @@ xml.rss :version => "2.0", 'xmlns:content' => 'http://purl.org/rss/1.0/modules/c
else
xml.tag! 'content:encoded' do
xml.cdata! %{
- <a href="http://cafepress.com/#{store.cafepress_store_id}">
+ <a href="#{store_url(store)}">
<img src="#{store.cafepress_design_url}"/>
</a>
<br/>
@@ -35,7 +35,7 @@ xml.rss :version => "2.0", 'xmlns:content' => 'http://purl.org/rss/1.0/modules/c
end
end
xml.pubDate store.created_at
- xml.link "http://cafepress.com/#{store.cafepress_store_id}"
+ xml.link store_url(store)
xml.guid store.cafepress_store_id
end
end

0 comments on commit b2996fd

Please sign in to comment.
Something went wrong with that request. Please try again.