RSS feed creation for whole Phorum
Posted by Brian Moon
Re: RSS feed creation for whole Phorum March 11, 2005 07:08AM |
Registered: 17 years ago Posts: 9 |
Re: RSS feed creation for whole Phorum March 21, 2005 04:25AM |
Registered: 17 years ago Posts: 278 |
I get this in Internet Explorer and NewzCrawler -
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
An invalid character was found in text content. Error processing resource
Can anyone help?!?
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
An invalid character was found in text content. Error processing resource
Can anyone help?!?
Re: RSS feed creation for whole Phorum April 04, 2005 03:34AM |
Registered: 20 years ago Posts: 52 |
Re: RSS feed creation for whole Phorum April 21, 2005 07:20PM |
Registered: 17 years ago Posts: 26 |
RSS Feed error occurs with character & in forum heading.
Also, encoding doesn't know how to treat the ' character.
What's the fix for these?
---------------------------------------------
Ok, got those fixed... Now the new thing...
bbcodes and   showing in rss feed(s)...
Anyone have a simple solution my current problem?
Edited 1 time(s). Last edit at 04/21/2005 08:26PM by Nix Marl.
Also, encoding doesn't know how to treat the ' character.
What's the fix for these?
---------------------------------------------
Ok, got those fixed... Now the new thing...
bbcodes and   showing in rss feed(s)...
Anyone have a simple solution my current problem?
Edited 1 time(s). Last edit at 04/21/2005 08:26PM by Nix Marl.
Re: RSS feed creation for whole Phorum April 24, 2005 10:48AM |
Registered: 17 years ago Posts: 8 |
I have the rss feed runnin for the whole board, but I'd like to have 2 rss feeds runnin and relayin the info to an ircd [which i have working fine] the thing is, the rss I have now is replayin all posts made global (all activity) on my phorum, and I'd like that to remain but to miss out 1 forum which I'd like as a second feed that will only grab the new posts in this particular forum, is this possible?
So, 2 rss feeds with 2 urls
example: www.domain.com/rss.php (gloabal - 1 forum)
www.domain.com/rss1.php (forum specific)
So, 2 rss feeds with 2 urls
example: www.domain.com/rss.php (gloabal - 1 forum)
www.domain.com/rss1.php (forum specific)
April 25, 2005 07:35PM |
Admin Registered: 21 years ago Posts: 4,495 |
Neither is 100% possible. YOu can have a global feed. You can also have a feed for just one forum. You can not have a feed for one forum of only new topics. That is on the wishlist though.
Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: RSS feed creation for whole Phorum September 27, 2005 08:34AM |
Registered: 16 years ago Posts: 1 |
Re: RSS feed creation for whole Phorum October 12, 2005 09:17AM |
Registered: 16 years ago Posts: 1 |
leafred Wrote:
-------------------------------------------------------
> this is the 'modified' version of rss.php (with an
> other file : logorss.php) we use on lea-linux.org
> :
>
> - it can add some "image" to a channel
> - it set the charset (both in <?xml> tag, and in
> the type/mime)
> - it validate the feed with
> [feedvalidator.org] (using dummy email in the
> feed, right charset setting, fixe wrong language
> setting : fr_FR -> fr-FR as expected by
> feedvalidator)
>
> hope it can help
Great Job,
it work fine , and now the à ì and other letter with accent it's ok thanks a lot
Laurent
-------------------------------------------------------
> this is the 'modified' version of rss.php (with an
> other file : logorss.php) we use on lea-linux.org
> :
>
> - it can add some "image" to a channel
> - it set the charset (both in <?xml> tag, and in
> the type/mime)
> - it validate the feed with
> [feedvalidator.org] (using dummy email in the
> feed, right charset setting, fixe wrong language
> setting : fr_FR -> fr-FR as expected by
> feedvalidator)
>
> hope it can help
Great Job,
it work fine , and now the à ì and other letter with accent it's ok thanks a lot
Laurent
Re: RSS feed creation for whole Phorum October 14, 2005 05:40AM |
Registered: 17 years ago Posts: 97 |
With russian charset works only phorss version, and one more addition, it will be good to make replacement of forum tags (like ) to html tags before make rss, i made it myself, because can't found in forum function which made such replacement, maybe somebody can help
$descr = nl2br($item['description']);
$descr = preg_replace("/[url(.*?)\]/i","<a href\\1>",$descr);
$descr = preg_replace("/[\/url(.*?)\]/i","</a>",$descr);
$descr = preg_replace("/[color(.*?)\]/i","<font color\\1>",$descr);
$descr = preg_replace("/[\/color(.*?)\]/i","</font>",$descr);
$descr = preg_replace("/[(.*?)\]/i","<\\1>",$descr);
$descr = preg_replace("/[\/(.*?)\]/i","</\\1>",$descr);
$data.=" <description><![CDATA[".$descr."]]></description>\n";
$descr = nl2br($item['description']);
$descr = preg_replace("/[url(.*?)\]/i","<a href\\1>",$descr);
$descr = preg_replace("/[\/url(.*?)\]/i","</a>",$descr);
$descr = preg_replace("/[color(.*?)\]/i","<font color\\1>",$descr);
$descr = preg_replace("/[\/color(.*?)\]/i","</font>",$descr);
$descr = preg_replace("/[(.*?)\]/i","<\\1>",$descr);
$descr = preg_replace("/[\/(.*?)\]/i","</\\1>",$descr);
$data.=" <description><![CDATA[".$descr."]]></description>\n";
Re: RSS feed creation for whole Phorum December 10, 2005 12:42PM |
Registered: 17 years ago Posts: 13 |
Is there a way to find the latest available release of a given plugin without having to dig through the associated thread in the forum?
Can someone point me to a version of rss.php that they are confident in?
Another thread mentioned that RSS was being integrated into phorum's core, but I just upgraded and I don't see anything that looks related.
Edited 1 time(s). Last edit at 12/10/2005 12:57PM by zachofalltrades.
Can someone point me to a version of rss.php that they are confident in?
Another thread mentioned that RSS was being integrated into phorum's core, but I just upgraded and I don't see anything that looks related.
Edited 1 time(s). Last edit at 12/10/2005 12:57PM by zachofalltrades.
Sorry, only registered users may post in this forum.