Add RSS links for tags and feed
[blerg.git] / www / jssrc / blerg / Feed.js
index 1bb4e37..98e7ffb 100644 (file)
@@ -5,7 +5,15 @@ enyo.kind({
     published: {
     },
     components: [
+        {classes: "blerg-user-controls", components: [
+            {name: "rssLink", href: "/rss/feed", kind: "blerg.Link", components: [
+                {tag: null, content: "["},
+                {kind: "Image", src: "/images/rss.png", attributes: {width: 16, height: 16}},
+                {tag: null, content: "RSS]"}
+            ]}
+        ]},
         {name: "records"},
+        {name: "spinner", kind: "OldSchoolSpinner", showing: false},
         {name: "api", kind: "blerg.API",
          onItemsLoaded: "itemsLoaded"}
     ],
@@ -27,5 +35,6 @@ enyo.kind({
     },
     itemsLoaded: function(inSender, inEvent) {
         this.addItems(inEvent.entries);
+        this.bubble('onClearFeedStatus');
     }
 });