Drew's Blog

The Joys of Technology Explored

Forcing Radio To Archive Its Posts

I just posted this on Radio in the vain attempt....

This post is a desperate attempt to "force" Radio to "backup" or "archive." It says:

...

I deleted the stuff in that directory 5 hours ago, Turned off and then turned on the above options. 5 hours later, nothing in that directory!!! Just how is this supposed to work?? I have to generate a post to make it archive? Stand on my head? What??[Sam Gentile's Blog ]

Weird, cause it did it right away when I performed those steps. However, fear not! I've located the method you need to call to force archiving to happen. Follow these easy steps to force archiving to take place:

  1. Open the Radio Client
  2. Hit CTRL+; to open the Quick Script window
  3. Type "radio.weblog.archive.update()"
  4. Hit the Run button
  5. Watch the status messages on the "About Radio Window". You'll see it write a message for each post it's actively archiving. When it stops, your archive files should all be there.
Posted: Feb 06 2003, 04:09 PM by drub0y | with 2 comment(s)
Filed under:

Comments

Sam Gentile said:

Ok, I got it from the Toool menu but when I run that script, I get a window that says "Error Info" and "Can't complete the operation because Windows reported an error: The parameter is incorrect."

Barfs while writing XML version of category "Sam::.NET" by the way. Period? File system?
# February 6, 2003 4:24 PM

Drew Marsh said:

For those who might be reading, here was the solution to Sam's problem:

<snip>
Yup. That's totally it. Figures Radio doesn't try and replace special file system characters with something like an underscore. I guess you could hack something into that since you basically just want to run the damn thing and delete Radio once and for all. If you haven't already thought of this, just add this line in after the local "f" is initialized in the "bundle //do categories" section to the category file name:

f = string.replaceAll(f, ":", "_")
</snip>
# February 7, 2003 10:06 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)