|
|
![]() |
|
|
Top | #1 |
|
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 150 |
|
|
|
|
|
|
Top | #2 |
|
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 150 |
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?
|
|
|
|
|
|
Top | #3 |
|
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 150 |
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.
|
|
|
|
|
|
Top | #4 |
|
I may actually be insane.
Joined: March 2002
Location: Midlands, England
Posts: 15,800
Reputation: 2877
Power: 307 |
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. |
|
|
|
|
|
Top | #5 |
|
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 150 |
Originally Posted by SPeedY_B
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)
|
|
|
|
|
|
Top | #6 |
|
I may actually be insane.
Joined: March 2002
Location: Midlands, England
Posts: 15,800
Reputation: 2877
Power: 307 |
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.
|
|
|
|
|
|
Top | #7 |
|
The Last High
Joined: December 2001
Location: London
Posts: 18,506
Blog Entries: 51
Reputation: 3652
Power: 346 |
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
|
|
|
|
|
|
Top | #8 |
|
I may actually be insane.
Joined: March 2002
Location: Midlands, England
Posts: 15,800
Reputation: 2877
Power: 307 |
|
|
|
|
|
|
Top | #9 |
|
I may actually be insane.
Joined: March 2002
Location: Midlands, England
Posts: 15,800
Reputation: 2877
Power: 307 |
Oh, what is the notes line actually used for? removing the tags may screw things up dependant on its use..
|
|
|
|
|
|
Top | #10 |
|
OSNN Veteran Addict
Joined: March 2002
Location: United Kingdom
Posts: 7,805
Reputation: 1490
Power: 213 |
http://uk2.php.net/htmlspecialchars <-- maybe
|
|
|
|
|
|
Top | #11 |
|
I may actually be insane.
Joined: March 2002
Location: Midlands, England
Posts: 15,800
Reputation: 2877
Power: 307 |
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..
|
|
|
|
|
|
Top | #12 |
|
OSNN Veteran Addict
Joined: March 2002
Location: The Netherlands
Posts: 2,626
Reputation: 270
Power: 150 |
Originally Posted by SPeedY_B
You mean <notes></notes>?, that is where the actual news post is.
Originally Posted by SPeedY_B
Yeah, but you can change that back with html_entity_decode().
|
|
|
|
|
|
Top | #13 |
|
The Last High
Joined: December 2001
Location: London
Posts: 18,506
Blog Entries: 51
Reputation: 3652
Power: 346 |
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. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Samba3] Using tdbsam backend to store user info | Glaanieboy | Linux & BSD | 10 | September 28th, 2004 2:30am |
| Broken Pages... | XPerties | Web Design & Coding | 17 | March 22nd, 2003 11:25pm |
| Neowin.net = Broken | leebobs | Green Room | 8 | March 1st, 2003 11:40pm |
| is DVD broken?!?!?! | pHANTOMpHREAK | Entertainment & Sports | 4 | December 4th, 2001 11:14pm |