Include entry Id in formed message

This commit is contained in:
Schimon Jehudah 2024-01-09 16:00:01 +00:00
parent b06e1bc693
commit 8b313acd91

View file

@ -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