Skip to content

Instantly share code, notes, and snippets.

View aorcsik's full-sized avatar

Antal Orcsik aorcsik

View GitHub Profile
@aorcsik
aorcsik / gist:5011587
Last active December 14, 2015 02:09 — forked from gklka/gist:5011530
This is an augmented version of a small script from @gklka for correcting the beszeljukmac.com RSS.
<?php
if (isset($_GET['url'])) {
$url = $_GET['url'];
} else {
$url = "http://beszeljukmac.com/index.php/rss/hirek";
}
$page = file_get_contents($url);
if (function_exists("mb_convert_encoding")) {