Display bluefish edited HTML pages in Chimera

Dec 04, '02 08:27:45AM

Contributed by: Miga

If you use bluefish to edit your Apache web sites, here's how to customize bluefish so that it displays a currently edited page in Chimera.

Open bluefish, go to menu Options, Preferences, choose the External tab, and change the browser command with this line:

open -a 'Navigator' `echo %s | sed 's;
^Library/WebServer/Documents/\(.*\)$;
http://www.yourdomain.com/\1;'`
(This is shown on three lines; enter it as one line without any spaces between the lines). The above assumes that your pages are located in /Library -> WebServer -> Documents, your web site is accessible via http://www.yourdomain.com, and you want to display the page with Chimera.

You can easily change the browser with open -a 'NameOftheBrowser', the location to suit your needs, and use a fixed IP in place of a domain name.

[Editor's note: I have no experience with bluefish, and I haven't tested this hint myself.]

Comments (1)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20021204052745398