Interaction design • webdevelopment • web art • photography

September 2003

Here's a quick (and probably incomplete) how-to on making public your feed on feeds view script while still hiding your admin scripts in a protected dir:

  1. copy view.php to an unprotected dir
  2. in the copied view.php, change include_once("init.php"); to point to the original dir: include_once("../protected_dir/init.php")
  3. in init.php, change is_writable( "cache" ) to is_writable( dirname(__FILE__)."/cache" )
  4. (optional) strip all the admin links and options from the copied view.php
  5. read your feeds via the copied view.php script so people don't get login prompts when following their referrers :)