forked from sch/Slixfeed
Include entry Id in formed message
This commit is contained in:
parent
b06e1bc693
commit
8b313acd91
1 changed files with 4 additions and 2 deletions
|
@ -158,8 +158,10 @@ def list_unread_entries(result, feed_title):
|
||||||
link = remove_tracking_parameters(link)
|
link = remove_tracking_parameters(link)
|
||||||
link = (replace_hostname(link, "link")) or link
|
link = (replace_hostname(link, "link")) or link
|
||||||
news_item = (
|
news_item = (
|
||||||
"\n{}\n{}\n{}\n"
|
"\n{}\n{}\n{} [{}]\n"
|
||||||
).format(str(title), str(link), str(feed_title))
|
).format(
|
||||||
|
str(title), str(link), str(feed_title), str(ix)
|
||||||
|
)
|
||||||
return news_item
|
return news_item
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue