Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 12 lines (9 sloc) 0.427 kB
<?php
header('Content-Type: application/xml');
$bloggerdata = file_get_contents($_REQUEST['url']);
$bloggerdata = preg_replace('/<(img|meta|link|hr|br)([^<>]*?)([\/]?)>/i','<$1$2 />', $bloggerdata);
$bloggerdata = preg_replace('/&([^;]{10})/i','&amp;$1', $bloggerdata);
$bloggerdata = str_replace('<HEAD>','<head>',$bloggerdata);
$bloggerdata = str_replace('</HEAD>','</head>',$bloggerdata);
echo $bloggerdata;
?>
Jump to Line
Something went wrong with that request. Please try again.