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

Commit

Permalink
added field for spanish news
Browse files Browse the repository at this point in the history
  • Loading branch information
fulton committed Oct 20, 2019
1 parent 14beb1b commit 8184b37
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/java/com/andromeda/araserver/pages/RssMain.kt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ object RssMain {
feeds[2] = "http://feeds.bbci.co.uk/news/business/rss.xml"
feeds[3] = "http://feeds.reuters.com/reuters/businessNews"
}
5 -> {
//world news in spanish
}
6-> {
//tech news in spanish
}
7-> {
//Business news in spanish
}
else -> {
// general news in english
feeds[0] = "https://www.cbsnews.com/latest/rss/main/"
Expand Down

0 comments on commit 8184b37

Please sign in to comment.