Skip to content

Commit

Permalink
Fixes #23
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulKinlan committed May 27, 2011
1 parent 5da6d6b commit 26f7437
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions server/proxies/googlefeed/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,11 @@ var GoogleFeedProxy = function(configuration) {
};

var parseResults = function(results, output, categoryId, articleId) {
var result, articles, article;
var result, articles, article, feed;
for(var r = 0; result = results[r]; r++) {
// We have a list of articles
articles = result.responseData.feed.entries;
feed = result.responseData.feed;
articles = feed.entries;
if(output[r].id == categoryId) output[r].categoryState = "";
for(var a = 0; article = articles[a]; a++) {
var newId = buildId(article.link);
Expand All @@ -153,7 +154,7 @@ var GoogleFeedProxy = function(configuration) {
article.contentSnippet,
output[r]
);
item.author = result.author;
item.author = article.author;
item.url = article.link;
item.pubDate = new Date(article.publishedDate);

Expand Down

0 comments on commit 26f7437

Please sign in to comment.