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

Commit

Permalink
Added spanish news sources to RssMain
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurolox committed Oct 21, 2019
1 parent 091d282 commit 3e279c8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/com/andromeda/araserver/pages/RssMain.kt
Original file line number Diff line number Diff line change
Expand Up @@ -36,34 +36,39 @@ object RssMain {
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"
feeds[4] = "https://e00-elmundo.uecdn.es/elmundo/rss/internacional.xml"
}
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/"
feeds[4] = "https://elpais.com/tag/rss/estados_unidos/a/"
}
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"
feeds[4] = "http://ep00.epimg.net/rss/tecnologia/portada.xml"
}
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"
feeds[4] = "https://e00-elmundo.uecdn.es/elmundo/rss/economia.xml"
}
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"
feeds[4] = "https://www.abc.es/rss/feeds/abc_ultima.xml"
}
}
//Declare Feed
Expand Down

0 comments on commit 3e279c8

Please sign in to comment.