parent
3e2c4de833
commit
84377a3f36
|
@ -53,6 +53,7 @@ item_title= from.name {" > " to.data.name<", ">}
|
||||||
item_link= actions.link[0]
|
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_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_time= created_time
|
||||||
|
item_id= id
|
||||||
|
|
||||||
[facebook message/post]
|
[facebook message/post]
|
||||||
mode=json
|
mode=json
|
||||||
|
@ -66,3 +67,4 @@ items= comments.data
|
||||||
item_title= from.name
|
item_title= from.name
|
||||||
item_content= message
|
item_content= message
|
||||||
item_time= created_time
|
item_time= created_time
|
||||||
|
item_id= id
|
||||||
|
|
|
@ -221,6 +221,9 @@ class Builder(object):
|
||||||
feedItem['content'] = self.string(item, 'item_content')
|
feedItem['content'] = self.string(item, 'item_content')
|
||||||
if 'item_time' in self.rule:
|
if 'item_time' in self.rule:
|
||||||
feedItem['updated'] = self.string(item, 'item_time')
|
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)
|
self.feed.items.append(feedItem)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue