https://github.com/hexojs/hexo-migrator-rss
RSS migrator for Hexo.
https://github.com/hexojs/hexo-migrator-rss
hexo hexo-plugin
Last synced: 5 months ago
JSON representation
RSS migrator for Hexo.
- Host: GitHub
- URL: https://github.com/hexojs/hexo-migrator-rss
- Owner: hexojs
- License: mit
- Created: 2014-01-11T13:41:13.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2023-07-29T03:01:43.000Z (over 2 years ago)
- Last Synced: 2025-08-09T07:49:53.301Z (5 months ago)
- Topics: hexo, hexo-plugin
- Language: JavaScript
- Homepage: http://hexo.io/docs/migration.html
- Size: 154 KB
- Stars: 11
- Watchers: 9
- Forks: 13
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hexo-migrator-rss
[](https://github.com/hexojs/hexo-migrator-rss/actions?query=workflow%3ATester)
[](https://www.npmjs.com/package/hexo-migrator-rss)
Migrate your blog from Atom/RSS to [Hexo].
## Install
``` bash
$ npm install hexo-migrator-rss --save
```
## Usage
Execute the following command after installed. `source` is the file path or URL of Atom/RSS.
``` bash
$ hexo migrate rss [--options]
```
- **alias**: Populates the `alias` setting in the front-matter, for use with the [hexo-generator-alias](http://github.com/hexojs/hexo-generator-alias) module. This is useful for generating redirects.
- **limit**: Maximum number of posts to import from the feed. All posts are imported by default.
* Example:
``` bash
$ hexo migrate rss /path/atom.xml --limit 3
```
- **skipduplicate**: Skip posts with similar title as existing ones.
* If a feed contains a post titled 'Foo Bar' and there is an existing post named 'Foo-Bar.md', then that post will not be migrated.
* The comparison is case-insensitive; a post titled 'FOO BAR' will be skipped if 'foo-bar.md' exists.
* Without this option (default), this plugin will continue to migrate that post and create a post named 'Foo-Bar-1.md'
[Hexo]: https://hexo.io/