RSS Issue - Broken?

Dan~

OSNN Newbie
Joined
25 Aug 2004
Messages
4
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.
 
Thread title edited to be more specific.
 
Dan~ said:
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:crosseyed:
 
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....
 
Other sites using vNews don't seem to have the problems that we do with feeds.

What else could we use anyway?
 
SPeedY_B said:
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.
 
I have customised our feed, so don't blame vnews ;)
it displays more data than default and illegal characters often slip through.
 
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 ?
 
Its not fully RSS2 now? :eek:
Doesn't relate to that tho, its the silly utorrent think has that crazy u in it.
 
Here is the relevent code I need to add to:

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

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back