Skip to content

Commit

Permalink
Merge branch 'release/2.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
prof18 committed Jan 2, 2019
2 parents 774394c + ee34ff0 commit 6e5fa3a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This is an Android library to parse a RSS Feed. You can retrive the following in
The library is uploaded in jCenter, so you can easily add the dependency:
```Gradle
dependencies {
compile 'com.prof.rssparser:rssparser:2.0.0'
compile 'com.prof.rssparser:rssparser:2.0.1'
}
```
#### Use:
Expand Down Expand Up @@ -117,9 +117,10 @@ You can also download the <a href="https://github.com/prof18/RSS-Parser/blob/mas
Please use the issues tracker only to report issues. If you have any kind of question you can ask it on [the blog post that I wrote](https://medium.com/@marcogomiero/how-to-easily-handle-rss-feeds-on-android-with-rss-parser-8acc98e8926f)

## Changelog
- 2 January 2019 - Fixed an error on Date parsing - Version 2.0.1
- 22 December 2018 - Rewrote library with Kotlin - Version 2.0.0
- 8 December 2018 - Include thrown exception in onError() callback (PR #22) - Version 1.4.5
- 7 Semptember 2018 - Add more sources for the featured image. Removed unused resources and improved the parsing of the image. Fixed dependency errors. - Version 1.4.4
- 7 Semptember 2018 - Added more sources for the featured image. Removed unused resources and improved the parsing of the image. Fixed dependency errors. - Version 1.4.4
- 14 December 2017 - Little fixes on Error Management - Version 1.3.1
- 13 December 2017 - Improved Error Management - Version 1.3
- 10 December 2017 - Added support for the categories - Version 1.2
Expand Down
6 changes: 3 additions & 3 deletions rssparser/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
defaultConfig {
minSdkVersion 14
targetSdkVersion 28
versionCode 20000
versionName "2.0.0"
versionCode 20001
versionName "2.0.1"
}

buildTypes {
Expand All @@ -21,7 +21,7 @@ android {
}

dependencies {
implementation 'com.squareup.okhttp3:okhttp:3.10.0'
implementation 'com.squareup.okhttp3:okhttp:3.11.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.0'
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.0"
Expand Down
2 changes: 1 addition & 1 deletion rssparser/publish.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.bintray'

version '2.0.0'
version '2.0.1'
group 'com.prof.rssparser'

publishing {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ object CoreXMLParser {
} else if (xmlPullParser.name.equals(RSSKeywords.RSS_ITEM_PUB_DATE, ignoreCase = true)) {
// RSS date format is the following: Sat, 15 Dec 2018 12:00:32 +0000
// https://validator.w3.org/feed/docs/rss2.html
val sdf = SimpleDateFormat("EEE, d MMM yyyy HH:mm:ss Z", Locale.getDefault())
val sdf = SimpleDateFormat("EEE, d MMM yyyy HH:mm:ss Z", Locale.ENGLISH)
currentArticle.pubDate = sdf.parse(xmlPullParser.nextText())
}

Expand Down

0 comments on commit 6e5fa3a

Please sign in to comment.