{"id":31176124,"url":"https://github.com/w3stling/rssreader","last_synced_at":"2025-09-19T13:11:40.746Z","repository":{"id":45123103,"uuid":"135822086","full_name":"w3stling/rssreader","owner":"w3stling","description":"A simple Java library for reading RSS and Atom feeds","archived":false,"fork":false,"pushed_at":"2025-09-11T04:28:02.000Z","size":3478,"stargazers_count":181,"open_issues_count":5,"forks_count":25,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-11T07:56:53.250Z","etag":null,"topics":["atom","atom-feed","atom-lib","atom-library","atom-reader","feed-reader","java","java-library","lib","library","rss","rss-feed","rss-feed-parser","rss-lib","rss-library","rss-parser","rss-reader"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/w3stling.png","metadata":{"files":{"readme":".github/README-template.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-06-02T13:57:33.000Z","updated_at":"2025-09-08T20:09:51.000Z","dependencies_parsed_at":"2023-02-18T03:30:56.241Z","dependency_job_id":"d5b4afad-44bf-4e67-9ad1-edcaca9390cb","html_url":"https://github.com/w3stling/rssreader","commit_stats":null,"previous_names":[],"tags_count":45,"template":false,"template_full_name":null,"purl":"pkg:github/w3stling/rssreader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3stling%2Frssreader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3stling%2Frssreader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3stling%2Frssreader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3stling%2Frssreader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/w3stling","download_url":"https://codeload.github.com/w3stling/rssreader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3stling%2Frssreader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274997470,"owners_count":25387932,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-13T02:00:10.085Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["atom","atom-feed","atom-lib","atom-library","atom-reader","feed-reader","java","java-library","lib","library","rss","rss-feed","rss-feed-parser","rss-lib","rss-library","rss-parser","rss-reader"],"created_at":"2025-09-19T13:10:12.403Z","updated_at":"2025-09-19T13:11:40.738Z","avatar_url":"https://github.com/w3stling.png","language":"Java","readme":"RSS Reader\n==========\n\n[![Build](https://github.com/w3stling/rssreader/actions/workflows/build.yml/badge.svg)](https://github.com/w3stling/rssreader/actions/workflows/build.yml)\n[![Download](https://img.shields.io/badge/download-%%version%%-brightgreen.svg)](https://central.sonatype.com/artifact/com.apptasticsoftware/rssreader/%%version%%/overview)\n[![Javadoc](https://img.shields.io/badge/javadoc-%%version%%-blue.svg)](https://w3stling.github.io/rssreader/javadoc/%%version%%)\n[![License](http://img.shields.io/:license-MIT-blue.svg?style=flat-round)](http://apptastic-software.mit-license.org)   \n[![CodeQL](https://github.com/w3stling/rssreader/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/w3stling/rssreader/actions/workflows/codeql-analysis.yml)\n[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=w3stling_rssreader\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=w3stling_rssreader)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=w3stling_rssreader\u0026metric=coverage)](https://sonarcloud.io/summary/new_code?id=w3stling_rssreader)\n[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=w3stling_rssreader\u0026metric=bugs)](https://sonarcloud.io/summary/new_code?id=w3stling_rssreader)\n[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=w3stling_rssreader\u0026metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=w3stling_rssreader)\n[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=w3stling_rssreader\u0026metric=code_smells)](https://sonarcloud.io/summary/new_code?id=w3stling_rssreader)\n\n\u003e [!NOTE]\n\u003e From version 3.0.0:\n\u003e * New Java package name\n\u003e * New group ID in Maven / Gradle dependency declaration\n\u003e * Moved repository from `JCenter` to `Maven Central Repository`\n\nRSS Reader is a simple Java library for reading RSS and Atom feeds. It has zero 3rd party dependencies, a low memory footprint and can process large feeds. Requires at minimum Java 11.\n\nRSS (Rich Site Summary) is a type of web feed which allows users to access updates to online content in a\nstandardized, computer-readable format. It removes the need for the user to manually\ncheck the website for new content.\n\n\nExamples\n--------\n### Read RSS feed\nReads from a RSS (or Atom) feed.\n```java\nRssReader rssReader = new RssReader();\nList\u003cItem\u003e items = rssReader.read(URL)\n                            .toList();\n```\n\nExtract all items that contains the word football in the title.\n```java\nRssReader reader = new RssReader();\nStream\u003cItem\u003e rssFeed = reader.read(URL);\nList\u003cItem\u003e footballArticles = rssFeed.filter(i -\u003e i.getTitle().equals(Optional.of(\"football\")))\n                                     .toList();\n```\n\n### Read feed from a file\nReading from file using InputStream\n```java\nInputStream inputStream = new FileInputStream(\"/path/to/file\");\nList\u003cItem\u003e items = new RssReader().read(inputStream);\n                                  .toList();\n```\n\nReading from file using file URI\n```java\nList\u003cItem\u003e items = new RssReader().read(\"file:/path/to/file\");\n                                  .toList();\n```\n\n\n### Read from multiple feeds\nRead from multiple feeds into a single stream of items sorted in descending (newest first) publication date order and prints the title.\n```java\nList\u003cString\u003e urls = List.of(URL1, URL2, URL3, URL4, URL5); \nnew RssReader().read(urls)\n               .sorted()\n               .map(Item::getTitle)\n               .forEach(System.out::println);\n```\n\nTo change sort order to ascending (oldest first) publication date\n```java\n.sorted(ItemComparator.oldestPublishedItemFirst())\n```\nFor sorting on updated date instead of publication date\n```java\n.sorted(ItemComparator.newestUpdatedItemFirst())\n.sorted(ItemComparator.oldestUpdatedItemFirst())\n```\n\n\n### Podcast / iTunes module\nUse iTunes module for extracting data from [Podcast][4] specific tags and attributes.\n```java\nList\u003cItunesItem\u003e items = new ItunesRssReader().read(URL)\n                                              .toList();\n```\n\n### Custom RSS / Atom feed extensions\nSupport for mapping custom tags and attributes in feed to item and channel object.\n```java\nList\u003cItem\u003e items = new RssReader()\n             .addItemExtension(\"dc:creator\", Item::setAuthor)\n             .addItemExtension(\"dc:date\", Item::setPubDate)\n             .read(\"https://lwn.net/headlines/rss\")\n             .toList();\n```\n\nDownload\n--------\n\nDownload [the latest JAR][1] or grab via [Maven][2] or [Gradle][3].\n\n### Maven setup\nAdd dependency declaration:\n```xml\n\u003cproject\u003e\n    ...\n    \u003cdependencies\u003e\n        \u003cdependency\u003e\n            \u003cgroupId\u003ecom.apptasticsoftware\u003c/groupId\u003e\n            \u003cartifactId\u003erssreader\u003c/artifactId\u003e\n            \u003cversion\u003e%%version%%\u003c/version\u003e\n        \u003c/dependency\u003e\n    \u003c/dependencies\u003e\n    ...\n\u003c/project\u003e\n```\n\n### Gradle setup\nAdd dependency declaration:\n```groovy\ndependencies {\n    implementation 'com.apptasticsoftware:rssreader:%%version%%'\n}\n```\n\n\nMarkup Validation Services\n-------\nUseful links for validating feeds\n\n### RSS / Atom\nhttps://validator.w3.org/feed/ \u003cbr /\u003e\nhttps://www.feedvalidator.org/check.cgi\n\n### Podcast / iTunes\nhttps://podba.se/validate/ \u003cbr /\u003e\nhttps://www.castfeedvalidator.com/\n\n\n\nLicense\n-------\n\n    MIT License\n    \n    Copyright (c) %%year%%, Apptastic Software\n    \n    Permission is hereby granted, free of charge, to any person obtaining a copy\n    of this software and associated documentation files (the \"Software\"), to deal\n    in the Software without restriction, including without limitation the rights\n    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n    copies of the Software, and to permit persons to whom the Software is\n    furnished to do so, subject to the following conditions:\n    \n    The above copyright notice and this permission notice shall be included in all\n    copies or substantial portions of the Software.\n    \n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n    SOFTWARE.\n\n\n[1]: https://central.sonatype.com/artifact/com.apptasticsoftware/rssreader/%%version%%/overview\n[2]: https://maven.apache.org\n[3]: https://gradle.org\n[4]: https://help.apple.com/itc/podcasts_connect/#/itcb54353390","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw3stling%2Frssreader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fw3stling%2Frssreader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw3stling%2Frssreader/lists"}