Publishing a Category to a Private Location

Brett Morgan wants to publish a Radio Userland category to a private "behind-the-firewall" location. If you can upload to the location using FTP, you can accomplish this by creating the new category, adding your FTP password to Radio Userland, and putting an #upstream.xml file in the category's folder that contains your FTP settings.

For example:

  1. Create a new category. I called mine Private.
  2. Choose the "render this category in HTML" option and do not choose the "notify Weblogs.Com" option.
  3. Choose a theme for the category's HTML rendering and submit the category.
  4. Create a new password.
  5. Give the password a name that describes its role. I gave mine the same name as my FTP username, but that's not required.
  6. Enter your FTP password and submit the password.
  7. Open the folder that contains your category, which is named after the category. Because I named mine Private, it is in Radio Userland's www/categories/private folder.
  8. Create a file called #upstream.xml in that folder and add your FTP settings to it.
  9. The #upstream.xml file must contain your FTP server name, username, the folder that will contain your category and its URL.
  10. Don't put your FTP password in the passwordName element of this file. Instead, put the name you gave the password in Step 5. Here's the #upstream.xml I created (the name was changed so I could publish it; Radio Userland won't normally publish files that begin with a "#" sign).
  11. Publish an item to your private category.

Important note: None of this makes your category private. You must make sure the FTP location is private on your own.

I published my category to a folder that uses Apache's .htaccess feature to keep people out. As far as I can tell, it's working. If anyone can figure out a way to view what I have said about the musical group Creed in my private weblog, let me know and I'll update this story.

Add a Comment

All comments are moderated before publication. These HTML tags are permitted: <p>, <b>, <i>, <a>, and <blockquote>. This site is protected by reCAPTCHA (for which the Google Privacy Policy and Terms of Service apply).