FeedForAll Forum Index  
 Home  •  FAQ  •   Search   •  Register   •  Profile   •  Log in
Search found 13 matches
Author Message
Topic: PHP 5.4.17
interchange

Replies: 7
Views: 11346

PostForum: RSS2HTML (RSS to HTML Converter)   Posted: Thu Aug 22, 2013 2:18 pm   Subject: PHP 5.4.17
Success!!

Got everything back to normal and everything is now working okay!

It turned out to be quite a simple process to get it all to work again. If anyone is interested here is what I did:

First of all I made sure I was using the latest version of RSS2HTML software!!

I did a test to see if "allow url fopen" and "allow url include" were set to ON or OFF. To do this I simply created a new htm page, in Dreamweaver, put this code between the <body> </body> tags

<?php phpinfo() ?>

saved the file as somename.php (or save it as an htm file and just change the file extension to .php later ). Upload it to the web site and access it through the web browser. It will show all the info about what version of PHP you are running and more importantly it shows if "allow url include" and "allow url include" are on or off. Apparently they are usually set to ON. Mine was. So the reason why they appear to be OFF is because of the php.ini file on the server which overrides it. So the php.ini file needs changing. Unfortunately there is no access to it, however on some servers, mine included, you can create your own php.ini file and it wiil override the main ini file on the server.
To do this simply open your favorite text program and type this on a new page:

allow_url_fopen = ON

allow_url_include = ON

Save the file as "php.ini" and upload a copy of it to every directory and sub directory on your site that has page files that you are parsing the rss feeds onto.

It works for me.

Regards.
Topic: PHP 5.4.17
interchange

Replies: 7
Views: 11346

PostForum: RSS2HTML (RSS to HTML Converter)   Posted: Wed Aug 21, 2013 4:50 am   Subject: PHP 5.4.17
Further to my last posting I decided to download the latest versions of RSS2HTML.php (version 3.15 2010/03/16 ) and FeedForAllParser.inc.php (version 3.24 2010/03/16) (Hope these are in fact the latest versions!!)

Unfortunately, although they work in as much as they grab the info the problem is that they will not parse (include) the info on the web pages. It would seem that, like a number of service providers, they have set the allow url fopen and allow url include PHP directives to off. And they aint prepared to switch them on. They say this is done to prevent "PHP include" hacker attacks. Internal 'include' commands work fine its when you try to include from a remote server.

I have switched the server back to PHP 4 and of course it works great but unfortunately PHP4 will be removed at the end of the month leaving only PHP5.4.17

So, are there any other commands that can be used instead of:

<?php
include("http://xxxx.com/rssbuild/rss2html.php?XMLFILE=http://feeds.xxxxx.co.uk/news/uk/rss.xml&TEMPLATE=http://www.xxxxxx.com/rssbuild/template.html");
?>

and

<?php
$XMLFILE = "http://feeds.xxxxx.co.uk/news/uk/rss.xml";
$TEMPLATE = "http://www.xxxxxxx.com/rssbuild/template.html";
include("rss2html.php");
?>


Best regards.
Topic: PHP 5.4.17
interchange

Replies: 7
Views: 11346

PostForum: RSS2HTML (RSS to HTML Converter)   Posted: Wed Aug 21, 2013 2:01 am   Subject: PHP 5.4.17
Thanks for the quick reply.

The RSS2HTML.php shows v3.13 2008/10/18

The FeedForAll_XMLParser.inc.php shows Revision 3.19 2008/10/18
Topic: PHP 5.4.17
interchange

Replies: 7
Views: 11346

PostForum: RSS2HTML (RSS to HTML Converter)   Posted: Tue Aug 20, 2013 1:58 pm   Subject: PHP 5.4.17
Well it had to happen. All these years (6) and RSS to HTML converter has been working fine. Now our server has been updated to PHP 5.4.17 and lo it no longer works. It doesn't seem able to parse the info onto the page.
Might there be an update to the software?

Best regards.
Topic: Problem showing more than one feed on a page
interchange

Replies: 0
Views: 4544

PostForum: RSS2HTML (RSS to HTML Converter)   Posted: Wed Jun 06, 2012 1:39 pm   Subject: Problem showing more than one feed on a page
We have been using rss2html for a few years and it works great.

We have recently updated to PHP 5.2.17. This means that we have to use
the 'Prefered PHP Include:'
The problem is that although there are multiple feeds on a page it will only show/parse one. The first one on the page. Any ideas how to resolve this?
Topic: Reducing the size of images in a feed
interchange

Replies: 4
Views: 5248

PostForum: RSS2HTML (RSS to HTML Converter)   Posted: Fri Sep 11, 2009 9:57 am   Subject: Reducing the size of images in a feed
Further to my original post and the advice from Damian. I thought I would post my results.

Although we still have some seemingly insurmountable issues the following does work:

First of all give each of the images on your web page ( that is the page you are going to have your feed displayed on ) an ID. For example ID="logo1" and ID="logo2" etc etc.

