RDF backend broken

  • Thread starter Glaanieboy
  • https://www.osnn.net/admin.php?templates/thread_view.1970/delete&_xfRedirect=https%3A%2F%2Fwww.osnn.net%2Fadmin.php%3Ftemplates%2Foutdated Start date

Glaanieboy

OSNN Veteran Addict
Joined
6 Mar 2002
Messages
2,628
I have tracked the problem down to http://www.osnn.net/comments.php?shownews=10151. As you can see, it gives an error at "<li>Fixed some problems with DVD-RAM devices on Windows NT/2000...</note>", because the RDF program it obviously set to break the <note> thingy at a certain point, BUT that means that the final </li> tag for the DVD-RAM bit is missing, thus giving the error. Is it possible to remove the breaking?
 

Glaanieboy

OSNN Veteran Addict
Joined
6 Mar 2002
Messages
2,628
It is 'fixed' now, the newspost in question has been bumped down enough not to show up anymore in the RDF backend. Still, when a post with <li> thingies shows up and it breaks down in the middle of a <li>, then the problem will return.
 

SPeedY_B

I may actually be insane.
Joined
31 Mar 2002
Messages
15,804
Ah, that could prove to be quite troublesome. EP Will need to look into this when he gets back.

I'm sure that the <notes> tag is used for Kipfolio so it can't be killed. Although just stripping tags from getting in there should be a possibility.
 

Glaanieboy

OSNN Veteran Addict
Joined
6 Mar 2002
Messages
2,628
SPeedY_B said:
Ah, that could prove to be quite troublesome. EP Will need to look into this when he gets back.

I'm sure that the <notes> tag is used for Kipfolio so it can't be killed. Although just stripping tags from getting in there should be a possibility.
I was thinking, that there should be no character limit in the <notes></notes> tags, that would eliminate the errors I got. Then you could put character limits in the application requesting the RDF feed. (I hope I make sense here)
 

SPeedY_B

I may actually be insane.
Joined
31 Mar 2002
Messages
15,804
No matter how much you limit it, somewhere down the line a tag will likely slip in. Just removing the tags should sort it out.
 

Electronic Punk

willalwaysbewithyou
Staff member
Political Access
Joined
2 Dec 2001
Messages
18,683
I have been trying to modify the script to remove the tags, I will try and sort it when I get home, I would really like you php gurus help on this one :D
 

SPeedY_B

I may actually be insane.
Joined
31 Mar 2002
Messages
15,804
Oh, what is the notes line actually used for? removing the tags may screw things up dependant on its use..
 

SPeedY_B

I may actually be insane.
Joined
31 Mar 2002
Messages
15,804
I was going to suggest that, but thought that when parsed (this is why I asked where it's used.) you'd get the <>'s rather than the actual tags..
 

Glaanieboy

OSNN Veteran Addict
Joined
6 Mar 2002
Messages
2,628
SPeedY_B said:
Oh, what is the notes line actually used for? removing the tags may screw things up dependant on its use..
You mean <notes></notes>?, that is where the actual news post is.

SPeedY_B said:
I was going to suggest that, but thought that when parsed (this is why I asked where it's used.) you'd get the <>'s rather than the actual tags..
Yeah, but you can change that back with html_entity_decode().
 

Electronic Punk

willalwaysbewithyou
Staff member
Political Access
Joined
2 Dec 2001
Messages
18,683
Yeah I mean ideally I would like to remove all vbcode and all html tags.
I mean't to do it a long time ago actually ;)

I'll post the relevent code and have a look myself when I get home.
 

Electronic Punk

willalwaysbewithyou
Staff member
Political Access
Joined
2 Dec 2001
Messages
18,683
Ok, various tags have been stripped out.
Chances are we missed a few, but I will deal with those as they appear!
 

Members online

No members online now.

Latest forum posts

Latest profile posts

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.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?

Forum statistics

Threads
62,000
Messages
673,429
Members
5,596
Latest member
Joshua Liansky