If there's a way to get htaccess to write any <br> to <br /> please let me know. It's coming in from an rss feed that way and the script I'm using is encrypted so I can't do much and I need the tags to be <br /> for validation purposes.
I don't know the specifics, but someone else does I'm sure. I just know that's probably how you will get it accomplished...good luck with it
Well I think this is a start: $string = "<br>"; echo str_replace(" <br>", " <br />", $string); Just have to figure out which file to place it in.
This is a unique situation. I'm not sure PHP or .htaccess will help you here. Your best solution may be to decrypt the script -- I'm certain it can be done -- then make any changes you need. If you upload the encrypted script as an attachment, we could work on decrypting it for you.
Or get another feed sucker, replace the tags with it, and let the encrypted feed gatherer suck in the altered feed from the new feed script. Get it?
It's over my head, I don't know much about feeds. I think I will write the person I bought the script from and ask him if he can fix it then encrypt it again. Thanks guys.
I meant this... [Your encrypted gatherer] -> (pulls feed from) -> URL www.domain.com/rss.xml My solution: [Open Source gatherer] -> (pulls feed from) -> URL www.domain.com/rss.xml [Open Source gatherer does the str_trplace and outputs RSS on url yourdomain.com/rss.xml] [Your encrypted gatherer] -> (pulls feed from) -> URL www.yourdomain.com/rss.xml Done. But longwinded.
Ok, I will try it and see where I get. My encrypted file is named rss.php, I've attached it, not sure it will help.