Add link to details page
This commit is contained in:
+1
-10
@@ -21,16 +21,6 @@ FEEDS = [
|
||||
'url': 'https://repebblesearch.com/api/v1/apps?sort=release_date&order=desc&recently_updated=true&limit=50',
|
||||
'name': 'Updated 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.id(str(app_id)) # Ensure ID 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
|
||||
if description:
|
||||
|
||||
Reference in New Issue
Block a user