Home > Archive >  2007 >  October >  24


Doing a new build of the OPML Editor

Wednesday, October 24, 2007 by Dave Winer.

The next stop on my tour of development projects is to ship some new software that runs inside the OPML Editor. The software is designed to run on a Mac Mini that's attached to a big screen HD-TV. So the way the OPML Editor boots up now is inappropriate for this application. It presents a dialog and opens a weblog editing window. Instead this app interfaces through a web browser, and runs in the background.  Permalink to this paragraph

So I need to come up with a way to not run the startup code for the weblog editor. I'll be taking my notes here, so that later when I want to do the same thing for another project I'll know how to do it. And since the OPML Editor is open source, the notes can apply to other people's projects if they want to do something similar.  Permalink to this paragraph

1. How do you create a plain text file using the software Apple ships with the Mac OS? The TextEdit app doesn't have that option, amazingly. I found one very ugly way to do it. Open a .txt file. Then the options on the Save dialog give you a way to save as plain text. The real answer: It's a preferencePermalink to this paragraph

2. The OPML Editor will have an opmlStartupCommands.txt file in the application folder. The first line will set user.prefs.flStartupDotOpml to false. dotOpmlThread.script watches for this, and if it's present and set false, it won't start up. Permalink to this paragraph

3. Add this to the to-do list. I need to get Bonjour working inside the OPML Editor, with the minimum of fuss.  Permalink to this paragraph



© Copyright 1994-2007 Dave Winer Mailto icon.

Last update: 10/24/07; 7:44:31 PM Pacific. "It's even worse than it appears."

Click here to view blogs commenting on  RSS 2.0 feed.