Here is a small tutorial on how to get the RestructuredText Wordpress Plugin working at Hostpoint.ch:
Preparation
At hostpoint.ch each
$USERhas folder where all it’s content lives. Where$USERis your hostpoint username. This folder is/home/$USER. It’s the same folder you see as/if you connect via FTP.We create a
bindirectory which hold the necessary scripts to render ReST. If you access via FTP just create abindirectory at the same level as yourwwwandpublic_htmldirectories live.
Docutils
Get the newest docutils from http://docutils.sourceforge.net/ or download (Version 0.5) directly from here.
Unpack the packages, and upload the following files to
/home/$USER/bintools/rst2html.pyextras/roman.py
You have to upload the following directory too
docutils/
Once you have uploaded all of these your ReST parser should be ready.
Wordpress Plugin
Download the Wordpress Plugin from: https://launchpad.net/rest-wordpress. I recommend using the dos-hacks branch as it seems to be more robust. If you don’t know bazaar you can directly download the latest rest.php.
Copy rest.php to your Wordpress plugin directory. Normally this is:
<wp>/wp-content/pluginsNow log in to wordpress and go to the Plugin Tab, you should see a reStructuredText plugin.
Click the edit button to open the editor, and change:
$prefix = "/home/$USER"You can now activate the plugin.
Using Restructured Text
- To tell Worpress you want to enter ReST you have to include
-*- mode: rst -*-in the first line of your post.
I hope this tutorial helps other hostpoint customers. If you encounter any problems please write in the comments so I can improve the tutorial.