Hello,
I’m using rss2html (http://www.feedforall.com/download/rss2html.zip) to create accessible rss feeds for disabled students. The links it creates still have the http:// prefix and I am then unable to then parse these through instapaper’s mobilizer (again for accessibility purposes) - unless the http:// is dropped.
Whilst I have found some code to remove the http:// prefix:
<? /* E.g: $s = 'http://google.com'; echo remove_http($s); output: google.com */ function remove_http($url='') { return preg_replace("/^https?:\/\/(.+)$/i","\\1", $url); } ?>How would I go about implementing it?
Many thanks,
Mike