ldr-export-opml

1.0.2 • Public • Published

ldr-export-opml Build Status

Convert exported json from LDR to opml with rate.

LDRのフィードデータからレート(★★★☆☆)をカテゴリとしたOPML(XML)ファイルを作成するツールです。

Live Dwango Readerから他のRSSリーダへ移行する際に、レートデータを維持して移行する用途です。

必要なもの

  • Node.js 6>=
  • 後述するldr.json

Install

Install with npm:

npm install ldr-export-opml -g

Usage

Usage
  $ ldr-export-opml ldr.json

Options:

  --output path to output
  
Examples
  $ ldr-export-opml path/to/ldr.json
  $ cat path/to/ldr.json | ldr-export-opml 

How to get ldr.json

ldr.json is response of http://reader.livedoor.com/api/subs?unread=0 API.

image

  1. ブラウザの開発者ツールでネットワークを開く
  2. "編集"をクリック
  3. http://reader.livedoor.com/api/subs?unread=0へのリクエストを探す
  4. レスポンスをコピーして ldr.json として保存する

ldr.jsonにはカテゴリ、レートなどの情報が含まれています。

確認環境

Changelog

See Releases page.

Running tests

Install devDependencies and Run npm test:

npm i -d && npm test

Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, please create an issue.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

License

MIT © azu

Package Sidebar

Install

npm i ldr-export-opml

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • azu