Hey, i decided to repost this because the last one got long and kinda confusing. Okay first the background, I am using php to parse an rss feed, which is working fine. However when i put it into the javascript to display it i run into trouble. One of the descriptions has a carriage return in it, and javascript can't handle a new line during a string.
Slideshow JS i;m using - http://www.barelyfitz.com/projects/slideshow/
And i'm using Magpie on the PHP side for rss parsing.
The original page i am having the problem on is: http://test.globalnewsnow.info/entertain.php?page=music&ref=
And a test page where i have cut the code down to just the problem is here: http://test.globalnewsnow.info/test.php
This php is working fine, this is just a javascript problem, although maybe i can use php to fix it.
Also, i have tried a string replace for /n and /r with no luck.
Please let me know if theres anything else i can help with, and thanks in advance for looking.
2006-10-21
03:53:52
·
2 answers
·
asked by
Brady
3
in
Computers & Internet
➔ Programming & Design
I have already tried the replace both in php and javascript, with no luck.
And, i don't actually get an error in firefox, it just comes up with a message that says a script is taking a long time, continue or stop it.
2006-10-21
20:14:45 ·
update #1