RDF backend broken

Glaanieboy

OSNN Veteran Addict
Joined
Mar 6, 2002
Messages
2,626
#2
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
Mar 6, 2002
Messages
2,626
#3
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
Mar 31, 2002
Messages
15,800
#4
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
Mar 6, 2002
Messages
2,626
#5
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
Mar 31, 2002
Messages
15,800
#6
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 User
Joined
Dec 2, 2001
Messages
18,627
#7
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
Mar 31, 2002
Messages
15,800
#9
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
Mar 31, 2002
Messages
15,800
#11
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
Mar 6, 2002
Messages
2,626
#12
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 User
Joined
Dec 2, 2001
Messages
18,627
#13
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 User
Joined
Dec 2, 2001
Messages
18,627
#14
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 posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
62,010
Messages
673,478
Members
89,032
Latest member
jamesjacob