{"id":20603350,"url":"https://github.com/metalsmith/rss","last_synced_at":"2025-04-15T01:55:01.690Z","repository":{"id":31329551,"uuid":"34892099","full_name":"metalsmith/rss","owner":"metalsmith","description":"Metalsmith plugin to generate an rss feed","archived":false,"fork":false,"pushed_at":"2023-03-06T13:56:33.000Z","size":655,"stargazers_count":9,"open_issues_count":9,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T13:51:14.354Z","etag":null,"topics":["feed","metalsmith","metalsmith-plugin","rss","rss-feed"],"latest_commit_sha":null,"homepage":"","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/metalsmith.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-01T06:22:56.000Z","updated_at":"2023-05-19T00:04:50.000Z","dependencies_parsed_at":"2023-02-16T07:31:31.884Z","dependency_job_id":null,"html_url":"https://github.com/metalsmith/rss","commit_stats":null,"previous_names":["moox/metalsmith-rss"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metalsmith%2Frss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metalsmith%2Frss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metalsmith%2Frss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metalsmith%2Frss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metalsmith","download_url":"https://codeload.github.com/metalsmith/rss/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975315,"owners_count":21192208,"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":["feed","metalsmith","metalsmith-plugin","rss","rss-feed"],"created_at":"2024-11-16T09:17:01.289Z","updated_at":"2025-04-15T01:55:01.670Z","avatar_url":"https://github.com/metalsmith.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @metalsmith/rss\n\n[![npm version][npm-badge]][npm-url]\n[![ci: build][ci-badge]][ci-url]\n[![metalsmith: plugin][metalsmith-badge]][metalsmith-url]\n\n\u003e Metalsmith plugin to generate rss feed\n\n## Installation\n\n```console\n$ npm install @metalsmith/rss\n```\n\n## Usage\n\n```js\nimport Metalsmith from 'metalsmith'\nimport collections from 'metalsmith-collections'\nimport rss from '@metalsmith/rss'\n\nnew Metalsmith('./')\n  .use(\n    collections({\n      //...\n    })\n  )\n  .use(\n    rss({\n      feedOptions: {\n        title: 'test',\n        site_url: 'http://test.test'\n      }\n    })\n  )\n  .build((err) =\u003e {\n    if (err) {\n      throw err\n    }\n  })\n```\n\n### Options\n\n#### `feedOptions`\n\n[RSS options](https://github.com/dylang/node-rss)\n\n`site_url` is mandatory.\n\n#### `collection` (default: `\"posts\"`)\n\nCollection to use\n\n#### `limit` (default: `20`)\n\nLimit of items to put in the rss feed\n\n#### `encoding` (default: `\"utf8\"`)\n\nRSS encoding\n\n### `destination` (default: `\"rss.xml\"`)\n\nDestination of the rss feed\n\n## [Changelog](CHANGELOG.md)\n\n## [License](LICENSE)\n\n[npm-badge]: https://img.shields.io/npm/v/@metalsmith/rss.svg\n[npm-url]: https://www.npmjs.com/package/@metalsmith/rss\n[metalsmith-badge]: https://img.shields.io/badge/metalsmith-plugin-green.svg?longCache=true\n[metalsmith-url]: http://metalsmith.io\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetalsmith%2Frss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetalsmith%2Frss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetalsmith%2Frss/lists"}