hexo-migrator-rss
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -11,3 +11,3 @@ var extend = hexo.extend, | ||
extend.migrator.register('rss', function(args){ | ||
var source = args.shift(), | ||
var source = args._.shift(), | ||
target = hexo.source_dir + '_posts/'; | ||
@@ -14,0 +14,0 @@ |
{ | ||
"name": "hexo-migrator-rss", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "RSS migrator plugin for Hexo", | ||
@@ -5,0 +5,0 @@ "main": "index", |
@@ -7,42 +7,8 @@ # RSS migrator plugin for [Hexo] | ||
### Install | ||
Execute the following command after installed. `source` is the file path or URL of RSS. | ||
``` | ||
npm install hexo-migrator-rss --save | ||
hexo migrate rss <source> | ||
``` | ||
### Enable | ||
Add `hexo-migrator-rss` to `plugins` in `_config.yml`. | ||
``` yaml | ||
plugins: | ||
- hexo-migrator-rss | ||
``` | ||
### Disable | ||
Remove `hexo-migrator-rss` from `plugins` in `_config.yml`. | ||
``` yaml | ||
plugins: | ||
- hexo-migrator-rss | ||
``` | ||
### Update | ||
Execute the following command. | ||
``` | ||
npm update | ||
``` | ||
### Uninstall | ||
Execute the following command. Don't forget to disable the plugin before uninstalling. | ||
``` | ||
npm uninstall hexo-migrator-rss | ||
``` | ||
[Hexo]: http://zespia.tw/hexo |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3079
13