[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2008-06-09
8
Medium Priority
?
292 Views
Last Modified: 2013-11-18
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?
0
Comment
Question by:Loganathan Natarajan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 17

Expert Comment

by:Aleksandar Bradarić
ID: 21748924
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.
0
 
LVL 36

Author Comment

by:Loganathan Natarajan
ID: 21748953
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

0
 
LVL 17

Expert Comment

by:Aleksandar Bradarić
ID: 21749097
> 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?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 36

Author Comment

by:Loganathan Natarajan
ID: 21749331
Oh.. sorry .. it is not showing up.,

see my extracted folder files
download-files.JPG
0
 
LVL 36

Author Comment

by:Loganathan Natarajan
ID: 21749332
i tried both options downloads ... at http://www.feedforall.com/more-php.htm
0
 
LVL 36

Author Comment

by:Loganathan Natarajan
ID: 21749337
I MEANT this file "@include("FeedForAll_rss2html_pro.php"); " .. .. not the FeedForAll_XMLParser.inc.php
0
 
LVL 36

Author Comment

by:Loganathan Natarajan
ID: 21749340
i guest this might be included on the RUNNING...
0
 
LVL 17

Accepted Solution

by:
Aleksandar Bradarić earned 2000 total points
ID: 21749685
> see my extracted folder files

That's exactly what I get and it's all you need.

> I MEANT this file "@include("FeedForAll_rss2html_pro.php"); " .. .. not the FeedForAll_XMLParser.inc.php
...
> i guest this might be included on the RUNNING...

Why don;t you want to understand? :) It only includes the file you have. It doesn't need the PRO file. it will only include it if you BUY the PRO version. The include statement is only there so you don't have to modify the code when you upgrade. There's no woodoo code in there to include ghost files on a remote server :) The code is all there - in the `FeedForAll_XMLParser.inc.php` file and in the `rss2html.php` file. It works.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question