(An example of how this might look is:

<a href="index.htm"><img src="logo.jpg" alt="mylogo" ID="logo1" width="276" height="105" border="0"></a>

Then put the following CSS code on your template at the top,remembering to change names to match the IDnames of your images:

<!-- <style>
#logo1{ width:276px; height:105px; }
#logo2 { width:70px; height:58px; }
#advert { width:728px; height:90px; }
#google { width:75px; height:32px; }
img { width:300px; height:143px; border:none;}

-->
</style>

This will make all images appear as 300px by 143px with no borders except those with an ID.

It would be much better though if there is a way to do this in the actual script because there are still problems with things like advertisements etc. that you cant give ID to. Also it is a bit of a pain having to do this for every page.

Regards
Interchange
Topic: Reducing the size of images in a feed
interchange

Replies: 4
Views: 5248

PostForum: RSS2HTML (RSS to HTML Converter)   Posted: Wed Sep 09, 2009 3:18 am   Subject: Reducing the size of images in a feed
Damian,

What a brilliant idea!! Why didn't I think of that?

I'll give it a go.

Thanks


interchange
Topic: Reducing the size of images in a feed
interchange

Replies: 4
Views: 5248

PostForum: RSS2HTML (RSS to HTML Converter)   Posted: Tue Sep 08, 2009 5:19 am   Subject: Reducing the size of images in a feed
Hi,

I have been trying for ages to find a way to reduce the size of all images in a feed by, say 50% (or simply making them all say 50px High by 80 px Wide) but 50% would be better!!

Basically some images in feeds are just too big and therefore will not fit into our pages properly. So I want to be able to reduce their size.

Using CSS on the template can do this ( eg: <style type="text/css">
<!--img { width:50px; height:80px; }
--> but unfortunately this messes up the whole page not just simply the images in the feed/template. Yes it causes all images on the page it is parsed onto to change their size...like our logos etc.

So is it possible,therefore, to alter the FeedForAll_XMLParser.inc file or the RSS2html.php file??

Regards
Topic: $errorCode = 7
interchange

Replies: 12
Views: 13505

PostForum: RSS2HTML (RSS to HTML Converter)   Posted: Fri Aug 21, 2009 11:48 am   Subject: Problem with Feedburner Resolved.
Hi,

We have had problems with Feedburner. The adress of the feed given can be is something like this:

http://feeds.feedburner.com/somesite-something

Using RSS2HTML it doesn't work.

However just add the following to the end:

?format=xml

So you get:

http://feeds.feedburner.com/somesite-something?format=xml

and hey presto it works.

(The above somesite-something is a non working example!! :-)
Topic: Problem with some links within publication.
interchange

Replies: 0
Views: 3141

PostForum: RSS2HTML (RSS to HTML Converter)   Posted: Wed Jul 16, 2008 7:15 am   Subject: Problem with some links within publication.
We have noticed a problem with some of the links when we publish certain rss feeds. Instead of the links pointing to the correct address (e.g. http://www.publisherssite.com/publishersdirectory/file.htm it points to http://www.oursite.com/publishersdirectory/file.html and of course gets a 401 error message)

Is this something that can be resolved or is it a problem with the publisher
here is an actual example of a feed that does this:

http://www.routledgeeconomics.com/rssfeedus.asp



Thank you
Topic: html template problems on IE 6 & 7 (fine on Safari, Fire
interchange

Replies: 5
Views: 6654

PostForum: RSS2HTML (RSS to HTML Converter)   Posted: Fri Apr 18, 2008 7:58 am   Subject: html template problems on IE 6 & 7 (fine on Safari, Fire
Hi,

We have been using this software for some time and it is great. By no means an expert but I understand the frustration you have. No sure if I can help but I checked out your site using IE7 on a PC and Safari on a Mac. (You site is very good and nicely designed by the way!). You are right, your home page shifts to the left on IE7 but not on Safari. It seems at first glance to be your CSS. The first question is why do you not use an .htm page instead of a .php as your home page? Have you tried putting the template page as a .php (you will have to amend the rss2html files to do this)?
Just one other thing, have you tried the page without the top flash.It may be worth checking it out because we had a problem and it was the flash image that was causing it.

Probably have not been much help.

Best wishes
Topic: Caching problem/advice?
interchange

Replies: 1
Views: 3419

PostForum: RSS2HTML (RSS to HTML Converter)   Posted: Wed Apr 16, 2008 9:18 am   Subject: Caching problem/advice?
We have set 'FeedForAll_Scripts_CachingExtension.php' to the following:

$cacheTTL=43200; //cache files for 12 hours

$useExpiredOnError = 1;

$outputCacheTTL = 43200;

Everything seems to work fine. It puts a cached binary file in the correct folder together with a cached html page of the template.

However, sometimes the rss feed from the site who are publishing goes off line and there is no feed. Should we expect to get the cached version all the time until the rss feed is restored?

We just get $errorCode = 4
xml_error_string() = not well-formed (invalid token)
xml_get_current_line_number() = 170
xml_get_current_column_number() = 50
xml_get_current_byte_index() = 16159

Best wishes
Topic: How to filter adverts, digg it and other images
interchange

Replies: 1
Views: 3327

PostForum: RSS2HTML (RSS to HTML Converter)   Posted: Wed Jan 16, 2008 6:12 am   Subject: How to filter adverts, digg it and other images
First of all RSS2HTML is excellent!

Is there any way I can filter out adverts and the 'digg it','Share This on face Book' (which are .gif files) etc etc from the content of a feed?

I have RSSFilter but it doesn't handle this little problem.

Any ideas?

Best wishes
 

 Jump to:   


Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme