Skip to content

Commit 09ff71d

Browse files
author
Prosper Otemuyiwa
authored
Merge pull request #9 from ajibigad/ajibigad-dev
fix for issue #8
2 parents b359212 + a8c63a3 commit 09ff71d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

factory/post.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function processContent(data) {
2424
for (var i = 0; i < entries.length; i++) {
2525
var item = entries[i],
2626
postTitle = item.title.$t,
27-
content = item.content.$t,
27+
summary = item.summary.$t,
2828
// Do not assume the link will always remain item 4 in the array
2929
url = _.filter(item.link, function (link) {
3030
return link.rel === 'alternate' && link.type === 'text/html';
@@ -35,7 +35,7 @@ function processContent(data) {
3535
var story = {
3636
url: url,
3737
headline: postTitle,
38-
content: content,
38+
summary: summary,
3939
timePublished: timePublished,
4040
timeUpdated: timeUpdated
4141
};

0 commit comments

Comments
 (0)