FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » RDF feed problem with Drupal CMS
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
RDF feed problem with Drupal CMS [message #29293] Fri, 09 December 2005 11:04 Go to next message
prodos is currently offline  prodos   Australia
Messages: 58
Registered: August 2005
Location: Melbourne, Australia
Karma: 0
Member

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 ...

http://the1776.org/theme/default/images/rss.gif

... 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 #29297 is a reply to message #29293] Fri, 09 December 2005 17:48 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Using the correct URL helps Wink
http://fudforum.org/forum/rdf.php?mode=m&l=1&n=10&basic=1

The xml link will appear to all users assuming showing of the link is enabled.


FUDforum Core Developer
icon5.gif  Re: RDF feed problem with Drupal CMS [message #29299 is a reply to message #29297] Fri, 09 December 2005 20:41 Go to previous messageGo to next message
prodos is currently offline  prodos   Australia
Messages: 58
Registered: August 2005
Location: Melbourne, Australia
Karma: 0
Member

Good morning.

Ilia wrote on Sat, 10 December 2005 04:48

Using the correct URL helps Wink
http://fudforum.org/forum/rdf.php?mode=m&l=1&n=10&basic=1


Oops! My boo-boo!

Yes, it works perfectly now. Embarassed

However, I still can't get a feed from my own message board.

In the ACP under RDF Configuration, I have:

  • RDF Feed Enabled: Yes
  • RDF Authentication: No
  • User id: 0
  • Maximum number of result: 100
  • Allow user data retrieval: Yes


On the RDF Configuration section of my ACP it says:


Quote:

The following link will fetch 10 most recent messages from your forum:
http://the1776.org/rdf.php?mode=m&l=1&n=10


So I've been careful to use the correct address this time. I hope. Very Happy

But I get the following error message at my DRUPAL test site:

Quote:

Failed to parse RSS feed The1776.org: at line .


Note: At the end of the above error message there is a space then a full stop.


Ilia wrote on Sat, 10 December 2005 04:48


The xml link will appear to all users assuming showing of the link is enabled.



In the ACP under "Global Configuration" I have:

Quote:

Show Syndication Link: Yes


But the XML button seems to only appear on the front of my message board when I am logged in.


Thank you for any assistance with the above issues.




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 #29321 is a reply to message #29299] Mon, 12 December 2005 23:42 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You need to add &basic=1 so it generates RSS rather then generic XML.

FUDforum Core Developer
Re: RDF feed problem with Drupal CMS [message #29334 is a reply to message #29321] Tue, 13 December 2005 03:31 Go to previous messageGo to next message
prodos is currently offline  prodos   Australia
Messages: 58
Registered: August 2005
Location: Melbourne, Australia
Karma: 0
Member

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 .


Sad 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.

Smile





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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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
icon5.gif  Re: RDF feed problem with Drupal CMS [message #29344 is a reply to message #29339] Wed, 14 December 2005 00:59 Go to previous messageGo to next message
prodos is currently offline  prodos   Australia
Messages: 58
Registered: August 2005
Location: Melbourne, Australia
Karma: 0
Member

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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 Go to previous messageGo to next message
prodos is currently offline  prodos   Australia
Messages: 58
Registered: August 2005
Location: Melbourne, Australia
Karma: 0
Member

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! Very Happy

(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.

http://www.the1776.org/christmastree.jpg


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

icon6.gif  Re: RDF feed problem with Drupal CMS [message #30099 is a reply to message #29352] Sat, 04 February 2006 05:59 Go to previous message
prodos is currently offline  prodos   Australia
Messages: 58
Registered: August 2005
Location: Melbourne, Australia
Karma: 0
Member

Good afternoon.

I think I just found a work-around that seems to allow my FUDForum based message board to feed into my Drupal CMS site.

I use http://www.feedburner.com

This creates a new URL for the feed, and by using the Feedburner.com based address in my Drupal site, the feed works perfectly.

I hope this information might be useful to others at some point.

Smile

Best Wishes,

PRODOS




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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Disabling Image Verification
Next Topic: Example of "Syndicating this forum" shows disabled or error message
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 03:09:05 GMT 2024

Total time taken to generate the page: 0.03336 seconds