Skip to content

Instantly share code, notes, and snippets.

@phocks
Last active July 28, 2020 06:51
Show Gist options
  • Save phocks/48d1392a6f7a31a0b829c5caeac592ae to your computer and use it in GitHub Desktop.
Save phocks/48d1392a6f7a31a0b829c5caeac592ae to your computer and use it in GitHub Desktop.
PHP rss proxy
<?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