Link to home
Create AccountLog in
Avatar of Loganathan Natarajan
Loganathan NatarajanFlag for India

asked on

RSS2HTML, where it runs my server or takes into original RSS feed server?

i have downloaded this rss for testing purpose ...http://rsstohtml.com/ ...http://www.feedforall.com/more-php.htm

I have configured and it works fine... i just want to know ..how they process.. are they processing with my web server / or connecting to their server and doing it...?

i have two files,
FeedForAll_XMLParser.inc.php
rss2html.php

.... hope here it is parse available to process the URL and connects their hosting and gives the data ...

any ideas?
Avatar of Aleksandar Bradarić
Aleksandar Bradarić
Flag of Serbia image

If you used `Option 1 - Display RSS on RSS2HTML` then it's on their server. If you used `Option 2 - Download free RSS2HTML script` then it's on your server.
Avatar of Loganathan Natarajan

ASKER

i c .., great  thanks for your kind reply

... so i have used / downloaded option 2...

it is running on my server ... but i have seen some code, saying that include file is being included ... but in my downladed source could not found .. how they generate or include it .. that means again they are taking the source to their server???

look at my code,...

where is the "FeedForAll_XMLParser.inc.php" ... is located??? is it in my server somewhere or their server?

this is from rss2html.php which i have downloaded
//
// If using cURL, make sure it exists
if (($useFopenURL == 0) && !function_exists("curl_init")) {
  $useFopenURL = -1;
  if (isset($debugLevel) && ($debugLevel >= 3)) {
    echo "DIAG: setting \$useFopenURL=-1 because curl_init() doesn't exist<br>\n";
  }
}
 
if (($useFopenURL == -1) && !function_exists("fsockopen")) {
  $useFopenURL = 1;
  if (isset($debugLevel) && ($debugLevel >= 3)) {
    echo "DIAG: setting \$useFopenURL=1 because fsockopen() doesn't exist<br>\n";
  }
}
 
if ($useFopenURL == 1) {
  ini_set("allow_url_fopen", "1");
  ini_set("user_agent", "FeedForAll rss2html scripts v3");
}
 
$FeedMaxItems = 10000;
$NoFutureItems = FALSE;
 
include("FeedForAll_rss2html_pro.php");
 
if (function_exists("FeedForAll_rss2html_pro") === FALSE) {
  Function FeedForAll_rss2html_pro($source) {
    //
    // This is the place to do any processing that is desired
    return $source;
  }
}
 
if (function_exists("FeedForAll_parseExtensions") === FALSE) {
  Function FeedForAll_parseExtensions() {
    return FALSE;
  }
}
 
@include("FeedForAll_Scripts_CachingExtension.php");
 
@include_once("FeedForAll_XMLParser.inc.php");
 
if (function_exists("FeedForAll_rss2html_limitLength") === FALSE) {
  Function FeedForAll_rss2html_limitLength($initialValue, $limit = 0) {
    if (($limit == 0) || (strlen($initialValue) <= $limit )) {
      // ZERO is for not limited
      return $initialValue;
    }
 
    // Cut the text at the exact point, ignoring if it is in a word.
    $result = substr($initialValue, 0, $limit);
 
    // Check to see if there are any space we can trim at and if it is not
    // too far from where we are
    $lastSpace = strrchr($result,' ');
    if (($lastSpace !== FALSE) && (strlen($lastSpace) < 20)) {
      // lose any incomplete word at the end
      $result = substr($result, 0, -(strlen($lastSpace)));
 
      // Append elipses, ... , to show it was truncated
      $result .= " ...";
    }
 
    return $result;
  }
}

Open in new window

> where is the "FeedForAll_XMLParser.inc.php" ... is located??? is it in my server somewhere or their server?

It's on your server. I found it in the ZIP file I downloaded... Don't you have it?
Oh.. sorry .. it is not showing up.,

see my extracted folder files
download-files.JPG
i tried both options downloads ... at http://www.feedforall.com/more-php.htm
I MEANT this file "@include("FeedForAll_rss2html_pro.php"); " .. .. not the FeedForAll_XMLParser.inc.php
i guest this might be included on the RUNNING...
ASKER CERTIFIED SOLUTION
Avatar of Aleksandar Bradarić
Aleksandar Bradarić
Flag of Serbia image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer