Commit "id" in feedify

Has been there for a while, never bothered to commit.
master
pictuga 2014-01-08 01:49:44 +01:00
parent 3e2c4de833
commit 84377a3f36
2 changed files with 5 additions and 0 deletions

View File

@ -53,6 +53,7 @@ item_title= from.name {" > " to.data.name<", ">}
item_link= actions.link[0]
item_content= message story{"<br/><br/><a href='" link "'><img src='" picture "' /></a>"}{"<blockquote><a href='" link "'>" name "</a><br/>" description "</blockquote>"}{"<br/><br/> @ " place.name}
item_time= created_time
item_id= id
[facebook message/post]
mode=json
@ -66,3 +67,4 @@ items= comments.data
item_title= from.name
item_content= message
item_time= created_time
item_id= id

View File

@ -221,6 +221,9 @@ class Builder(object):
feedItem['content'] = self.string(item, 'item_content')
if 'item_time' in self.rule:
feedItem['updated'] = self.string(item, 'item_time')
if 'item_id' in self.rule:
feedItem['id'] = self.string(item, 'item_id')
feedItem['isPermaLink'] = False
self.feed.items.append(feedItem)