RDF feed problem with Drupal CMS [message #29293] |
Fri, 09 December 2005 11:04 |
|
Good evening.
I've tried to add an RDF feed from FUDForum.org to my Drupal CMS test site but receive an error message.
The URL I enter is:
http://FUDForum.org/rdf.php?mode=m&l=1&n=10&basic=1
The error message the Drupal site gives me is:
Quote: | Failed to parse RSS feed FUDForum.ORG feed: Syntax error at line 1.
|
I've also tried getting a feed from one of my own FUDForum-based message boards and can't make it work.
The other question I have about all this is: The little orange XML button ...
... seems to only appear when I'm logged in to the site.
Question: Can it be made visible to everyone - including those who are not logged in?
Thanks for your help.
CelebrateCapitalism.ORG
"Why? Because I own my life!"
* * * * * * * * * * * * * * * * *
phpBB? Invision Power Board? vBulletin?
Yes, all excellent. But The FUD is my favorite! Try it now @ http://FUDForum.org
|
|
|
|
|
|
Re: RDF feed problem with Drupal CMS [message #29334 is a reply to message #29321] |
Tue, 13 December 2005 03:31 |
|
Ilia wrote on Tue, 13 December 2005 10:42 | You need to add &basic=1 so it generates RSS rather then generic XML.
|
Thanks for your advice.
I replaced this:
http://The1776.org/rdf.php?mode=m&l=1&n=10
... with this:
http://The1776.org/rdf.php?mode=m&l=1&n=10&basic=1
i.e. I've added "&basic=1" as advised ...
... but I'm afraid I still get the same error message:
Quote: | Failed to parse RSS feed The1776.org: at line .
|
I just can't work out what I'm doing wrong.
I have no problem getting a feed from FUDforum.ORG using:
http://fudforum.org/forum/rdf.php?mode=m&l=1&n=10&basic=1
This works totally perfectly.
I'm sorry to be a nuisance, but do you have any further suggestions please?
Thank you VERY much for any help and advice you can offer.
... Later addition to this post ...
I found the following, extensive error message within my Drupal test site after trying to update the feed from my FUDForum message board. I thought it might help:
Quote: | Unsupported encoding 'ISO-8859-15'. Please install iconv, GNU re
Could not convert XML encoding 'ISO-8859-15' to UTF-8.
xml_set_element_handler(): supplied argument is not a valid XML
xml_set_character_data_handler(): supplied argument is not a val
xml_parse(): supplied argument is not a valid XML Parser resourc
xml_get_error_code(): supplied argument is not a valid XML Parse
xml_get_current_line_number(): supplied argument is not a valid
Failed to parse RSS feed The1776.org: at line .
|
Again, thank you for any advice or assistance with this.
CelebrateCapitalism.ORG
"Why? Because I own my life!"
* * * * * * * * * * * * * * * * *
phpBB? Invision Power Board? vBulletin?
Yes, all excellent. But The FUD is my favorite! Try it now @ http://FUDForum.org
[Updated on: Tue, 13 December 2005 05:32] Report message to a moderator
|
|
|
Re: RDF feed problem with Drupal CMS [message #29339 is a reply to message #29334] |
Tue, 13 December 2005 17:10 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The feed itself is perfectly fine, its just that drupal does not understand the ISO-8859-15 character set used. You need to change it.
FUDforum Core Developer
|
|
|
Re: RDF feed problem with Drupal CMS [message #29344 is a reply to message #29339] |
Wed, 14 December 2005 00:59 |
|
Ilia wrote on Wed, 14 December 2005 04:10 | The feed itself is perfectly fine, its just that drupal does not understand the ISO-8859-15 character set used. You need to change it.
|
Thanks for your reply.
Yes, I was able to confirm that the feed is working by using this helpful little site: http://feedvalidator.org
I wonder if the problem I'm experiencing is caused because I have an advertisement inserted within every one of my message board posts.
I'll see if I can work out how to solve this problem.
The error message at my DRUPAL test site includes advice to: "Please install iconv"
Checking the drupal forum I read:
Quote: | PHP's XML parser only supports ISO-8859-1, UTF-8 and US-ASCII. However, if you have iconv support in PHP enabled, Drupal (from 4.4 and on) will use it to convert other XML encodings to UTF-8 before parsing.
Check PHP.net's iconv page for more info.
|
On the PHP.NET page feferred to, I see:
Quote: | This module is part of PHP as of PHP 5 thus iconv.dll and php_iconv.dll is not needed anymore.
|
I suppose that means if I can get my server upgraded to PHP 5, it might solve the problem.
I'll look into it and report back - unless you have some alternative suggestion in the meantime.
Thanks.
CelebrateCapitalism.ORG
"Why? Because I own my life!"
* * * * * * * * * * * * * * * * *
phpBB? Invision Power Board? vBulletin?
Yes, all excellent. But The FUD is my favorite! Try it now @ http://FUDForum.org
|
|
|
Re: RDF feed problem with Drupal CMS [message #29352 is a reply to message #29344] |
Thu, 15 December 2005 00:49 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The forum's RSS feed uses ISO-8859-15 charset, drupal apparently wants another, possibly UTF-8 or ISO-8859-1. It tries to convert the charset via iconv, which you do not have, hence the problem.
FUDforum Core Developer
|
|
|
Re: RDF feed problem with Drupal CMS [message #29358 is a reply to message #29352] |
Thu, 15 December 2005 03:38 |
|
Ilia wrote on Thu, 15 December 2005 11:49 | The forum's RSS feed uses ISO-8859-15 charset, drupal apparently wants another, possibly UTF-8 or ISO-8859-1. It tries to convert the charset via iconv, which you do not have, hence the problem.
|
Thanks for that clarification.
At is happens, yesterday I switched from DRUPAL to MAMBO (I've been testing and comparing CMS's) and I also had my server upgraded to use PHP5 which includes "iconv", and it looks like the feed from my FUDforum-based message board is working perfectly now!
(Oddly, the upgrade to php 5 seems to have wrecked my DRUPAL test site - maybe the current DRUPAL can't handle php 5 yet - I'm not sure. If so, this will no doubt be rectified by DRUPAL's very dynamic developers. In any event, as mentioned, I'm going with MAMBO since it suits my particular purposes best at present.)
Many thanks, Ilia, for your helpful advice along the way.
Wishing everyone a FUD packed 2006!
CelebrateCapitalism.ORG
"Why? Because I own my life!"
* * * * * * * * * * * * * * * * *
phpBB? Invision Power Board? vBulletin?
Yes, all excellent. But The FUD is my favorite! Try it now @ http://FUDForum.org
[Updated on: Thu, 15 December 2005 03:39] Report message to a moderator
|
|
|
|