The BoardMod Project
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum
BoardMod Support Forum
[ Home | Help | Search | Login | Register ]  

20.06.13 at 00:24:12, Welcome, Guest. Please Login or Register

Choose Language:
Pages: 1 ... 5 6 7 8 
RSS Feed mod 1.0b7 (Read 18132 times)
ironwing
Mod Writer
*****
Offline

Sonoran Desert, Arizona, USA
Posts: 2330



Reply #90 - 14.12.04 at 04:13:12  
Are you using an RSS Reader (feed aggregator) to view the pages?  RSS feeds are not html, they are xml and so won't show in a normal browser.

Dan
 
IP Logged
 

Please include your forum address in all requests for assistance.  It greatly speeds things along.
ccmehil
Bloody Novice
*
Offline

Lippstadt, Nordrhein-Westfalen, Germany
Posts: 48



Reply #91 - 14.12.04 at 09:52:37  
XML will show in a normal browser, but RSS Feed Mod does not only in a RSS Reader - very strange but it works!!

Great Plugin!!
 
IP Logged
 

Just making a little place for myself on the web and ranting every once and awhile...
Jungle Jim
Hacker God
*****
Offline

The Fridge, England
Posts: 1015



Reply #92 - 14.12.04 at 16:27:39  
All beyond me, parsers, coded feeders, xml ... seems like u have to be a scientist to put it all together !  What i dont get is why RSS stand for "REALLY SIMPLE", when in fact its quite the opposite, requiring the user to know 2 or 3 coding languages to be able to integrate it !
 
IP Logged
 
DelaMn
Fulltime Hacker
***
Offline

Posts: 136



Reply #93 - 14.12.04 at 16:29:42  
ironwing wrote on 14.12.04 at 04:13:12:
Are you using an RSS Reader (feed aggregator) to view the pages?  RSS feeds are not html, they are xml and so won't show in a normal browser.

Dan


Obviously... YES! Undecided

Of course I tried on feed aggregator.

Everything else, what it is taking place is exposed on my post.

Plus... it takes centuries to get loaded  Embarrassed
 
IP Logged
 
ironwing
Mod Writer
*****
Offline

Sonoran Desert, Arizona, USA
Posts: 2330



Reply #94 - 14.12.04 at 17:51:44  
DelaMn wrote on 14.12.04 at 16:29:42:
Obviously... YES! Undecided

Of course I tried on feed aggregator.

Everything else, what it is taking place is exposed on my post.

Plus... it takes centuries to get loaded  Embarrassed



Not obvious at all.  It is the number one question I've had to answer since releasing the mod.  Many folks have never heard of readers and so try to view feeds on their browsers.

Could you post your forum address so I can see what is happening?

Dan
 
IP Logged
 

Please include your forum address in all requests for assistance.  It greatly speeds things along.
DelaMn
Fulltime Hacker
***
Offline

Posts: 136



Reply #95 - 14.12.04 at 20:12:46  
I´d prefer post the code you need... dont want people on mu forum talking about mods  Roll Eyes

Plus: is there any live example so we could see your mod working as it ? (not like michael on boardmod, wich is fantastic but is a different thing)


Thanks anticipated and ready to post the code when you ask if needed:Smiley
 
IP Logged
 
ironwing
Mod Writer
*****
Offline

Sonoran Desert, Arizona, USA
Posts: 2330



Reply #96 - 14.12.04 at 21:29:57  
Okay, here is the code I need...

One, I need to see the output of your rss feed as produced when run through the feed validator at feedvalidator.org.  Then I need to see the output of your rss feed as rendered in Netscape Navigator version 4.7.   The reason for needing the first is that I need to see specifically what doesn't validate.  The second is needed as Netscape 4.7 is so old that it doesn't recognize xml at all and just shows the raw feed text which is great for troubleshooting.

A working feed is available at:
http://www.mineralarts.com/cgi/yabbsp1/YaBB.pl?action=rss


Dan
 
IP Logged
 

Please include your forum address in all requests for assistance.  It greatly speeds things along.
DelaMn
Fulltime Hacker
***
Offline

Posts: 136



Reply #97 - 14.12.04 at 21:50:00  
ironwing wrote on 14.12.04 at 21:29:57:



It doesnt´t work  Embarrassed none of  the 3 readers i tried  Embarrassed

