mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-26 12:36:07 +02:00
API CHANGE Renamed sapphire/thirdparty/simplepie/SimplePie.php to simplepie.inc git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92494 467b73ca-7a2a-4603-9d3b-597d59a354a9
308 lines
24 KiB
PHP
308 lines
24 KiB
PHP
<?php
|
|
if (isset($_GET['logopng']))
|
|
{
|
|
$data='iVBORw0KGgoAAAANSUhEUgAAAZAAAAAtCAYAAACAnD3TAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwMi8wMy8wNnKU/JIAAAAfdEVYdFNvZnR3YXJlAE1hY3JvbWVkaWEgRmlyZXdvcmtzIDi1aNJ4AAAR6ElEQVR4nO1dzYrrSJb+TtP79Buk5gnSRbvp1ZC6q4GB4bqWvbq+m1kMDDdr0dCLGcoJDTXUpnxp6Fle52pWQ/syMNAwUEoaLhTtppxPUPITtL0vV8wiTthy6IQUkkOynKkPhDOl+DmKv3Pi/IRIKYUePXr06NGjKn5+bgK6DiKKAEwAbAAslFLpGcm5KBBRDCAGkEK33eac9PQIAyKaAIgArJRSi0BlRqg4z4howHkGnGcVgpYeFaCUepEX9KCL+Ro60gyhB7TiKz033SXvNIZerFXmis9Ey8SiY37mtolMf5+7ny75AjC3+nXC9wcAEuvZ1LNM5zwDMLWeqUx9K6u+6Nzt89KuF7UDIaIhgDvohfbKegYAa+hJMFVaArqz0l0T0VB1V9K5A3AdqjCW8O4cjzfQE3il5J3F1Pp/HIouX2TonyDTLtzXjwDuOtyXnQPvEt5Yt8fQTGUC4LZm0UXz7EtHnjGAG+HerCYNwVAyb3yQKqXmgchpFEcMhP46+hbAR/WLZdBOoL+OIhwkwCG09HDDvwYrAFv+TQAk6hfLYCoP3nZ/KEl2DT1B3hDRZ0yzjYFw77liAvcE3oOIHnBgugY2I7tCi2BhYSHQYXALzeRaZ2xdREaFtI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Y2aC0Wvwuoe7DNxHnEZ33voEQYJdGCjMeY+ofcECg4+P8zETwyhQw9M/MS8Zx5+CBYH0qNHjx49Xhb+H6JWCt7+7okIAAAAAElFTkSuQmCC';
|
|
header('Content-type: image/png');
|
|
echo base64_decode($data);
|
|
exit;
|
|
}
|
|
else if (isset($_GET['background']))
|
|
{
|
|
$data='R0lGODlhMAEeAeYAAP///8ni6cTf5+72+PD3+c3k6+nz9ufy9ev099Pn7bnZ48bg6LfY4uHv8/r8/f3+/v7//7bX4cjh6fj7/Mvj6vz9/rva4+z19/X6+/f7/Pn8/fb6+7jZ4vv9/bra473b5Lzb5LXX4b7c5b/c5e31+NTo7tvs8dfq7/H3+bjY4tnq79Hm7c/l69nr8PL4+t7t8sDd5cLe5uPw9Nvr8Mri6fP4+tLn7er099Hm7O/2+dDm7OTw9OXx9Nbp7tbp7+Lv8+Du8szj6sXg57bY4d3s8djq7+jz9tzs8cPe58fh6M7k68Pf5+by9fz+/sDd5vT5+vT5+97t8bbY4trr8P7+/v7+/+Pw8+Xx9dXo7sHe5vH4+fP5+sHd5t/u8s/l7AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAAAALAAAAAAwAR4BAAf/gCGCg4SFhoeIiYqLjI2Oj5CRkpOUlZaXmJmam5ydnp+goaKNEaWmp6ipqqusra6vsLGys7S1tre4ubq7vL2+v8DBwsPExbBDyMnKy8zNzs/Q0dLT1NXW19jZ2tvc3d7KUuHi4+Tl5ufo6err7O3u7/Dx8vP09fb34wz6+/z9/v8AAwocSLCgwYMIEypcyLChw4cQI0qcSLGixYsYM2osmKKjx48gQ4ocSbKkyZMoU6pcybKly5cwY8qc+ZGDzZs4c+rcybOnz59AgwodSrSo0aNIkypdyrSp06dQo0qdSrWq1aAKsmrdyrWr169gw4odS7as2bNo06pdy7at27dw/+PKnUu3rt27ePOS9cC3r9+/gAMLHky4sOHDiBMrXsy4sePHkCNLnky5suXLmDNr3sz5sIXPoEOLHk26tOnTqFOrXs26tevXsGPLnk27tu3buHPr3s27t+/fqkEIH068uPHjyJMrX868ufPn0KNLn069uvXr2LNr3869u/fv4MOLb/6hvPnz6NOrX8++vfv38OPLn0+/vv37+PPr38+/v///AAYo4IAEFgifCAgmqOCCDDbo4IMQRijhhBRWaOGFGGao4YYcdujhhyCGKOKIJJZo4okoTjjCiiy26OKLMMYo44w01mjjjTjmqOOOPPbo449ABinkkEQWaeSRSCap5P+SNsLg5JNQRinllFRWaeWVWGap5ZZcdunll2CGKeaYZELpxJlopqnmmmy26eabcMYp55x01mnnnXjmqeeefPaZJheABirooIQWauihiCaq6KKMNuroo5BGKumklFZqqaBZZKrpppx26umnoIYq6qiklmrqqaimquqqrLbq6qubxiDrrLTWauutuOaq66689urrr8AGK+ywxBZr7LHI0orEssw26+yz0EYr7bTUVmvttdhmq+223Hbr7bfghtvsEuSWa+656Kar7rrstuvuu/DGK++89NZr77345quvuQL06++/AAcs8MAEF2zwwQgnrPDCDDfs8MMQRyzxxBRXbPH/xRhnrPHGHHeMsBAghyzyyCSXbPLJKKes8sost+zyyzDHLPPMNNdss8gL5Kzzzjz37PPPQAct9NBEF2300UgnrfTSTDft9NNQRy311FRXbfXVWGdNdBJcd+3112CHLfbYZJdt9tlop6322my37fbbcMctt9cS1G333XjnrffefPft99+ABy744IQXbvjhiCeu+OKMN+7445BHLvnklFcOeACYZ6755px37vnnoIcu+uikl2766ainrvrqrLfu+uuwxy777LTXbvvtuI9Ow+689+7778AHL/zwxBdv/PHIJ6/88sw37/zz0EffOwXUV2/99dhnr/323Hfv/ffghy/+//jkl2/++einr/767Lfv/vvwxy///PR/H8T9+Oev//789+///wAMoAAHSMACGvCACEygAhfIwAbmrwAQjKAEJ0jBClrwghjMoAY3yMEOevCDIAyhCEdIwhKa8IQoTKEKV8jCFrrwhT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P0MhEpb+tKYzrSmN83pTnv606AOtahHTepSm/rUqE61qld96Qa4+tWwjrWsZ03rWtv61rjOta53zete+/rXwA62sIdN7GIb+9jITrayl//N7GY7O9c/iLa0p03talv72tjOtra3ze1ue/vb4A63uMdN7nKb+9zTtoK6183udrv73fCOt7znTe962/ve+M63vvfN7377+98AZ7cMBk7wghv84AhPuMIXzvCGO/zhEI+4xCdO8Ypb/OIYz3jBd8Dxjnv84yAPuchHTvKSm/zkKE+5ylfO8pa7/OUwj7nMPc6Dmtv85jjPuc53zvOe+/znQA+60IdO9KIb/ehIT7rSl37zKzj96VCPutSnTvWqW/3qWM+61rfO9a57/etgD7vYx052qDPh7GhPu9rXzva2u/3tcI+73OdO97rb/e54z7ve9873vqf9AIAPvOAHT/j/whv+8IhPvOIXz/jGO/7xkI+85CdP+cpb/vKYz7zmN8/5znv+86BfvBFGT/rSm/70qE+96lfP+ta7/vWwj73sZ0/72tv+9rjPfekNwPve+/73wA++8IdP/OIb//jIT77yl8/85jv/+dCPvvSnT/3qW//62M++9rfP/ePf4PvgD7/4x0/+8pv//OhPv/rXz/72u//98I+//OdP//qHHwH4z7/+98///vv//wAYgAI4gARYgAZ4gAiYgAq4gAzYgA74gBAYgRI4gRRYgRZ4gRg4gBewgRzYgR74gSAYgiI4giRYgiZ4giiYgiq4gizYgi74gjAYgzI4gzRYgzZ4gziY/4M6uIMmSAI++INAGIRCOIREWIRGeIRImIRKuIRM2IRO+IRQGIVSOIVUCIQDcIVYmIVauIVc2IVe+IVgGIZiOIZkWIZmeIZomIZquIZs2IZu+IZwGIdyOId0WId2eIdimAN6uId82Id++IeAGIiCOIiEWIiGeIiImIiKuIiM2IiO+IiQyIcEMImUWImWeImYmImauImc2Ime+ImgGIqiOIqkWIqmeIqomIqquIqs2Iqu+IqwGIuyOIueiAK2eIu4mIu6uIu82Iu++IvAGIzCOIzEWIzGeIzImIzKuIzMiIta8IzQGI3SOI3UWI3WeI3YmI3auI3c2I3e+I3gGI7iOP+O5F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Fqv9nqv+Jqv+rqv/Nqv/vqvABuwAjuwBFuwBnuwCJuwCruw9goADvuwEBuxEjuxFFuxFnuxGJuxGruxHNuxHvuxIBuyIjuyJFuyJnuyKJuyKruyLNuyLvuyMBuzMjuzNFuzNnuzOJuzOruzPNuzPvuzQBu0Qju0RFu0Rnu0SJu0Sru0TNu0Tvu0UBu1Uju1VFu1Vnu1WJu1Wru1XNu1Xvu1YBu2Yju2ZFu2Znu2aJu2aru2bNu2bvu2cBu3cju3dFu3dnu3eJu3eru3fNu3fvu3gBu4gju4hFu4hnu4iJu4irv/uIzbuI77uJAbuZI7uZRbuZZ7uZibuZq7uZzbuZ77uaAbuqI7uqRbuqZ7uqibuqq7uqzbuq77urAbu7I7u7Rbu7Z7u7ibu7q7u7zbu777u8AbvMI7vMRbvMZ7vMibvMq7vMzbvM77vNAbvdI7vdRbvdZ7vdibvdq7vdzbvd77veAbvuI7vuRbvuZ7vuibvuq7vuzbvu77vvAbv/I7v/Rbv/Z7v/ibv/q7v/zbv/77vwAcwAI8wARcwAZ8wAicwAq8wAzcwA78wBAcwRI8wRRcwRZ8wRicwRq8wRzcwR78wSAcwiI8wiRcwiZ8wiicwiq8wizcwi78wjAcwzI8wzRcFcM2fMM4nMM6vMM83MM+/MNArLmBAAA7';
|
|
header('Content-type: image/gif');
|
|
echo base64_decode($data);
|
|
exit;
|
|
}
|
|
|
|
$php_ok = (function_exists('version_compare') && version_compare(phpversion(), '4.1.0', '>='));
|
|
$xml_ok = extension_loaded('xml');
|
|
$pcre_ok = extension_loaded('pcre');
|
|
$curl_ok = (extension_loaded('curl'));
|
|
$zlib_ok = extension_loaded('zlib');
|
|
$mbstring_ok = extension_loaded('mbstring');
|
|
$iconv_ok = extension_loaded('iconv');
|
|
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
|
|
<head>
|
|
<title>SimplePie: Server Compatibility Test 1.0</title>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
|
|
|
<style type="text/css">
|
|
body {
|
|
font:11px/16px verdana, sans-serif;
|
|
letter-spacing:0px;
|
|
color:#333;
|
|
margin:0;
|
|
padding:0;
|
|
background:#fff url(sp_compatibility_test.php?background) repeat-x top left;
|
|
}
|
|
|
|
div#site {
|
|
width:500px;
|
|
margin:20px auto 0 auto;
|
|
}
|
|
|
|
a {
|
|
color:#000;
|
|
text-decoration:underline;
|
|
padding:0 1px;
|
|
}
|
|
|
|
a:hover {
|
|
color:#fff;
|
|
background-color:#333;
|
|
text-decoration:none;
|
|
padding:0 1px;
|
|
}
|
|
|
|
p {
|
|
margin:0;
|
|
padding:5px 0;
|
|
}
|
|
|
|
em {
|
|
font-style:normal;
|
|
background-color:#ffc;
|
|
}
|
|
|
|
ul, ol {
|
|
margin:10px 0 10px 20px;
|
|
padding:0 0 0 15px;
|
|
}
|
|
|
|
ul li, ol li {
|
|
margin:0 0 7px 0;
|
|
padding:0 0 0 3px;
|
|
}
|
|
|
|
h2 {
|
|
font-size:18px;
|
|
padding:0;
|
|
margin:30px 0 10px 0;
|
|
}
|
|
|
|
h3 {
|
|
font-size:16px;
|
|
padding:0;
|
|
margin:20px 0 5px 0;
|
|
}
|
|
|
|
h4 {
|
|
font-size:14px;
|
|
padding:0;
|
|
margin:15px 0 5px 0;
|
|
}
|
|
|
|
code {
|
|
font-size:1.1em;
|
|
background-color:#f3f3ff;
|
|
color:#000;
|
|
}
|
|
|
|
table#chart {
|
|
border-collapse:collapse;
|
|
}
|
|
|
|
table#chart th {
|
|
background-color:#eee;
|
|
padding:2px 3px;
|
|
border:1px solid #fff;
|
|
}
|
|
|
|
table#chart td {
|
|
text-align:center;
|
|
padding:2px 3px;
|
|
border:1px solid #eee;
|
|
}
|
|
|
|
table#chart tr.enabled td {
|
|
/* Leave this alone */
|
|
}
|
|
|
|
table#chart tr.disabled td,
|
|
table#chart tr.disabled td a {
|
|
color:#999;
|
|
font-style:italic;
|
|
}
|
|
|
|
table#chart tr.disabled td a {
|
|
text-decoration:underline;
|
|
}
|
|
|
|
div.chunk {
|
|
margin:20px 0 0 0;
|
|
padding:0 0 10px 0;
|
|
border-bottom:1px solid #ccc;
|
|
}
|
|
|
|
.footnote,
|
|
.footnote a {
|
|
font:10px/12px verdana, sans-serif;
|
|
color:#aaa;
|
|
}
|
|
|
|
.footnote em {
|
|
background-color:transparent;
|
|
font-style:italic;
|
|
}
|
|
</style>
|
|
|
|
<script type="text/javascript">
|
|
// Sleight - Alpha transparency PNG's in Internet Explorer 5.5/6.0
|
|
// (c) 2001, Aaron Boodman; http://www.youngpup.net
|
|
|
|
if (navigator.platform == "Win32" && navigator.appName == "Microsoft Internet Explorer" && window.attachEvent) {
|
|
document.writeln('<style type="text/css">img, input.image { visibility:hidden; } </style>');
|
|
window.attachEvent("onload", fnLoadPngs);
|
|
}
|
|
|
|
function fnLoadPngs() {
|
|
var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, '');
|
|
var itsAllGood = (rslt != null && Number(rslt[1]) >= 5.5);
|
|
|
|
for (var i = document.images.length - 1, img = null; (img = document.images[i]); i--) {
|
|
if (itsAllGood && img.src.match(/\png$/i) != null) {
|
|
var src = img.src;
|
|
var div = document.createElement("DIV");
|
|
div.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "', sizing='scale')";
|
|
div.style.width = img.width + "px";
|
|
div.style.height = img.height + "px";
|
|
img.replaceNode(div);
|
|
}
|
|
img.style.visibility = "visible";
|
|
}
|
|
}
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="site">
|
|
<div id="content">
|
|
|
|
<div class="chunk">
|
|
<h2 style="text-align:center;"><img src="sp_compatibility_test.php?logopng" alt="SimplePie Compatibility Test" title="SimplePie Compatibility Test" /></h2>
|
|
<table cellpadding="0" cellspacing="0" border="0" width="100%" id="chart">
|
|
<thead>
|
|
<tr>
|
|
<th>Test</th>
|
|
<th>Should Be</th>
|
|
<th>What You Have</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr class="<?php echo ($php_ok) ? 'enabled' : 'disabled'; ?>">
|
|
<td>PHP</td>
|
|
<td>4.1.0 or higher</td>
|
|
<td><?php echo phpversion(); ?></td>
|
|
</tr>
|
|
<tr class="<?php echo ($xml_ok) ? 'enabled' : 'disabled'; ?>">
|
|
<td><a href="http://php.net/xml">XML</a></td>
|
|
<td>Enabled</td>
|
|
<td><?php echo ($xml_ok) ? 'Enabled' : 'Disabled'; ?></td>
|
|
</tr>
|
|
<tr class="<?php echo ($pcre_ok) ? 'enabled' : 'disabled'; ?>">
|
|
<td><a href="http://php.net/pcre">PCRE</a></td>
|
|
<td>Enabled</td>
|
|
<td><?php echo ($pcre_ok) ? 'Enabled' : 'Disabled'; ?></td>
|
|
</tr>
|
|
<tr class="<?php echo ($curl_ok) ? 'enabled' : 'disabled'; ?>">
|
|
<td><a href="http://php.net/curl">cURL</a></td>
|
|
<td>Enabled</td>
|
|
<td><?php echo (extension_loaded('curl')) ? 'Enabled' : 'Disabled'; ?></td>
|
|
</tr>
|
|
<tr class="<?php echo ($zlib_ok) ? 'enabled' : 'disabled'; ?>">
|
|
<td><a href="http://php.net/zlib">Zlib</a></td>
|
|
<td>Enabled</td>
|
|
<td><?php echo ($zlib_ok) ? 'Enabled' : 'Disabled'; ?></td>
|
|
</tr>
|
|
<tr class="<?php echo ($mbstring_ok) ? 'enabled' : 'disabled'; ?>">
|
|
<td><a href="http://php.net/mbstring">mbstring</a></td>
|
|
<td>Enabled</td>
|
|
<td><?php echo ($mbstring_ok) ? 'Enabled' : 'Disabled'; ?></td>
|
|
</tr>
|
|
<tr class="<?php echo ($iconv_ok) ? 'enabled' : 'disabled'; ?>">
|
|
<td><a href="http://php.net/iconv">iconv</a></td>
|
|
<td>Enabled</td>
|
|
<td><?php echo ($iconv_ok) ? 'Enabled' : 'Disabled'; ?></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="chunk">
|
|
<h3>What does this mean?</h3>
|
|
<ol>
|
|
<?php if ($php_ok && $xml_ok && $pcre_ok && $mbstring_ok && $iconv_ok && $curl_ok && $zlib_ok): ?>
|
|
<li><em>You have everything you need to run SimplePie properly! Congratulations!</em></li>
|
|
<?php else: ?>
|
|
<?php if ($php_ok): ?>
|
|
<li><strong>PHP:</strong> You are running a supported version of PHP. <em>No problems here.</em></li>
|
|
<?php if ($xml_ok): ?>
|
|
<li><strong>XML:</strong> You have XML support installed. <em>No problems here.</em></li>
|
|
<?php if ($pcre_ok): ?>
|
|
<li><strong>PCRE:</strong> You have PCRE support installed. <em>No problems here.</em></li>
|
|
<?php if ($curl_ok): ?>
|
|
<li><strong>cURL:</strong> You have <code>cURL</code> support installed. <em>No problems here.</em></li>
|
|
<?php else: ?>
|
|
<li><strong>cURL:</strong> The <code>cURL</code> extension is not available. SimplePie will use <code>fsockopen</code> instead.</li>
|
|
<?php endif; ?>
|
|
|
|
<?php if ($zlib_ok): ?>
|
|
<li><strong>Zlib:</strong> You have <code>Zlib</code> enabled. This allows SimplePie to support GZIP-encoded feeds. <em>No problems here.</em></li>
|
|
<?php else: ?>
|
|
<li><strong>Zlib:</strong> The <code>Zlib</code> extension is not available. SimplePie will ignore any GZIP-encoding, and instead handle feeds as uncompressed text.</li>
|
|
<?php endif; ?>
|
|
|
|
<?php if ($mbstring_ok && $iconv_ok): ?>
|
|
<li><strong>mbstring and iconv:</strong> You have both <code>mbstring</code> and <code>iconv</code> installed! This will allow SimplePie to handle the greatest number of languages. Check the <a href="http://simplepie.org/docs/reference/simplepie-core/supported-character-encodings/">Supported Character Encodings</a> chart to see what's supported on your webhost.</li>
|
|
<?php elseif ($mbstring_ok): ?>
|
|
<li><strong>mbstring:</strong> <code>mbstring</code> is installed, but <code>iconv</code> is not. Check the <a href="http://simplepie.org/docs/reference/simplepie-core/supported-character-encodings/">Supported Character Encodings</a> chart to see what's supported on your webhost.</li>
|
|
<?php elseif ($iconv_ok): ?>
|
|
<li><strong>iconv:</strong> <code>iconv</code> is installed, but <code>mbstring</code> is not. Check the <a href="http://simplepie.org/docs/reference/simplepie-core/supported-character-encodings/">Supported Character Encodings</a> chart to see what's supported on your webhost.</li>
|
|
<?php else: ?>
|
|
<li><strong>mbstring and iconv:</strong> <em>You do not have either of the extensions installed.</em> This will significantly affect your ability to read non-english feeds, as well as even some english ones. Check the <a href="http://simplepie.org/docs/reference/simplepie-core/supported-character-encodings/">Supported Character Encodings</a> chart to see what's supported on your webhost.</li>
|
|
<?php endif; ?>
|
|
<?php else: ?>
|
|
<li><strong>PCRE:</strong> Your PHP installation doesn't support Perl-Compatible Regular Expressions. <em>SimplePie is a no-go at the moment.</em></li>
|
|
<?php endif; ?>
|
|
<?php else: ?>
|
|
<li><strong>XML:</strong> Your PHP installation doesn't support XML parsing. <em>SimplePie is a no-go at the moment.</em></li>
|
|
<?php endif; ?>
|
|
<?php else: ?>
|
|
<li><strong>PHP:</strong> You are running an unsupported version of PHP. <em>SimplePie is a no-go at the moment.</em></li>
|
|
<?php endif; ?>
|
|
<?php endif; ?>
|
|
</ol>
|
|
</div>
|
|
|
|
<div class="chunk">
|
|
<?php if ($php_ok && $xml_ok && $pcre_ok && $mbstring_ok && $iconv_ok) { ?>
|
|
<h3>Bottom Line: Yes, you can!</h3>
|
|
<p><em>Your webhost has its act together!</em></p>
|
|
<p>You can download the latest version of SimplePie from <a href="http://simplepie.org/downloads/">SimplePie.org</a> and install it by <a href="http://simplepie.org/docs/installing/">following the instructions</a>. You can find example uses with <a href="http://simplepie.org/ideas/">SimplePie Ideas</a>.</p>
|
|
<p class="footnote">**NOTE** Passing this test does not guarantee that SimplePie will run on your webhost — it only ensures that the basic requirements have been addressed.</p>
|
|
<?php } else if ($php_ok && $xml_ok && $pcre_ok && !$mbstring_ok && !$iconv_ok) { ?>
|
|
<h3>Bottom Line: Yes, but it's crippled.</h3>
|
|
<p><em>You're limited to essentially english, spanish, italian, and other western-european languages.</em> Even then you might still have some problems. We'd recommend that you stick to publishing specific feeds on your site where you know that they're UTF-8 or ISO-8859-1.</p>
|
|
<p>You can download the latest version of SimplePie from <a href="http://simplepie.org/downloads/">SimplePie.org</a> and install it by <a href="http://simplepie.org/docs/installing/">following the instructions</a>. You can find example uses with <a href="http://simplepie.org/ideas/">SimplePie Ideas</a>.</p>
|
|
<p class="footnote">**NOTE** Passing this test does not guarantee that SimplePie will run on your webhost — it only ensures that the basic requirements have been addressed.</p>
|
|
<?php } else if ($php_ok && $xml_ok && $pcre_ok && (!$mbstring_ok || !$iconv_ok)) { ?>
|
|
<h3>Bottom Line: Yes, you can!</h3>
|
|
<p><em>For most feeds, it'll run with no problems.</em> There are certain languages that you'll have a hard time with though.</p>
|
|
<p>You can download the latest version of SimplePie from <a href="http://simplepie.org/downloads/">SimplePie.org</a> and install it by <a href="http://simplepie.org/docs/installing/">following the instructions</a>. You can find example uses with <a href="http://simplepie.org/ideas/">SimplePie Ideas</a>.</p>
|
|
<p class="footnote">**NOTE** Passing this test does not guarantee that SimplePie will run on your webhost — it only ensures that the basic requirements have been addressed.</p>
|
|
<?php } else { ?>
|
|
<h3>Bottom Line: We're sorry...</h3>
|
|
<p><em>Your webhost does not support the minimum requirements for SimplePie.</em> It may be a good idea to contact your webhost, and ask them to install a more recent version of PHP as well as the <code>xml</code>, <code>mbstring</code>, <code>iconv</code>, <code>curl</code>, and <code>zlib</code> extensions.</p>
|
|
<?php } ?>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|