myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [3691] branches/packs/app/views/items/items.rxml:


From: noreply
Subject: [myexperiment-hackers] [3691] branches/packs/app/views/items/items.rxml: added old pack item atom feed template
Date: Fri, 6 Sep 2013 21:23:14 +0000 (UTC)

Revision
3691
Author
dgc
Date
2013-09-06 21:23:13 +0000 (Fri, 06 Sep 2013)

Log Message

added old pack item atom feed template

Added Paths

Diff

Copied: branches/packs/app/views/items/items.rxml (from rev 3683, branches/packs/app/views/packs/items.rxml) (0 => 3691)


--- branches/packs/app/views/items/items.rxml	                        (rev 0)
+++ branches/packs/app/views/items/items.rxml	2013-09-06 21:23:13 UTC (rev 3691)
@@ -0,0 +1,12 @@
+xml.instruct!
+
+xml.rss "version" => "2.0", 'xmlns:opensearch' => "http://a9.com/-/spec/opensearch/1.1/", 'xmlns:atom' => "http://www.w3.org/2005/Atom" do
+  xml.channel do
+    xml.title "#{Conf.sitename} - Pack: #{h @pack.title} - Items"
+    xml.link pack_url(@pack)
+    xml.language "en-us"
+    xml.ttl "60"
+    xml.description "RSS feed listing all the items in the pack: #{h @pack.title}."
+    render(:partial => "layouts/pack_items", :locals => { :pack => @pack, :xm => xml })
+  end
+end

reply via email to

[Prev in Thread] Current Thread [Next in Thread]