The URL of your web page:
(include http:// and a final "/" or a filename)

(.+?)%is"; $allowable_tags = "

      • "; $urlparts = parse_url($url); if ($urlparts[path] == "") $url .= "/"; $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 8); $data = curl_exec($ch) or die("Error reading RSS data."); curl_close($ch); // print "
        ";
        //  line 47 print htmlentities($data);  
        
          eregi("(.*)", $data, $title);
          $channel_title = $title[1];
        
          $match_count = preg_match_all($itemregexp, $data, $items);
          $match_count = ($match_count > 15) ? 15 : $match_count;
          
          header("Content-Type: text/xml");
        
          $output .= "\n";
          $output .= "\n";
          $output .= "\n";
          $output .= "%HTMLlat1;]>\n";
        
          $output .= "\n";
          $output .= "  \n";
          $output .= "    ". htmlentities(strip_tags($channel_title)) ."\n";
          $output .= "    ". htmlentities($url) ."\n";
          $output .= "    ". htmlentities($url) ." via appswitching.net\n";
          $output .= "    ". htmlentities("webmaster@pcxvs.com") ."\n";
          $output .= "    en-us\n";
        
          for ($i=0; $i< $match_count; $i++) {
        
            $body = $items[1][$i];
            if (preg_match ("/rssi1/i", $body)) {
              preg_match ("%rssi1 *\" *>(.+?)");
              $desc = substr(trim(strip_tags($desc)),0,120);
            } else {
              $desc = substr(trim(strip_tags($body)),0,120);
            }
            $desc = substr($desc, 0, strrpos($desc, " ")) . " ...";
            $desc = htmlentities($desc);
              
            $output .= "    \n";
            $output .= "      ". htmlentities($title) ."\n";
            $output .= "      ". htmlentities($item_url) ."\n";
            $output .= "      ". $desc ."\n";
            $output .= "    \n";
          }
        
          $output .= "  \n";
          $output .= "\n";
        
          print $output;
        //  print htmlentities($output);
        //  print "
        "; } function get_link($body, $url) { if (stristr($body, "rssi2\" href")) { $linkurl = stristr($body, "rssi2\" href"); $linkurl = substr($linkurl, strpos($linkurl, "\"")+1); $linkurl = substr($linkurl, strpos($linkurl, "\"")+1); $linkurl = substr($linkurl, 0, strpos($linkurl, "\"")); $linkurl = trim($linkurl); return $linkurl; } else { return $url; } } ?>