An open API service indexing awesome lists of open source software.

https://github.com/azu/ldr-export-opml

Convert exported json from LDR to opml with Rate.
https://github.com/azu/ldr-export-opml

feed ldr migration rate rss tool

Last synced: 2 months ago
JSON representation

Convert exported json from LDR to opml with Rate.

Awesome Lists containing this project

README

        

# ldr-export-opml [![Build Status](https://travis-ci.org/azu/ldr-export-opml.svg?branch=master)](https://travis-ci.org/azu/ldr-export-opml)

Convert exported json from LDR to opml with rate.

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

[Live Dwango Reader](http://reader.livedoor.com/reader/ "Live Dwango Reader")から他のRSSリーダへ移行する際に、レートデータを維持して移行する用途です。

## 必要なもの

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

## Install

Install with [npm](https://www.npmjs.com/):

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](https://monosnap.com/file/abUjuGNgDfX317alNW0j42p1gxM8SO.png)

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

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

## 確認環境

- [x] [Inoreader](http://www.inoreader.com/ "Inoreader -")

## Changelog

See [Releases page](https://github.com/azu/ldr-export-opml/releases).

## 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](https://github.com/azu/ldr-export-opml/issues).

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

- [github/azu](https://github.com/azu)
- [twitter/azu_re](https://twitter.com/azu_re)

## License

MIT © azu