require_once('magpierss/rss_fetch.inc'); /*$url = $_GET['url']; Set the limit for the number of files here */ define('MAGPIE_CACHE_DIR', '/tmp/targetw_magpie'); $mode = $_GET['mode']; # default is with full description $type = $_GET['t']; # default is targetwoman xml $count=0; $max=10; if ($type) {$url="http://www.targetwoman.com/targetwoman.xml";} if (!$type) { $url="http://blog.targetwoman.com/feed/";} $rss = fetch_rss( $url ); echo " " . $rss->channel['title'] . "
"; echo "