changeset 15:3f9cc6c21849 default tip

Fixed to support the new about:mozilla blog at http://blog.mozilla.com/about_mozilla/.
author Atul Varma <varmaa@toolness.com>
date Fri, 10 Jul 2009 10:44:12 -0700
parents 0921b3bb553d
children
files about-mozilla.js
diffstat 1 files changed, 2 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/about-mozilla.js	Wed Apr 22 11:38:27 2009 -0700
+++ b/about-mozilla.js	Fri Jul 10 10:44:12 2009 -0700
@@ -1,4 +1,4 @@
-var ATOM_URL = "https://developer.mozilla.org/devnews/index.php/feed/atom/";
+var ATOM_URL = "http://blog.mozilla.com/about_mozilla/feed/";
 
 var MONTHS = ["January",
               "February",
@@ -62,13 +62,7 @@
       function(result) {
         var qs = new Querystring();
         var issue = qs.get("issue", "0");
-        var feeds = [];
-        jQuery.each(
-          result.feed.entries,
-          function() {
-            if (jQuery.inArray("about-mozilla", this.categories) != -1)
-              feeds.push(this);
-          });
+        var feeds = result.feed.entries;
         var entry = feeds[issue];
         $("#raw-issue").html(entry.content);
         var pubDate = new Date(entry.publishedDate);