Reply
Old December 24th, 2005 Top | #1
 
Dan~'s Avatar
OSNN Junior Addict
Joined: August 2004
Posts: 4
Reputation: 0
Power: 0

Default RSS Issue - Broken?

I've noticed this problem for ages so I went to investigate why, I thought maybe the RSS for Software url had changed, but it's completly broken, When I click RSS on the site I just get an error.
Dan~ is offline   Reply With Quote
Old December 24th, 2005 Top | #2
 
madmatt's Avatar
Bow Down to the King
Joined: April 2002
Location: New York
Posts: 13,312
Reputation: 4090
Power: 297

Default Re: RSS Issue - Broken?

Thread title edited to be more specific.

madmatt is offline   Reply With Quote
Old December 27th, 2005 Top | #3

OSNN Folding Team  
zeke_mo's Avatar
(value not set)
Joined: August 2004
Location: Placerville, CA
Posts: 1,965
Reputation: 1290
Power: 126

Default Re: RSS Issue - Broken?

Originally Posted by Dan~
I've noticed this problem for ages so I went to investigate why, I thought maybe the RSS for Software url had changed, but it's completly broken, When I click RSS on the site I just get an error.
I have always had this problem, everybody just things I'm crazy though

"My Mind is a swirling miasma of scintillating thoughts and turgid ideas" ~Sam

Zeitgeist Money as Debt,
educate yourself.
zeke_mo is offline   Reply With Quote
Old December 27th, 2005 Top | #4
 
SPeedY_B's Avatar
I may actually be insane.
Joined: March 2002
Location: Midlands, England
Posts: 15,800
Reputation: 2877
Power: 310

Default Re: RSS Issue - Broken?

Our RDF feed is crap.

Can't we just use the RDF for Klip's, and have a nice new sparkly (compliant) RSS 2.0 feed for everyone else?










*cough* it's all because vNews smells....
SPeedY_B is offline   Reply With Quote
Old December 27th, 2005 Top | #5
 
X-Istence's Avatar
*
Joined: December 2001
Location: USA
Posts: 6,496
Reputation: 2808
Power: 220

Default Re: RSS Issue - Broken?

Originally Posted by SPeedY_B
*cough* it's all because vNews smells....

This is why :P.
X-Istence is offline   Reply With Quote
Old December 27th, 2005 Top | #6
 
SPeedY_B's Avatar
I may actually be insane.
Joined: March 2002
Location: Midlands, England
Posts: 15,800
Reputation: 2877
Power: 310

Default Re: RSS Issue - Broken?

Other sites using vNews don't seem to have the problems that we do with feeds.

What else could we use anyway?
SPeedY_B is offline   Reply With Quote
Old December 27th, 2005 Top | #7
 
X-Istence's Avatar
*
Joined: December 2001
Location: USA
Posts: 6,496
Reputation: 2808
Power: 220

Default Re: RSS Issue - Broken?

Originally Posted by SPeedY_B
Other sites using vNews don't seem to have the problems that we do with feeds.

What else could we use anyway?

I just wanted to get my two cents in :P. I have no clue why other sites work fine, and we don't. As far as I know it works fine, as on my blog it is still in the side bar.
X-Istence is offline   Reply With Quote
Old December 27th, 2005 Top | #8

OSNN Folding Team  
Electronic Punk's Avatar
The Last High
Joined: December 2001
Location: London
Posts: 18,510
Blog Entries: 51
Reputation: 3652
Power: 349

Default Re: RSS Issue - Broken?

I have customised our feed, so don't blame vnews
it displays more data than default and illegal characters often slip through.

Electronic Punk is offline   Reply With Quote
Old December 27th, 2005 Top | #9
 
SPeedY_B's Avatar
I may actually be insane.
Joined: March 2002
Location: Midlands, England
Posts: 15,800
Reputation: 2877
Power: 310

Default Re: RSS Issue - Broken?

But it's RDF format... who uses rdf?!

As I said before, would it not be possible to leave those feeds in place for the klip, and have a fully working, plain, compliant, no bullcrap, RSS2.0 feed for everyone else ?
SPeedY_B is offline   Reply With Quote
Old December 27th, 2005 Top | #10

OSNN Folding Team  
Electronic Punk's Avatar
The Last High
Joined: December 2001
Location: London
Posts: 18,510
Blog Entries: 51
Reputation: 3652
Power: 349

Default Re: RSS Issue - Broken?

Its not fully RSS2 now?
Doesn't relate to that tho, its the silly utorrent think has that crazy u in it.

