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

Commit

Permalink
Merge pull request #26 from FultonBrowne/test
Browse files Browse the repository at this point in the history
fixed minor issue
  • Loading branch information
Fulton Browne committed Oct 8, 2019
2 parents d553036 + e8f7589 commit b83c0d4
Show file tree
Hide file tree
Showing 15 changed files with 11 additions and 170 deletions.
4 changes: 0 additions & 4 deletions bin/main/META-INF/MANIFEST.MF

This file was deleted.

Binary file removed bin/main/com/andromeda/araserver/GetInfo.class
Binary file not shown.
14 changes: 0 additions & 14 deletions bin/main/com/andromeda/araserver/GetUrl.kt

This file was deleted.

Binary file removed bin/main/com/andromeda/araserver/Hello.class
Binary file not shown.
Binary file removed bin/main/com/andromeda/araserver/OutputModel.class
Binary file not shown.
101 changes: 0 additions & 101 deletions bin/main/com/andromeda/araserver/RssMain.kt

This file was deleted.

Binary file removed bin/main/com/andromeda/araserver/Run.class
Binary file not shown.
Binary file removed bin/main/com/andromeda/araserver/SqlModel.class
Binary file not shown.
40 changes: 0 additions & 40 deletions bin/main/com/andromeda/araserver/Update.kt

This file was deleted.

Binary file removed bin/main/com/andromeda/araserver/apiStart.class
Binary file not shown.
Binary file removed bin/main/com/andromeda/araserver/equations.class
Binary file not shown.
Binary file removed bin/main/com/andromeda/araserver/locdec.class
Binary file not shown.
Binary file removed bin/main/com/andromeda/araserver/sort.class
Binary file not shown.
10 changes: 0 additions & 10 deletions bin/main/html/dashboard.html

This file was deleted.

12 changes: 11 additions & 1 deletion src/main/java/com/andromeda/araserver/pages/RssMain.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.andromeda.araserver.pages
package com.andromeda.araserver

import com.andromeda.araserver.util.Sort
import com.rometools.rome.feed.synd.SyndEntry
Expand Down Expand Up @@ -33,26 +33,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 b83c0d4

Please sign in to comment.