Last active
July 28, 2020 06:51
-
-
Save phocks/48d1392a6f7a31a0b829c5caeac592ae to your computer and use it in GitHub Desktop.
PHP rss proxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header('Content-Type: application/rss+xml; charset=utf-8'); | |
header("Access-Control-Allow-Origin: *"); | |
$string = file_get_contents("https://www.abc.net.au/news/feed/51120/rss.xml"); | |
echo $string; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment