Advertisement
Advertisement
| 01.19.2008 at 08:38AM PST, ID: 23095747 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
| Microsoft |
| Apple |
| Internet |
| Gamers |
| Digital Living |
| Virus & Spyware |
| Hardware |
| Software |
| ITPro |
| Developer |
| Storage |
| OS |
| Database |
| Security |
| Programming |
| Web Development |
| Networking |
| Other |
| Community Support |
| 01.19.2008 at 01:57PM PST, ID: 20699212 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: |
<?php
require_once("simplepie.inc");
//make a comma-separated list of all the feeds
$feedList = "http://simplepie.org/blog/feed/,http://www.msnbc.msn.com/id/3032091/device/rss/rss.xml,http://www.msnbc.msn.com/id/3032112/device/rss/rss.xml,http://www.msnbc.msn.com/id/3032117/device/rss/rss.xml";
//convert to array
$feedList = explode(",",$feedList);
//print desired data from each feed
for($i=0, $limit = count($feedList); $i < $limit; ++$i)
{
//specify feed url and number of items
printData($feedList[$i],1);
}
//fetches feed. If item count is not specified, it will print all the items
function printData($url, $itemCount=-1)
{
// Single feed
$feed = new SimplePie();
$feed->set_feed_url($url);
$feed->enable_cache(false);
$feed->enable_order_by_date(true);
$feed->init();
if($itemCount<0)
$itemCount = $feed->get_item_quantity();
echo "<hr />";
echo "Image Url: ". $feed->get_image_url() . "<br/>";
for($i=0; $i < $itemCount; ++$i)
{
echo "Link: ". $feed->get_item($i)->get_link() . "<br/>";
echo "Description: ". $feed->get_item($i)->get_description() . "<br/>";
}
}
?>
|
| 01.20.2008 at 12:23AM PST, ID: 20700497 |
| 01.20.2008 at 09:07AM PST, ID: 20701732 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: |
<?php
require_once("simplepie.inc");
//make a comma-separated list of all the feeds
$feedList = "http://simplepie.org/blog/feed/,http://www.msnbc.msn.com/id/3032091/device/rss/rss.xml,http://www.msnbc.msn.com/id/3032112/device/rss/rss.xml,http://www.msnbc.msn.com/id/3032117/device/rss/rss.xml";
//convert to array
$feedList = explode(",",$feedList);
//print desired data from each feed
for($i=0, $limit = count($feedList); $i < $limit; ++$i)
{
//specify feed url and number of items
printData($feedList[$i],1);
}
//fetches feed. If item count is not specified, it will print all the items
function printData($url, $itemCount=-1)
{
// Single feed
$feed = new SimplePie();
$feed->set_feed_url($url);
$feed->enable_cache(false);
$feed->enable_order_by_date(true);
$feed->init();
if($itemCount<0)
$itemCount = $feed->get_item_quantity();
for($i=0; $i < $itemCount; ++$i)
{
echo "<p class='feedItem'><div class='feedTitle'><a href='".$feed->get_item($i)->get_link()."'>". $feed->get_item($i)->get_title() . "</a></div>";
echo "<div class='feedDescription'>". $feed->get_item($i)->get_description() . "</div></p>";
}
}
?>
|
| 01.20.2008 at 08:25PM PST, ID: 20703881 |
| 01.21.2008 at 07:08PM PST, ID: 20711627 |
| 01.21.2008 at 10:13PM PST, ID: 20712257 |