Created
February 25, 2022 23:38
-
-
Save ThomasG77/cf0e6193130b7993728debc34ea291c6 to your computer and use it in GitHub Desktop.
Proxy to IGN actu RSS
This file contains 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: text/xml;charset=UTF-8'); | |
$arrContextOptions=array( | |
"ssl"=>array( | |
"verify_peer"=>false, | |
"verify_peer_name"=>false, | |
), | |
); | |
$url = 'https://geoservices.ign.fr/actualites/rss.xml'; | |
$homepage = file_get_contents($url, false, stream_context_create($arrContextOptions)); | |
echo $homepage; | |
?> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment