|
Hello all,
I am working on trying to receive an RSS feed and insert it into a scrolling box for students to read their local news, I get everything and it works fine, except that the RSS feed puts some kind of weird server side line breaks into it. I was curious if anyone knew how to remove any unconventional line breaks from a feed that is ASP driven (i.e. \r, \n, etc). When it comes in, there are mysterious carraige returns all over the place that I can't seem to remove, and my js feed rotator needs everything to be in one line, so page breaks breaks the javascript. I am currently running the following commands on it and these do not fix this particular page break:
php addslashes(trim(strip_tags($this->title)))
Any thoughts or ideas would be wonderful. I googled asp page breaks and didn't see anything obvious. As always, thank you. I have wasted like 50 hours of my life trying to fix these little errors.
|