{"id":19574345,"url":"https://github.com/straticjs/stratic-indexes-to-rss","last_synced_at":"2026-04-15T16:32:48.985Z","repository":{"id":57371894,"uuid":"78552779","full_name":"straticjs/stratic-indexes-to-rss","owner":"straticjs","description":"Transform Stratic indexes into RSS feeds","archived":false,"fork":false,"pushed_at":"2019-05-09T08:22:24.000Z","size":61,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T11:18:13.668Z","etag":null,"topics":["gulp","gulp-plugin","hacktoberfest","javascript","rss","stratic"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/straticjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-10T16:38:35.000Z","updated_at":"2021-10-07T16:59:13.000Z","dependencies_parsed_at":"2022-09-26T16:41:05.050Z","dependency_job_id":null,"html_url":"https://github.com/straticjs/stratic-indexes-to-rss","commit_stats":null,"previous_names":["strugee/stratic-indexes-to-rss"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/straticjs/stratic-indexes-to-rss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/straticjs%2Fstratic-indexes-to-rss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/straticjs%2Fstratic-indexes-to-rss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/straticjs%2Fstratic-indexes-to-rss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/straticjs%2Fstratic-indexes-to-rss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/straticjs","download_url":"https://codeload.github.com/straticjs/stratic-indexes-to-rss/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/straticjs%2Fstratic-indexes-to-rss/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31849767,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["gulp","gulp-plugin","hacktoberfest","javascript","rss","stratic"],"created_at":"2024-11-11T06:40:11.700Z","updated_at":"2026-04-15T16:32:48.971Z","avatar_url":"https://github.com/straticjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `stratic-indexes-to-rss`\n\n[Gulp][1] plugin to convert [Stratic][2] indexes into RSS feeds\n\n## Installation\n\n    npm install stratic-indexes-to-rss\n\n## Usage\n\nThe module exports a function that takes two parameters:\n\n* `feedOpts` (`Object`) - options for the feed which are passed (with some additions) directly to the [`rss`][3] module\n* `urlPrefix` (`String`) - the URL under which all blog resources are published; also normally the main index's first page's URL. Used for things like converting relative URLs to absolute URLs and computing feed metadata URLs.\n\nThis function returns an object-mode through stream suitable for use inside `.pipe()`.\n\n## Examples\n\nMinimal `gulpfile.js` for this module to work:\n\n```js\nvar gulp = require('gulp');\nvar frontMatter = require('gulp-gray-matter');\nvar straticDateInPath = require('stratic-date-in-path');\nvar starticIndexesToRss = require('stratic-indexes-to-rss');\n\ngulp.task('rss', function() {\n    gulp.src('*.md')\n        .pipe(frontMatter())\n        .pipe(straticDateInPath())\n        .pipe(addsrc('src/blog/index.jade'))\n        .pipe(postsToIndex('index.jade'))\n        .pipe(straticIndexesToRss({title: 'Blag!'}, 'https://example.com/blog/'));\n});\n```\n\nComplete example `gulpfile.js`:\n\n```js\nvar gulp = require('gulp');\nvar frontMatter = require('gulp-gray-matter');\nvar remark = require('gulp-remark');\nvar remarkHtml = require('remark-html');\nvar straticDateInPath = require('stratic-date-in-path');\nvar addsrc = require('gulp-add-src');\nvar postsToIndex = require('stratic-posts-to-index');\nvar straticIndexesToRss = require('stratic-indexes-to-rss');\nvar rename = require('gulp-rename');\n\ngulp.task('rss', function() {\n    gulp.src('*.md')\n        .pipe(frontMatter())\n        .pipe(remark().use(remarkHtml))\n        .pipe(straticDateInPath())\n        .pipe(addsrc('src/blog/index.jade'))\n        .pipe(postsToIndex('index.jade'))\n        .pipe(straticIndexesToRss({title: 'Blag!'}, 'https://example.com/blog/'));\n        .pipe(rename({ extname: '.rss' }))\n        .pipe(gulp.dest('dist/blog'));\n});\n```\n\n## Code of Conduct\n\nPlease note that StraticJS is developed under the [Contributor Covenant][4] Code of Conduct. Project contributors are expected to respect these terms.\n\nFor the full Code of Conduct, see [CODE_OF_CONDUCT.md][5]. Violations may be reported to \u003calex@strugee.net\u003e.\n\n## License\n\nLGPL 3.0+\n\n## Author\n\nAJ Jordan \u003calex@strugee.net\u003e\n\n [1]: http://gulpjs.com/\n [2]: https://github.com/straticjs/generator-stratic\n [3]: https://npmjs.com/package/rss\n [4]: http://contributor-covenant.org/\n [5]: https://github.com/straticjs/stratic-indexes-to-rss/blob/master/CODE_OF_CONDUCT.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstraticjs%2Fstratic-indexes-to-rss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstraticjs%2Fstratic-indexes-to-rss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstraticjs%2Fstratic-indexes-to-rss/lists"}