Add link to details page

This commit is contained in:
2026-08-30 14:48:53 +02:00
parent f3b7efde15
commit e82e8ced3d
+1 -10
View File
@@ -21,16 +21,6 @@ FEEDS = [
'url': 'https://repebblesearch.com/api/v1/apps?sort=release_date&order=desc&recently_updated=true&limit=50', 'url': 'https://repebblesearch.com/api/v1/apps?sort=release_date&order=desc&recently_updated=true&limit=50',
'name': 'Updated Apps', 'name': 'Updated Apps',
'description': 'Recently updated Pebble apps' 'description': 'Recently updated Pebble apps'
},
{
'url': 'https://repebblesearch.com/api/v1/apps?sort=release_date&order=desc&categories=Games'
'name': 'Games',
'description': 'Pebble games'
},
{
'url': 'https://repebblesearch.com/api/v1/apps?sort=release_date&order=desc',
'name': 'All Apps',
'description': 'All Pebble apps sorted by release date'
} }
] ]
@@ -109,6 +99,7 @@ def create_rss_feed(apps_data, feed_name, feed_description, output_file):
fe = fg.add_entry() fe = fg.add_entry()
fe.id(str(app_id)) # Ensure ID is a string fe.id(str(app_id)) # Ensure ID is a string
fe.title(str(app['title'])) # Ensure title is a string fe.title(str(app['title'])) # Ensure title is a string
fe.link(href=f'https://repebblesearch.com/apps/{app_id}', rel='alternate')
# Only set description if it's not empty # Only set description if it's not empty
if description: if description: