Here are examples of how to create feeds from various sources using RSSHub:
1. YouTube Channel
To create a feed from a YouTube channel, use the following path:
/youtube/channel/:idExample:
/youtube/channel/UC_x5XG1OV2P6uZZ5FSM9TtwThis creates an RSS feed for the YouTube channel with the ID UC_x5XG1OV2P6uZZ5FSM9Ttw.
2. YouTube Playlist
To create a feed from a YouTube playlist, use the following path:
/youtube/playlist/:idExample:
/youtube/playlist/PL-osiE80TeTt2d9bfVyTiXJA-UTHn6WwUThis creates an RSS feed for the YouTube playlist with the ID PL-osiE80TeTt2d9bfVyTiXJA-UTHn6WwU.
3. YouTube Search Keywords
To create a feed from YouTube search keywords, use the following path:
/youtube/search/:keywordsExample:
/youtube/search/Linux+server+setupThis creates an RSS feed for YouTube search results with the keywords Linux server setup.
4. WordPress Website
To create a feed from a WordPress website, use the following path:
/wordpress/:domainExample:
/wordpress/example.comThis creates an RSS feed for the WordPress website at example.com.
5. Non-WordPress Website
For non-WordPress websites, you can use a generic RSSHub route if supported, or you might need to create a custom parser.
For example, to create a feed from a generic website, you can use:
/webpage/:urlExample:
/webpage/https%3A%2F%2Fexample.comThis creates an RSS feed for the website at https://example.com.
6. arXiv Papers
To create a feed from arXiv papers, use the following path:
/arxiv/:queryExample:
/arxiv/cs.LGThis creates an RSS feed for arXiv papers in the cs.LG (Machine Learning) category.
7. Twitter User
To create a feed from a Twitter user's timeline, use the following path:
/twitter/user/:idExample:
/twitter/user/jackThis creates an RSS feed for the Twitter user jack.
8. Instagram User
To create a feed from an Instagram user's posts, use the following path:
/instagram/user/:idExample:
/instagram/user/natgeoThis creates an RSS feed for the Instagram user natgeo.
9. GitHub Repository Releases
To create a feed for releases of a GitHub repository, use the following path:
/github/release/:user/:repoExample:
/github/release/vuejs/vueThis creates an RSS feed for the releases of the vue repository under the vuejs user.
10. Reddit Subreddit
To create a feed from a subreddit, use the following path:
/reddit/subreddit/:subredditExample:
/reddit/subreddit/programmingThis creates an RSS feed for the programming subreddit.
11. Hacker News
To create a feed from Hacker News, use the following path:
/hackernews/:sectionExample:
/hackernews/frontpageThis creates an RSS feed for the front page of Hacker News.
12. Jianshu User
To create a feed from a Jianshu user, use the following path:
/jianshu/user/:idExample:
/jianshu/user/9f8b1e4c5c7aThis creates an RSS feed for the Jianshu user with the ID 9f8b1e4c5c7a.
13. Bilibli Channel
To create a feed from a Bilibili user's channel, use the following path:
/bilibili/user/video/:uidExample:
/bilibili/user/video/2267573This creates an RSS feed for the Bilibili user with the UID 2267573.
14. Steam News
To create a feed for Steam news for a specific app, use the following path:
/steam/news/:appidExample:
/steam/news/440This creates an RSS feed for the Steam news of the app with the AppID 440 (Team Fortress 2).
15. Product Hunt
To create a feed for Product Hunt's popular products, use the following path:
/producthunt/todayExample:
/producthunt/todayThis creates an RSS feed for today's popular products on Product Hunt.
Example URLs
To access these feeds, prepend your RSSHub server URL to these paths. For example, if your RSSHub server is hosted at https://rsshub.example.com, the full URL for the Twitter user example would be:
https://rsshub.example.com/twitter/user/jackFeel free to customize these routes based on your specific needs and the IDs or keywords relevant to your interests.