Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Display bluefish edited HTML pages in Chimera Web Browsers
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.]
    •    
  • Currently 1.25 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (4 votes cast)
 
[3,111 views]  

Display bluefish edited HTML pages in Chimera | 1 comments | Create New Account
Click here to return to the 'Display bluefish edited HTML pages in Chimera' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Sorry mistake in the code
Authored by: Miga on Dec 12, '02 09:16:55AM

You should use:

open -a 'Navigator' `echo %s | sed 's;
^file:///Library/WebServer/Documents/\(.*\)$;
http://www.yourdomain.com/\1;'`

instead of:
open -a 'Navigator' `echo %s | sed 's;
^Library/WebServer/Documents/\(.*\)$;
http://www.yourdomain.com/\1;'`

Just missed file:///

Sorry, sorry



[ Reply to This | # ]