Electronic Punk is offline   Reply With Quote
Old December 27th, 2005 Top | #11

OSNN Folding Team  
Electronic Punk's Avatar
The Last High
Joined: December 2001
Location: London
Posts: 18,510
Blog Entries: 51
Reputation: 3652
Power: 349

Default Re: RSS Issue - Broken?

Here is the relevent code I need to add to:

PHP Code:
 unset($news_data);
 
$getdata query("SELECT news_news.id,catid,mainnews,commentcount,title,stickypost,name FROM news_news,news_category WHERE".iif($id != 0," (catid IN ($cat_ids)) AND")." (news_news.display = 1) AND (program = 0) AND news_category.id = news_news.catid ORDER BY stickypost DESC,time DESC LIMIT $backend_show");
 
while (
$news fetch_array($getdata)) {
if (
isuserallowed($cat_arr[$news[catid]][allowview])) {
 
$news[title] = htmlentities($news[title]);
$news[poster] = htmlentities($news[poster]);
$news[time] = htmlentities(date($mobile_time,$news[time]-$time_offset));
 
$newsdescriptionlength 500// Length of the news to display before cutting off
$news[description] = iif(strlen($news[mainnews]) > $newsdescriptionlength,substr($news[mainnews],0,$newsdescriptionlength)."...",$news[mainnews]);
 
if (
$news[stickypost] == 2) {
eval(
"\$news_data .= \"".returnpagebit("backend_xml_post")."\";");
} elseif (
$news[stickypost] == 1) {
eval(
"\$sticky .= \"".returnpagebit("backend_xml_post")."\";");
} else {
eval(
"\$news_data .= \"".returnpagebit("backend_xml_post")."\";");
}
}
}
 
$sitename htmlentities($sitename);
$homeurl htmlentities($homeurl);
 
header("Content-Type: text/xml");
eval(
"echooutput(\"".returnpagebit("backend_xml")."\");"); 
i need to add something before or after this line:

$news[title] = htmlentities($news[title]);

that will strip weird characters out.

Electronic Punk is offline   Reply With Quote
Old December 28th, 2005 Top | #12
 
SPeedY_B's Avatar
I may actually be insane.
Joined: March 2002
Location: Midlands, England
Posts: 15,800
Reputation: 2877
Power: 310

Default Re: RSS Issue - Broken?

Originally Posted by Electronic Punk
Its not fully RSS2 now?

No.

1. Validate the feed
2. RSS 2 spec
SPeedY_B is offline   Reply With Quote
Old December 28th, 2005 Top | #13

OSNN Folding Team  
Electronic Punk's Avatar
The Last High
Joined: December 2001
Location: London
Posts: 18,510
Blog Entries: 51
Reputation: 3652
Power: 349

Default Re: RSS Issue - Broken?

Problem is solved anyway

Electronic Punk is offline   Reply With Quote
Old December 28th, 2005 Top | #14

OSNN Folding Team  
vern's Avatar
Dominus
Joined: March 2002
Location: Minnesota, USA
Posts: 1,570
Reputation: 660
Power: 146

Default Re: RSS Issue - Broken?

http://www.osnn.net/modules.php?modn...ction=rdf&id=1

^ That link is still broken. Other feeds for software, games, etc work fine though.
vern is offline   Reply With Quote
Old December 28th, 2005 Top | #15
 
SPeedY_B's Avatar
I may actually be insane.
Joined: March 2002
Location: Midlands, England
Posts: 15,800
Reputation: 2877
Power: 310

Default Re: RSS Issue - Broken?

Works fine here.
SPeedY_B is offline   Reply With Quote
Old December 28th, 2005 Top | #16

OSNN Folding Team  
Electronic Punk's Avatar
The Last High
Joined: December 2001
Location: London
Posts: 18,510
Blog Entries: 51
Reputation: 3652
Power: 349

Default Re: RSS Issue - Broken?

Ok, sorted that - think I am gonna have to add the few bad characters as I see em. Should be alot easier to do now.

Electronic Punk is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Neowin Broken sean.ferguson Green Room 4 September 29th, 2007 11:30am
Broken Game Wyse_Tech Graphics Cards 4 February 13th, 2007 3:27am
Need help Broken Link salimsd Portable Devices & Gadgets 3 June 25th, 2006 8:55pm
XP Install Restart Issue, Plus Driver Letter Issue lancer Windows Desktop Systems 4 February 20th, 2006 1:25am
is DVD broken?!?!?! pHANTOMpHREAK Entertainment & Sports 4 December 4th, 2001 10:14pm