|
|
|||||
|
|
|||||
|
|
Forcing Upstreaming Of All Website Elements When Upstreaming is turned on, Radio checks for new, changed or deleted posts and synchronizes your public weblog to your local weblog according to the upstreaming schedule set in your Preferences page. However, you may make some changes to your weblog (for instance, its title and description, changes to navigator links, etc) that are not propagated across all of your entries when you upstream. Instead, these changes are published whenever a particular post or story is actually 'touched' - that is, edited and then reposted. This becomes very painful as your weblog size increases. The following script contributed to the discussion forum by Mark Paschal solves this problem. Here is the drill: 1. Select the 'Open Radio' command after you right-click on the Radio icon in the Windows status bar. 2. Navigate to 'Tools --> Developers --> Quick Scripts' from the Tools menu of the Radio desktop application. 3. Enter (better yet, copy-paste) the script below into the Quick Script window: on touch (path) { try { file.touchPath (path); }; return true; }; file.visitFolder (user.radio.prefs.wwwfolder + "stories", infinity, @touch) 4. Click 'Run'. After the script executes, you will see its result (true) returned at the bottom of the QuickScript window. (If you don't see this, be sure you have entered the script exactly as above). 5. Select 'Radio --> Publish --> Entire Website' from the Radio menu. Radio will inform you that it has published your website. Depending on its size, this could take a few seconds or a few minutes. The Events page in your weblog browser interface will list the files that have been published when the process is complete. Radio publishes pages in batches of 25 so don't worry if it doesn't happen all at once. Done. It would (will) be nice if (when) Userland would embed this script for automatic execution so that we could simply go to 5. above. I'm sure this is item number 524 on a long list of higher priority tasks. |