forked from sch/Slixfeed
Fix display count of results;
Thank you. mirux.
This commit is contained in:
parent
5104919588
commit
13b7c94f17
3 changed files with 15 additions and 8 deletions
|
@ -188,13 +188,13 @@ tags = ["linux", "debian", "ubuntu", "industry"]
|
|||
lang = "en"
|
||||
name = "Dig Deeper"
|
||||
link = "https://diggy.club/atom.xml"
|
||||
tags = ["linux", "health", "computer", "wisdom", "life", "industry"]
|
||||
tags = ["linux", "health", "computer", "wisdom", "research", "life", "industry"]
|
||||
|
||||
[[feeds]]
|
||||
lang = "en"
|
||||
name = "Earth Newspaper"
|
||||
link = "https://earthnewspaper.com/feed/atom/"
|
||||
tags = ["technology", "world", "war", "politics"]
|
||||
tags = ["technology", "sports", "culture", "world", "war", "politics"]
|
||||
|
||||
[[feeds]]
|
||||
lang = "en"
|
||||
|
@ -380,7 +380,7 @@ tags = ["design", "diy", "household"]
|
|||
lang = "en-us"
|
||||
name = "12bytes.org"
|
||||
link = "https://12bytes.org/feed.xml"
|
||||
tags = ["conspiracy", "health", "government", "war", "world"]
|
||||
tags = ["conspiracy", "linux", "computer", "security", "privacy", "culture", "health", "government", "war", "world"]
|
||||
|
||||
[[feeds]]
|
||||
lang = "en-us"
|
||||
|
@ -430,6 +430,12 @@ name = "Disroot Journal"
|
|||
link = "https://disroot.org/en/blog.atom"
|
||||
tags = ["decentralization", "privacy"]
|
||||
|
||||
[[feeds]]
|
||||
lang = "en-us"
|
||||
name = "Earthing Institute"
|
||||
link = "https://earthinginstitute.net/feed/atom/"
|
||||
tags = ["health", "meditation", "yoga"]
|
||||
|
||||
[[feeds]]
|
||||
lang = "en-us"
|
||||
name = "F-Droid"
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
__version__ = '0.1.104'
|
||||
__version_info__ = (0, 1, 104)
|
||||
__version__ = '0.1.105'
|
||||
__version_info__ = (0, 1, 105)
|
||||
|
|
|
@ -418,7 +418,7 @@ class XmppCommands:
|
|||
result_link = result['link']
|
||||
message += ('Title : {result_name}\n'
|
||||
'Link : {result_link}\n\n')
|
||||
message += '```\nTotal of {len(results)} feeds.'
|
||||
message += f'```\nTotal of {len(results)} feeds.'
|
||||
elif result['exist']:
|
||||
result_link = result['link']
|
||||
result_name = result['name']
|
||||
|
@ -488,7 +488,7 @@ class XmppCommands:
|
|||
"Link : {}\n"
|
||||
"\n"
|
||||
.format(result['name'], result['link']))
|
||||
message += f'```\nTotal of {results} feeds.'
|
||||
message += f"```\nTotal of {len(results)} feeds."
|
||||
elif result['exist']:
|
||||
message = ('> {}\nNews source "{}" is already '
|
||||
'listed in the subscription list at '
|
||||
|
@ -771,7 +771,8 @@ class XmppCommands:
|
|||
message = Feed.view_entry(url, feed, num)
|
||||
break
|
||||
else:
|
||||
result = await FeedDiscovery.probe_page(self.settings_network, self.pathnames, url, document)
|
||||
result = await FeedDiscovery.probe_page(
|
||||
self.settings_network, self.pathnames, url, document)
|
||||
if isinstance(result, list):
|
||||
results = result
|
||||
message = f"Syndication feeds found for {url}\n\n```\n"
|
||||
|
|
Loading…
Reference in a new issue