Reading RSS Feeds in php and Javascript table sorting
Hello there,
Been working with SimplePie recently, its an RSS feed reader/parser that works with PHP. So far the results have been really good, it takes only 4 lines to go and fetch an RSS and return it in a friendly format:
$feed = new SimplePie(); $feed->set_cache_duration($cache_time); $feed->set_feed_url($URL); $feed->init();
I’ve not seen where the cache is sent yet OR what it actually caches but seems pretty easy.
I started using the JQuery tableSorter utility yesterday also. It is good enough, not as good as I’d like though. I had to manually resize some of the images that are used within the
Get the full release from http://tablesorter.com and place jquery-latest.js, jquery.tablesorter.js in somewhere that can be read by your page(I’m using ColdFusion). Place the following code in your header:
Once done I just made my table:
| Header 1 | Header 2 | DATA STUFF
|---|
That worked for me anyways!
Apart from that I’ve gone back onto using Asterisk recently again and will be doing a bit more PHP AGI in the near future so expect to hear some more about that!