Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

converting Hatena diary to reST format

Project Description

Hatena2reST is for conversion from Hatena Diary to Tinkerer. Tinkerer is blog system of reST format that is powered by Sphinx. Exported data of Hatena Diary are four kinds format. Those are XML, Movable Type format, CSV and PDF. This tools support XML only.



Install Debian packages that Hatena2reST depends on

Hatena2reST depends on Python2.7, Sphinx, Tinkerer. Install Sphinx is:

$ sudo apt-get install python-sphinx

But Tinkerer are not yet official Debian packages, then download python-tinkerer from

Instal that choosing with one of three ways.

from source

$ git clone
$ cd hatena2rest
$ sudo python install


$ pip install hatena2rest

Debian package

Not yet official package, then download python-hatena2rest-x.x_all.deb from and install with dpkg command.:

$ wget
$ sudo dpkg -i python-hatena2rest_x.x-x_all.deb


  1. Export Hatena Diary with XML format.

  2. Execute htn2rst commandl.

    $ htn2rst your_hatena_id.xml

Retrieve your photo images when converting, execute htn2rst command with “-r/–retrieve” option.

$ htn2rst -r your_hatena_id.xml
  1. Change generated direcotry.

    $ cd ~/tmp/hatena2rest
  2. Edit necessary setting items of tineker conf file.

    $ edit
  3. Build from reST to HTML files with tinker command.

    $ tinker -b -q


0.1.1 (2012-09-14)

  • Fix convert categories and title with URI.

0.1 (2012-09-12)

  • Support input as XML format.
  • MovableType format is no longer supported.
  • Pystache is no longer used.

prototype (2012-03-31)

  • Prototype release


  • unit test
  • multi blog conversion with merging master.rst

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(27.9 kB) Copy SHA256 Hash SHA256
Source None Sep 14, 2012

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers