Radio Fun
Radio UserLand, RSS, Weblog Tools and Design
Tuesday, June 15, 2004
Steve Hooker Publish Now Script
Radio UserLand, RSS, Weblog Tools and Design
Steve Hooker Publish Now Script
Re: PROBLEM: Publish works ONLY to Local Pages. Pete baby ;-)
I don't reckon that aR has anything to do with your troubles - could be wrong of course ;-)
Let's see if you can get your front page to upstream, try this script that I use daily to publish my front page NOW!
radio.weblog.publishAllUnpublishedPosts (); local ( file; adrSpec); file = user.radio.prefs.wwwFolder + "index.txt"; system.temp.radio.misc.flFullUpstreamScanNextPass = false; system.verbs.builtins.radio.upstream.getUpstreamSpec (@user.radio.settings.files.["C:\\Program Files\\Radio UserLand\\www\\#upstream.xml"], @adrSpec); system.verbs.builtins.radio.upstream.builtinDrivers.ftp.upstream (@user.radio.settings.files.[file], adrSpec)Yeah, yeah :-) You're on a Mac, so you'll notice the PC address in there of the #upstream file, change that to Mac like address, and whoosh (hopefully).
Steve Hooker
http://www.cybersaps.org/ [Radio UserLand Messages]