Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
Update RssMain.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
HalfStackZay committed Oct 8, 2019
1 parent 979bb85 commit ac8c7d8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions bin/main/com/andromeda/araserver/RssMain.kt
Original file line number Diff line number Diff line change
Expand Up @@ -32,26 +32,36 @@ object RssMain {
//World news
feeds[0] = "https://www.cbsnews.com/latest/rss/world"
feeds[1] = "http://feeds.foxnews.com/foxnews/world"
feeds[2] = "http://feeds.bbci.co.uk/news/world/rss.xml"
feeds[3] = "http://feeds.reuters.com/Reuters/worldNews"
}
2 -> {
// Us news
feeds[0] = "https://www.cbsnews.com/latest/rss/us"
feeds[1] = "http://feeds.foxnews.com/foxnews/national"
feeds[2] = "http://feeds.reuters.com/Reuters/domesticNews"
feeds[3] = "http://news.yahoo.com/rss/"
}
3 -> {
//Tech news
feeds[0] = "https://www.cnet.com/rss/news/"
feeds[1] = "http://www.foxnews.com/about/rss"
feeds[2] = "http://feeds.bbci.co.uk/news/technology/rss.xml"
feeds[3] = "https://hnrss.org/newest"
}
4 -> {
//Business news
feeds[0] = "http://feeds.reuters.com/reuters/businessNews"
feeds[1] = "https://www.espn.com/espn/rss/news/rss.xml"
feeds[2] = "http://feeds.bbci.co.uk/news/business/rss.xml"
feeds[3] = "http://feeds.reuters.com/reuters/businessNews"
}
else -> {
// general news
feeds[0] = "https://www.cbsnews.com/latest/rss/main/"
feeds[1] = "http://feeds.foxnews.com/foxnews/latest"
feeds[2] = "https://www.espn.com/espn/rss/news"
feeds[3] = "http://feeds.reuters.com/Reuters/worldNews"
}
}
//Declare Feed
Expand Down

0 comments on commit ac8c7d8

Please sign in to comment.