FeedForAll Forum Index ?
?Home?????FAQ????? Search ?????Memberlist ?????Register ?????Profile? ????Log in
?Encoding Problem -- charset doesn't seem to matter View next topic
View previous topic
Post new topicReply to topic
Author Message
monkeydog



Joined: 08 Feb 2006
Posts: 12

PostPosted: Wed Feb 08, 2006 8:30 pm Reply with quoteBack to top

Hi, I have successfully implemented rss2html on a client site, and am trying to implement on another.

I am having no success -- returning gobbldeygook:

http://www.bcgoncology.com/testfeed.html

I tried changing the meta-tag to match encoding (tried bother utf and iso) per similar posts, but to no avail.

Any suggestions?

Thanks!
View user's profileSend private messageVisit poster's website
Tech Support



Joined: 27 Aug 2004
Posts: 804

PostPosted: Wed Feb 08, 2006 9:23 pm Reply with quoteBack to top

Could you possibly post links to the souce feed, and the template file you are using, so we can take a closer look?

Thanks.

_________________
FeedForAll Support
View user's profileSend private message
monkeydog



Joined: 08 Feb 2006
Posts: 12

PostPosted: Wed Feb 08, 2006 9:32 pm Reply with quoteBack to top

template:

http://www.bcgoncology.com/feed/template_test.html

feed:

http://www.connotea.org/rss/tag/biotechnology
View user's profileSend private messageVisit poster's website
Tech Support



Joined: 27 Aug 2004
Posts: 804

PostPosted: Thu Feb 09, 2006 5:24 pm Reply with quoteBack to top

I ran your feed and template through rss2html.php and it looks fine. Here is the link I used:

http://www.rss2html.com/public/rss2html.php?XMLFILE=http://www.connotea.org/rss/tag/biotechnology&TEMPLATE=http://www.bcgoncology.com/feed/template_test.html

It looks like the problem may be with the way you are inserting it into your existing webpage, or something like that.

_________________
FeedForAll Support
View user's profileSend private message
monkeydog



Joined: 08 Feb 2006
Posts: 12

PostPosted: Thu Feb 09, 2006 5:46 pm Reply with quoteBack to top

Thanks,

Below is my code, simplified and moved into same directory as the feed:

http://www.bcgoncology.com/feed/testfeed.html

I see another post, for which I don't see a resolution, where the person is using the same host (aplus.net) and having the same problem.


I don't see how else to call from an html file -- could problem be w/ htaccess and parsing html/php etc?

I have same code on another site (different host) and works fine:

http://www.4adi.com


Weird!

------------------------------








Phoenix AZ Bladder Cancer and Genitourinary Oncology Physician - BCGOncology




View user's profileSend private messageVisit poster's website
Tech Support



Joined: 27 Aug 2004
Posts: 804

PostPosted: Thu Feb 09, 2006 6:54 pm Reply with quoteBack to top

Instead of:



try:



The first version may just be including the contents of the .php file (the source code), instead of actually running it and including the output.

_________________
FeedForAll Support
View user's profileSend private message
monkeydog



Joined: 08 Feb 2006
Posts: 12

PostPosted: Thu Feb 09, 2006 7:04 pm Reply with quoteBack to top

Tried it, that didn't work either.
View user's profileSend private messageVisit poster's website
monkeydog



Joined: 08 Feb 2006
Posts: 12

PostPosted: Thu Feb 09, 2006 7:14 pm Reply with quoteBack to top

Ok, I get an error when I try to open feed.php:

Fatal error: Unknown function: curl_init() in /home/u1/d414mm/html/feed/feed.php on line 576

does this help at all?
View user's profileSend private messageVisit poster's website
MacSupport



Joined: 24 Feb 2005
Posts: 648

PostPosted: Thu Feb 09, 2006 7:20 pm Reply with quoteBack to top

monkeydog wrote:
Ok, I get an error when I try to open feed.php:

Fatal error: Unknown function: curl_init() in /home/u1/d414mm/html/feed/feed.php on line 576

does this help at all?


That says your server for some reason wasn't compiled with cURL support. Search for $useFopenURL = 0; and change it to $useFopenURL = 1;

Jim
View user's profileSend private messageVisit poster's website
monkeydog



Joined: 08 Feb 2006
Posts: 12

PostPosted: Mon Feb 13, 2006 5:19 pm Reply with quoteBack to top

Hi, sorry for the delay in responding. I tried changing to fopen, and I get the following error:

"Unable to open RSS Feed"

Oy!
View user's profileSend private messageVisit poster's website
MacSupport



Joined: 24 Feb 2005
Posts: 648

PostPosted: Mon Feb 13, 2006 5:40 pm Reply with quoteBack to top

monkeydog wrote:
Hi, sorry for the delay in responding. I tried changing to fopen, and I get the following error:

"Unable to open RSS Feed"

Oy!


Well then lets go back and start at step #1. Try rss2html.php?buildURL and make sure the feed can be fetched.

Jim
View user's profileSend private messageVisit poster's website
monkeydog



Joined: 08 Feb 2006
Posts: 12

PostPosted: Mon Feb 13, 2006 6:02 pm Reply with quoteBack to top

Hi Jim, thanks so much for your help, but still not working.

Yes, it can be fetched.

There is another thread on this forum with the same problem I am having (which is, code works fine on other sites, but not on a site hosted by aplus.net).

http://www.feedforall.com/forum/viewtopic.php?t=1034

Was this one ever resolved?

Thanks,

Don
View user's profileSend private messageVisit poster's website
MacSupport



Joined: 24 Feb 2005
Posts: 648

PostPosted: Mon Feb 13, 2006 6:15 pm Reply with quoteBack to top

monkeydog wrote:
Hi Jim, thanks so much for your help, but still not working.

Yes, it can be fetched.

There is another thread on this forum with the same problem I am having (which is, code works fine on other sites, but not on a site hosted by aplus.net).

http://www.feedforall.com/forum/viewtopic.php?t=1034

Was this one ever resolved?

Thanks,

Don


I don't see a URL in your previous posts, can you post the URL of a feed that causes this. So I have it for testing.

Jim
View user's profileSend private messageVisit poster's website
monkeydog



Joined: 08 Feb 2006
Posts: 12

PostPosted: Mon Feb 13, 2006 6:22 pm Reply with quoteBack to top

www.bcgoncology.com/feed/feed.php
View user's profileSend private messageVisit poster's website
MacSupport



Joined: 24 Feb 2005
Posts: 648

PostPosted: Mon Feb 13, 2006 6:27 pm Reply with quoteBack to top

monkeydog wrote:
www.bcgoncology.com/feed/feed.php


That is the URL for the XML feed you are trying to fetch?
View user's profileSend private messageVisit poster's website
Display posts from previous:?? ? ?
Post new topicReply to topic


?Jump to:? ?



View next topic
View previous topic


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