Comments (1)
fun fetchFeed(rssFeedUrl: String): MutableList<Article> {
var articleList = mutableListOf<Article>()
launch(coroutineContext) {
try {
Timber.tag(this.javaClass.toString()).d("Feed will be read.")
val reader = RSSReader()
val feed = reader.load(rssFeedUrl)
Timber.tag(this.javaClass.toString()).d("Title is> ${feed.title}")
val i = 5
} catch (e: Exception) {
Timber.tag(this.javaClass.toString()).e("Error hapened. ${e.message}")
e.printStackTrace()
}
}
return articleList
}
from android-rss.
Related Issues (20)
- How to handle Java.net.UnknownHostException ? HOT 3
- Support for changing RSSHandler::RSS_ITEM HOT 2
- Request: dump of XML to a string HOT 3
- Packege Names HOT 1
- Enclosure null HOT 1
- Gradle support + AAR on maven? HOT 26
- README extension
- org.mcsoxford.rss.RSSFault: java.text.ParseException: Unparseable date: "Fri, 12 Jun 2015 09:00 EDT" HOT 5
- Make RSSBase, RSSFeed and RSSItem Parcelable HOT 14
- FATAL EXCEPTION: AsyncTask #1 when no internet. HOT 4
- Android Studio implementation HOT 4
- Not Working well with some rss urls HOT 8
- Possible bug in MediaAttributes.java, inValue function HOT 2
- Replace HttpClient with HttpURLConnection HOT 6
- Add possibility to add new tags HOT 4
- Rfc822DateParser is not thread safe HOT 3
- Proguard Rules - Suggestion HOT 2
- Hi, do you plan to support parsing enclosure tag from xml? HOT 1
- thread will block forever when server not return all data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-rss.