Using reStructuredText with WordPress
I just converted most of my posts to use reStructuredText, using the same plugin my old "webrog" blog used. Because I haven't seen any recent posts that make mention of this, I thought I'd post here about it in case anyone else looks for the same thing.
The only thing I had to do was edit my wp-content/themes/default/index.php file to change the text "Read the rest of this entry" in the call to the_content on line 14 to this instead:
<?php the_content('(more...)'); ?>
Alternatively, you could edit the plugin itself to better handle "more" tags within entries.
Happy reST+WordPress blogging!
Update 2007-09-08: This plugin is now a Launchpad project (see the announcement). The link above has been updated accordingly. If you are looking for a way to download the latest rest.php file containing the plugin, view the files for the project, then click the Download link on the right-hand side of the rest.php row.
Tags: Blogging, Programming, Python, reStructuredText, WordPress
December 19th, 2006 at 1:58 pm
Great to know, I definitely try this out on my blog!
January 16th, 2007 at 10:23 pm
ReStructured Text on WordPress…
I am coming from the Plone world. My web site used to be Plone and various website I still maintain are still Plone-based. In Plone, one of the formats to write text is ReStructured Text (RST); and Matt has convinced me it is the right way… or…
September 1st, 2007 at 7:55 am
[...] http://goldenspud.com/rotr/index.php/2006/12/15/using-restructuredtext-with-wordpress/ http://blog.ianbicking.org/2007/08/01/new-blog-software/ [...]
September 8th, 2007 at 10:29 pm
[...] reStructuredText for WordPress project now has a home on [...]
January 29th, 2008 at 3:32 pm
[...] Using reST with WordPress [...]