What an awesome hit in a Preseason game by Phaneuf. This is why players need to keep their head up. Okposo ended up laying there for 6 minutes and carted off. He has a concussion. This was a clean hit, as Phaneuf’s feet only came up during the hit, as both players were falling over from the impact.
Jim Norton, a regular on the Opie and Anthony show was on the new Jay Leno show last night. How do you think he did? I thought his air travel topic was great for network tv. Jimmy kills once again. Check it out below.
Being a PHP coder on my free time, I have been looking for a RSS (Really Simple Syndication) parser for a very long time to embed in my websites. I hate the idea of using widgets as they are slow and filled with advertisements. Recently I came across SimplePie.
Installation requires copying simplepie.inc to a directory.
I will use /php for my example. I will set the cache directory to be in /cache. I will set the timeout to read the feed to 5 seconds, and the cache duration to last 6 hours.
require_once(‘php/simplepie.inc’);
# We’ll process this feed with all of the default options.
$feed = new SimplePie();
$feed->set_cache_location($_SERVER['DOCUMENT_ROOT'] . ‘/cache’);
$feed->set_timeout(5);
$feed->set_stupidly_fast(true);
$feed->enable_order_by_date(false);
$feed->set_cache_duration(21600);
$feed->set_feed_url(‘http://www.site.com/YourRSSFeed.xml’);
$feed->init();
# This makes sure that the content is sent to the browser as text/html and the UTF-8 character set (since we didn’t change it).
$feed->handle_content_type();
if ($feed->error())
{
echo “Friendly Error that feed cannot be read”; //$feed->error();
}
foreach ($feed->get_items() as $item)
{
echo $item->get_title();
}
That is it. You now have your RSS feed and outputted. You can do a few things to break apart the feed depending on how the feed is formatted. You can even merge a few feeds into one.
Looking for NY Rangers tickets for the upcoming season? Head on over to my site http://www.rangerstix.com to purchase tickets. Most games are $65 each, which is still less then the ticketmaster price. Division games will run you $80, which is the ticketmaster price.
Anyone who is interested in my NFL 2010 survivor pool, please see http://www.nflsvpool.com to register. Deadline is Thursday September 10, at 3:00 PM. Contact me for payment. davidf98@yahoo.com