Forum Moderators: phranque
The key is when you say, "I don't want to link to these sites." That's your solution. Don't provide the link in the first place. My suggestion would be to see if there's some kind of option in 'rss2html' that turns off the linking. If not, the only other thing you can do is after 'rss2html' is done creating the HTML pages, run some other program to delete all the links.
Once you put the link on the web page, you can no longer control what happens when it's clicked, so you just need to figure out how not to have the link.
http://www.example.com/forums/redirect-to/?redirect=http://www.externaldomain.com
and it also uses rewrite rules I believe. And it does convert all links on forum fine.
I am not sure if that could apply to the sites I have that use rss2html script.
[edited by: jdMorgan at 12:40 am (utc) on July 7, 2006]
[edit reason] example.com [/edit]
If you're on Apache 2.0+, then you may be able to use external output Filters [httpd.apache.org] to do this. If you're on Apache 1.x, then you'll need to rewrite all page URLs to a (new) script, and have that script act as a 'wrapper' for your page-generation scripts, invoking them and then post-processing their output to remove the links before sending the result to the client.
I'd recommend looking for an off-the-shelf solution, as this project may consume several days of work otherwise.
Jim
But thanks guys for replies.