{"id":18487352,"url":"https://github.com/jameslawler/react-native-rss-parser","last_synced_at":"2025-12-30T00:34:53.708Z","repository":{"id":29241719,"uuid":"118977620","full_name":"jameslawler/react-native-rss-parser","owner":"jameslawler","description":"React Native compatible package to parse RSS feeds","archived":false,"fork":false,"pushed_at":"2023-03-19T09:15:54.000Z","size":329,"stargazers_count":87,"open_issues_count":21,"forks_count":43,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-30T16:36:31.327Z","etag":null,"topics":["javascript","react-native","rss","rss-parser"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/jameslawler.png","metadata":{"files":{"readme":"README.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}},"created_at":"2018-01-25T22:59:49.000Z","updated_at":"2024-12-04T03:56:44.000Z","dependencies_parsed_at":"2024-06-18T16:49:55.087Z","dependency_job_id":"a83eecc5-ab1e-4ea7-be42-40dca31d39a3","html_url":"https://github.com/jameslawler/react-native-rss-parser","commit_stats":{"total_commits":41,"total_committers":6,"mean_commits":6.833333333333333,"dds":"0.12195121951219512","last_synced_commit":"8e3f0f5eab45b9639bb10baee1069669aea368b7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jameslawler%2Freact-native-rss-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jameslawler%2Freact-native-rss-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jameslawler%2Freact-native-rss-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jameslawler%2Freact-native-rss-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jameslawler","download_url":"https://codeload.github.com/jameslawler/react-native-rss-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247922742,"owners_count":21018852,"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","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":["javascript","react-native","rss","rss-parser"],"created_at":"2024-11-06T12:50:25.951Z","updated_at":"2025-12-30T00:34:53.681Z","avatar_url":"https://github.com/jameslawler.png","language":"JavaScript","readme":"# react-native-rss-parser\n\n\u003e React Native compatible RSS parser\n\n[![npm version](https://badge.fury.io/js/react-native-rss-parser.svg)](https://badge.fury.io/js/react-native-rss-parser)\n[![Build Status](https://api.travis-ci.org/jameslawler/react-native-rss-parser.png?branch=master)](https://travis-ci.org/jameslawler/react-native-rss-parser)\n\nParse RSS data into a simple object structure. Currently supports;\n\n- RSS 2.0 specification\n- Atom 1.0 specification\n- Itunes elements for both RSS 2.0 and Atom 1.0 feeds\n\n## Installation\n\n```sh\nnpm install react-native-rss-parser --save\n```\n\n## Usage example\n\n```js\nimport * as rssParser from 'react-native-rss-parser';\n\nreturn fetch('http://www.nasa.gov/rss/dyn/breaking_news.rss')\n  .then((response) =\u003e response.text())\n  .then((responseData) =\u003e rssParser.parse(responseData))\n  .then((rss) =\u003e {\n    console.log(rss.title);\n    console.log(rss.items.length);\n  });\n```\n\n## Parsed model\n\n```js\n{\n  type: undefined,            // either `rss-v2` or `atom-v1`\n  title: undefined,           // title of the channel\n  links: [{\n    url: undefined,           // url of the channel\n    rel: undefined            // type of url (eg. alternate)\n  }],\n  description: undefined,     // description of the channel\n  language: undefined,        // language of the channel in `en-us`\n  copyright: undefined,       // copyright information about the channel\n  authors: [{\n    name: undefined           // channel author names\n  }],\n  lastUpdated: undefined,     // last updated date for the channel\n  lastPublished: undefined,   // last published date for the channel\n  categories: [{\n    name: undefined           // categories the channel belong too\n  }],\n  image: {\n    url: undefined,           // channel image url\n    title: undefined,         // channel image title\n    description: undefined,   // channel image description\n    width: undefined,         // channel image width (pixels)\n    height: undefined         // channel image height (pixels)\n  },\n  itunes: {                   // itunes specific channel information\n    author: [{\n      name: undefined         // channel author names\n    }],\n    block: undefined,         // if `yes` then the entire podcast isn't shown in iTunes directory\n    categories: [{\n      name: undefined,        // channel category names\n      subCategories:[{\n        name: undefined       // sub category names\n      }]\n    }],\n    image: undefined,         // channel image url\n    explicit: undefined,      // `yes`/`no` to indicate if channel contains explicit content\n    complete: undefined,      // `yes` indicates the feed won't publish any new items in the future\n    newFeedUrl: undefined,    // a url pointing to the new feed location\n    owner: {\n      name: undefined,        // owner name of the channel\n      email: undefined,       // owner email address of the channel\n    },\n    subtitle: undefined,      // sub title of the channel\n    summary: undefined,       // summary of the channel\n  },\n  items: [{                   // list of items in the feed\n    id: undefined,            // item id\n    title: undefined,         // item title\n    imageUrl: undefined,      // item image url\n    links: [{\n      url: undefined,         // item link url\n      rel: undefined          // type of item link\n    }],\n    description: undefined,   // item description\n    content: undefined,       // item HTML content\n    categories: [{\n      name: undefined         // categories the item belongs too\n    }],\n    authors: [{\n      name: undefined         // item author names\n    }],\n    published: undefined,     // item published date\n    enclosures: [{\n      url: undefined,         // item media url\n      length: undefined,      // item media length (bytes)\n      mimeType: undefined     // item media mime type (eg audio/mpeg)\n    }],\n    itunes: {                 // itunes specific item information\n      authors: [{\n        name: undefined,      // item author names\n      }],\n      block: undefined,       // `yes` indicates the item won't be displayed in the iTunes directory\n      duration: undefined,    // HH:MM:SS length of the item\n      explicit: undefined,    // `yes`/`no` to indicate if item contains explicit content\n      image: undefined,       // image url for the item\n      isClosedCaptioned: undefined, // `yes` indicates if the item contains closed captioning\n      order: undefined,       // item order number\n      subtitle: undefined,    // item subtitle\n      summary: undefined,     // item summary\n    }\n  }]\n}\n```\n\n## Model mappings\n\n### Top Level elements\n\n| Parsed Value | RSS v2.0       | Atom v1.0 |\n| ------------ | -------------- | --------- |\n| title        | title          | title     |\n| links        | link           | link      |\n| description  | description    | subtitle  |\n| language     | language       |           |\n| copyright    | copyright      | rights    |\n| authors      | managingEditor | author    |\n| published    | pubDate        | published |\n| updated      | lastBuildDate  | updated   |\n| categories   | category       | category  |\n| image        | image          | logo      |\n| items        | item           | entry     |\n\n### Item / Entry Level elements\n\n| Parsed Value | RSS v2.0              | Atom v1.0   |\n| ------------ | --------------------- | ----------- |\n| id           | guid                  | id          |\n| title        | title                 | title       |\n| imageUrl     |                       | icon        |\n| links        | link                  | link        |\n| description  | description           | summary     |\n| content      | content:encoded       | content     |\n| categories   | category / dc:subject | category    |\n| authors      | author / dc:creator   | contributor |\n| published    | pubDate / dc:date     | published   |\n| enclosures   | enclosures            | link        |\n\n## CHANGELOG\n\n### 1.5.1\n\n- Bug Fix: \\_this.getElementTextContentArray is not a function [issue #16](https://github.com/jameslawler/react-native-rss-parser/issues/16) (thanks to julianbragachi)\n\n### 1.5.0\n\n- Updated xmldom to version 0.3.0\n- Change tests to use Jest to ensure refactoring did not break anything (using snapshot tests)\n- Updated entire codebase to use up-to-date JavaScript syntax (arrow functions, const \u0026 let instead of var)\n- Bug Fix: Atom v1 should return published date when no updated date available (thanks to Serra19)\n\n## Development setup\n\nClone this project from [GitHub](https://github.com/jameslawler/react-native-rss-parser)\n\n```sh\nnpm install\nnpm test\n```\n\n## Bugs / feature requests\n\nIf you find any bugs or have a feature request, please create an issue in [GitHub](https://github.com/jameslawler/react-native-rss-parser).\n\n## Contributing\n\n1. Fork it (\u003chttps://github.com/jameslawler/react-native-rss-parser\u003e)\n2. Create your feature branch (`git checkout -b feature/fooBar`)\n3. Commit your changes (`git commit -am 'Add some fooBar'`)\n4. Push to the branch (`git push origin feature/fooBar`)\n5. Create a new Pull Request\n\n## License\n\nDistributed under the MIT license. See `LICENSE` for more information.\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjameslawler%2Freact-native-rss-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjameslawler%2Freact-native-rss-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjameslawler%2Freact-native-rss-parser/lists"}