Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kaakaa/hatena2md

Hatena diaries entry convert to markdown style by pandoc-ruby
https://github.com/kaakaa/hatena2md

Last synced: 23 days ago
JSON representation

Hatena diaries entry convert to markdown style by pandoc-ruby

Awesome Lists containing this project

README

        

Hatena2md
=========

Hatena2md is app to get hatena diary entries in markdown style.

Get all hatena diary entries by [Hatena Atompub](developer.hatena.ne.jp/ja/documents/blog/apis/atom).
And convert that entries to markdown style by [pandoc-ruby](https://github.com/alphabetum/pandoc-ruby).

**You must install [Pandoc](http://johnmacfarlane.net/pandoc/) to use pandoc-ruby.**

USAGE
-----

Firstly edit auth.yml.
Write Hatena-id and password in auth.yml.

auth.yml
```
id: you
pass: password
```

Next, type follow command.

```
bundle install --path vendor/bundle
bundle exec ruby hatena2md.rb
```

And then you get all hatena diary entries in HTML and Markdown in follow directries.

```
Hatena2md
\html
\source
```

License
----------
Copyright © 2013 kaakaa
Distributed under the terms of [MIT License][mit].

[MIT]: http://www.opensource.org/licenses/mit-license.php