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 = (replace_hostname(link, "link")) or link
|
||||
news_item = (
|
||||
"\n{}\n{}\n{}\n"
|
||||
).format(str(title), str(link), str(feed_title))
|
||||
"\n{}\n{}\n{} [{}]\n"
|
||||
).format(
|
||||
str(title), str(link), str(feed_title), str(ix)
|
||||
)
|
||||
return news_item
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue