O'Reilly logo

Essential Blogging by Mena G. Trott, Benjamin Trott, Shelley Powers, Scott Johnson, Rael Dornfest, Cory Doctorow

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Upstreaming

Upstreaming is the process by which Radio moves information from your local computer to the server where your blog is located. The overall upstreaming process is controlled by an XML file named #upstream.xml stored in your www folder. This file contains configuration information specifying where your rendered HTML files are to be placed. Passwords are never placed in this file — they are stored in the radio.prefs.passwords table in Radio’s object database.

There are three types of #upstream.xml files: xmlStorageSystem, FTP, and none. An xmlStorageSystem upstream file moves blog postings off to the radio.weblogs.com destination or to a Radio Community Server. An FTP upstream driver transfers files via FTP. A none type prevents information in the folder where it is located from being upstreamed at all.

The none type seems confusing but consider this example: you want to have a /www/images/photos directory that has all your photos; but there are two versions of photos — the high-resolution versions for print publication and the low-resolution version for on screen use. If you use an upstream of type none, you can prevent the high-resolution files from going up to your blog.

Here’s a sample upstream file for FTP:

<?xml version="1.0"?> <upstream type="ftp" version="1.0"> <username>fuzzygroup.com</username> <passwordName>ftp</passwordName> <server>ftp.fuzzygroup.com</server> <path>htdocs/ftpblog/</path> <url>http://www.fuzzygroup.com/ftpblog/</url> <mode>passive</mode> </upstream> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required