Textile previews in Ecto and MarsEdit

One of my bones of contention with Textpattern is that it still doesn’t support XML-RPC, allowing the use of a desktop weblog editor (although Dean has promised this for a while). However, thanks to Chris Mcleod, you can now get it up and working with Ecto and MarsEdit. I’ve had problems getting Textile previews to work in these apps, and wanted to share here the solutions in case anyone else has been in the same boat.

MarsEdit

Thanks to Brent Simmons and Brad Choate, who spent time finding a way to trick MarsEdit into thinking its using Markdown, but it is in fact using Textile. What follows are Brent’s instructions:

  1. Quit MarsEdit if it’s running.
  2. Go to the TextFilters folder at ~/Library/Application Support/MarsEdit/TextFilters/
  3. If you have a Markdown folder, delete it.
  4. Create a new folder named Markdown.
  5. Download Brad’s MT-Textile plugin.
  6. In the plugin folder—in extlib/Text/—you’ll find a file named Textile.pm. Put a copy of it in your /Library/Perl/ folder. (You may need to set execute permissions for Textile.pm. I did, though I’m not sure it’s necessary.)
  7. In the plugin folder—plugins/—you’ll find a file named textile2.pl. Copy it into ~/Library/Application Support/MarsEdit/TextFilters/Markdown/.
  8. Download and unzip this Markdown.pl file and drop into that same Markdown folder.
  9. Make sure Markdown.pl and textile2.pl have execute permission.
  10. Open Terminal and tell MarsEdit to always use Markdown for previews: defaults write com.ranchero.MarsEdit previewWithMarkdownAlways YES

Done! Its a little roundabout, but once setup, you can forget about it. Thanks Brent!

Ecto

With Ecto, the process is a lot more straightforward. When you add your Textpattern blog to Ecto, choose ‘Movable Type’ as the ‘system’, and then when you write posts in HTML mode, the Textile option becomes available in the options drawer, under ‘Formatting’ tab, in the ‘Format’ drop down menu. Now select ‘Make Default’ to make it the last time you need to do that.

format screenshot

As for which I will use for writing my blog posts, I’m not sure. I’m just enjoying in the fact that I can use both at the moment.

What these won’t do

Obviously there are a number of custom Textpattern options that neither of these apps will cater for. So far I’ve been using MarsEdit for the last 3 posts, and the only thing I have to do is go into my textpattern admin and turn on comments for each entry. Ecto doesn’t have this problem however, so I’m now giving that a spin. Maybe once Textpattern 1 final is released and gains populularity, there will be more support for Textpattern options in future versions of these apps.

The Hickensian is the journal of Jon Hicks, one half of the creative partnership Hicksdesign. Take a look at the work we do.

Upcoming Talks

I sometimes pop up at conferences and waffle about design, icon creation in particular. Here's where I'll be next:

Web Expo Guildford- "Icon Design Process" - 26th September 2014

Beyond Tellerrand Berlin – 3rd-5th November 2014

playlist

See more on last.fm

Contact

Hicksdesign

73a High Street

Witney

Oxfordshire, UK

OX28 6JA

+44 (0)7917 391 536

Download vCard

Engine Room:

Hicksdesign is powered by Textpattern and hosted by the lovely boffins at Engine Hosting

Engine Hosting