And tried on explorer 6 (just to see the code, as usually, like

http://rss.news.yahoo.com/rss/topstories

but in your example what you get is... nothing!  Embarrassed
 
IP Logged
 
ironwing
Mod Writer
*****
Offline

Sonoran Desert, Arizona, USA
Posts: 2330



Reply #98 - 14.12.04 at 21:54:00  
 
IP Logged
 

Please include your forum address in all requests for assistance.  It greatly speeds things along.
LoonyPandora
Moderator
*****
Offline

London, United Kingdom
Posts: 1705



Reply #99 - 14.12.04 at 23:47:36  
Just suggesting something:

Quote:
This feed is valid, but may cause problems for some users. We recommend fixing these problems.
Feeds should not be served with the "text/plain" media type


That's what the validator said about your feed - so perhaps it's how it sends headers or something? The 'working' feed doesn't have that warning, so it's the only difference between the two, as they both use the same rss version Undecided
 
IP Logged
 

Apple Technical Support
Code:
#!/usr/bin/perl --
($sig ='ddiissjjttuuffss ddaoouu ssffaee uuiijjtt
jj ssvvmmff auu qqffssmm ttmmaoohhjjoohh nnauuddiifftt')
=~y~b-v~a-z~s;
print $sig;
Boardmodder420
Bloody Novice
*
Offline

Posts: 20



Reply #100 - 17.12.04 at 05:40:30  
how can i display my yabb rss feed on a html page? is there a javascript or html code i could use? Roll Eyes
 
IP Logged
 
LoonyPandora
Moderator
*****
Offline

London, United Kingdom
Posts: 1705



Reply #101 - 17.12.04 at 10:42:41  
That's not what RSS is for...

If you want to display news on an HTML page, look into the news mod...
 
IP Logged
 

Apple Technical Support
Code:
#!/usr/bin/perl --
($sig ='ddiissjjttuuffss ddaoouu ssffaee uuiijjtt
jj ssvvmmff auu qqffssmm ttmmaoohhjjoohh nnauuddiifftt')
=~y~b-v~a-z~s;
print $sig;
ironwing
Mod Writer
*****
Offline

Sonoran Desert, Arizona, USA
Posts: 2330



Reply #102 - 17.12.04 at 17:17:09  
Okay, I found a fix that validates on feedvalidator and the rss.scripting.com validator as well.

In RSS_Display.pl find

Code:
 $YaBB_RSS = qq~
<?xml version="1.0" ?>


and change it to:

Code:
	$YaBB_RSS = qq~Content-type: application/xml\n
<?xml version="1.0" encoding="iso-8859-1" ?>


Dan
 
IP Logged
 

Please include your forum address in all requests for assistance.  It greatly speeds things along.
DelaMn
Fulltime Hacker
***
Offline

Posts: 136



Reply #103 - 17.12.04 at 20:05:54  
Hi ironwing.
The other day, when you said your link was working, it really wasn´t for me, as I explained (with 3 different aplications). Feedvalidator said "wrong rss"

But...

Today feedvalidator says it is OK. So I tried last thing you suggest

"$YaBB_RSS = qq~Content-type: application/xml\n
<?xml version="1.0" encoding="iso-8859-1" ?> "

And it doesnt work for me. Just 'time out' message.

It should be usefull could upload mod as you have changed it (not the version available,)


Excuses for my english again (not mothers tongue)


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

Added: it works with the last change, but goes so very slowly... many times, time out  Embarrassed
« Last Edit: 17.12.04 at 20:39:08 by DelaMn »  
IP Logged
 
ironwing
Mod Writer
*****
Offline

Sonoran Desert, Arizona, USA
Posts: 2330



Reply #104 - 18.12.04 at 01:09:47  
I've attached the fixed RSS_Display.pl file.  This fix also includes a fix for a problem with displaying the € symbol in the feed.

If your feed still doesn't validate after applying this fix you will need to send me a private message with the URL of your feed so I can see what is happening.  If your forum is not in english there may be problems with characters that aren't used in english.  Also, if your forum is based on the german translation of YaBB then there is a small fix that needs to be made to the rss script.

Dan
 
IP Logged
 

Please include your forum address in all requests for assistance.  It greatly speeds things along.
Pages: 1 ... 5 6 7 8 
© 2000-2012 by - All rights reserved.

Project website hosting proudly sponsored and provided by UK2 Hosting
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum