Simple proxy for retreiving encrypted RSS feeds for Outlook

As the Outlook (even 2016) can’t handle RSS feeds with “https://”, here is a small and simple proxy reading the encrypted RSS feed and returning it via “http://”

I stored is as “index.php” file in root folder of subdomain on my web server.  if you want to use it in another way, please edit the “action=”/”” parameter in form tag .

<?php
  if ( isset ( $_GET["RSSfeed"] ) )
    { // get the feed and display it
    $sURL = urldecode ( $_GET["RSSfeed"] );
    $sFile = file_get_contents($sURL);
    echo $sFile;
    }
  else
    { // display welcome page
?>
<html>
    <head>
        <title>RSS Proxy for Outlook</title>
    </head>
    <body>
        <h1>RSS Proxy for Outlook</h1>
        <p>As the Outlook can't handle RSS feeds with "https://", here is a small and simple proxy reading the encrypted RSS feed and returning it via "http://" 
        <p>&nbsp;</p>
        <ol>
            <li>Enter the RSS Feeed URL and press Enter:
                <form action="/" method="get">
                    <input type="text" name="RSSfeed" size="80">
                </form>
            </li>
            <li>Copy the address from the URL line of your browser</li>
            <li>Enter it while adding RSS Feed to Outlook</li>
            <li>Enjoy! :)</li>
        </ol>
    </body>
</html>
<?php
    } 
?>
This entry was posted in WWW. Bookmark the permalink.