Go to content Go to navigation Go to search

Tread lightly on the things of earth

Mike’s weblog about computing, politics, and faith (a progressive view)

Creating a story for displaying my instant outline

Following Marc Barrot’s lead, I’m creating a story in which my instant outline displays in this weblog.

Because a Mac OS X Radio bug is causing Marc’s renderCss.txt to be unavailable when it’s in the Radio/Macros folder—that is, “[Macro error: Can’t call the script because the name “renderCss” hasn’t been defined]”—I copied the renderCss.txt content and pasted into the Radio ODB as new script user.html.macros.renderCss. I’m pleased this workaround is so readily available!

<!— imported into MT from 2002 Radio entry via RE on 2003-12-10 —>

Trying out Dave’s Instant Outliner

Yeehah! I have loved outlines since I bought ThinkTank for the Apple II in 1983, and fell under their spell. (All this history with Dave—that he doesn’t even know about—is influencing me to be a Radio fan now.) This Instant Outliner idea is so exciting!

(Yeah, baby—paragraph above posted to weblog from my Instant Outliner outline by control-clicking the outline item. Thanks, Rob, for the tip.)

<!— imported into MT from 2002 Radio entry via RE on 2003-12-10 —>

Mounting Samba volumes in Mac OS X

I wondered how to mount Windows- and Samba-served shares in Mac OS X without sending the password completely in the clear. I posted my useful (to me) findings on my wiki.

Clearly, I’m still trying to decide when to use a weblog, when to use a wiki.

<!— imported into MT from 2002 Radio entry via RE on 2003-12-10 —>


2005-06-15: Content of the now-offline wiki page:

2002-03-27: I wondered how to mount Windows- and Samba-served shares in MacOsX without sending the password completely in the clear.

I started down the road of finding the tunnel-smb-in-ssh syntax, as I already successfully tunnel all X, IMAP, and CVS traffic (either to keep password secure or transit firewalls). A Google search shows an ssh solution is likely.

But I stopped short of that because the following setup works very conveniently and at least doesn’t transmit the passwords in clear text. (And I don’t need to mount a Samba volume through a firewall so as to need ssh; scp and rsync are faster for those infrequent occasions.)

These details found in man mount_smbfs and /private/var/root/.nsmbrc (which I assume was part of the OSX install).

 ~/.nsmbrc: 

 # First, define a workgroup. 
 [default] 
 workgroup=WORKGROUP 

 #[MACHINE]                   the NetBIOS name of the Windows- 
 [PROD]                       or Samba-running Unix box 
 addr=192.168.1.250           box's IP address 
 [DEV] 
 addr=192.168.1.251

 #[MACHINE:USER] 
 # use persistent password cache for *user* 'mike' 
 # generate password with smbutil command 
 # (MWJ: 'smbutil -v crypt', then type literal share password at prompt) 
 [PROD:MIKE] 
 password=$$17xxxxxxxxxxxxx 
 [DEV:MIKE] 
 password=$$17xxxxxxxxxxxxx 

Chmod ~/.nsmbrc to 0600.

Then both Finder and command-line mounts work:

Finder:
Command-K (Go/Connect to Server…)
Address: smb://dev/sharename (You still have to already know the exact sharename)
Connect.

Presto!

CL (command line):
mount_smbfs //dev/sharename /mnt/dev/sharename

where /mnt/dev/sharename is a mountpoint you’ve made with mkdir and chown to you. (Permissions of mounted directory’s contents appear to be inherited from mountpoint directory permissions.)

Success! Upstreaming a category elsewhere (specifically, a remote RCS)

Major clue: How to publish a category to a different FTP server:
“Your site may be upstreamed to the UserLand community server or you may have enabled upstreaming through FTP. You can also configure Radio to upstream any category to another FTP server by creating a new #upstream.xml file in the folder where your category is stored.”

So I created a www/categories/work/#upstream.xml file containing

<upstream type=”xmlStorageSystem” version=”1.0”>
 <server>IP addr of my private test RCS server</server>
 <port>80</port>
 <usernum>0000001</usernum>
 <passwordName>rcspass</passwordName>
 <name>Mike James</name>
 <protocol>xml-rpc</protocol>
 <rpcPath>/RPC2</rpcPath>
 <soapAction>/xmlStorageSystem</soapAction>
 </upstream>

where rcspass is the name of a new password I just created in my local Radio that matches the default password on my remote RCS Radio.

Then I published a post in my local Radio to the Work category only …

Cool! That generally worked. The Work category post is now published on my private RCS site at users/0000001/index.html and not on my public weblog’s categories page.

<!— imported into MT from 2002 Radio entry via RE on 2003-12-10 —>

Mark Crispin Miller: Brain Drain

Brain drain. So many people just don’t think any more …

<!— imported into MT from 2002 Radio entry via RE on 2003-12-10 —>

Tips from Mark Woods

Wow, Mark Woods is a helpful guy:

Enabling Category-Specific Stories
“I am running two separate websites through my copy of Radio. One site is public—my community site—intended for anybody to read and containing stuff not directly related to my employer.” Cool. That’s what I want to do.

A Busy Writers Guide to Radio Renderers

Barriers to K-Logs at the BigCos

<!— imported into MT from 2002 Radio entry via RE on 2003-12-10 —>