In this sample file I will show the PHP code used to fetch the feeds, along with the actual output.
To liven up the look, you can put your output inside a table, or use stylesheets with the html templates
to improve the look of the feeds.

Version 0.4.3 added the ability to start showing feeds from a specified offset. As opposed to always showing feeds from the first, you can specify to start at a higher feed. Usage is shown below in the second example.

The prototype for the function to show the feeds is:
function rss_parser(string $url [, int $numtoshow = 10 [,string $html = "" [, bool $update = FALSE [, int $offset = 1]]]])

Hacked Emails Reveal Russian Plans To Obtain Sensitive Western Tech
Feds Bust a Dark-Web Counterfeit Coupon Kingpin
Chinese Nationals Accused of Taking SATs For Others
DARPA Wants You To Verify Software Flaws By Playing Games
Australia's Prime Minister Doesn't Get Why Kids Should Learn To Code

<?php
require_once "./rss_fetch.php";  //Include the class code
$url "http://slashdot.org/rss/index.rss";  //RSS Feed URL
$show 5;  //How many headlines to show
$html "<a href='#{link}' target='_new'>#{title}</a><br />";  //HTML Template
$update 1;  //The feed should update from this script
$rss = new rss_parser($url$show$html$update);  //Parse and Display
?>


Mother's Day Mimosas (and more)
&lt;p&gt;&lt;img class=&quot; alignnone&quot; style=&quot;margin-left: 5px; margin-right: 5px; border: 0px;&quot; src=&quot;http://0.tqn.com/d/wine/1/0/E/N/107165854.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; hspace=&quot;5&quot; width=&quot;100&quot; height=&quot;150&quot; align=&quot;left&quot; /&gt;&lt;/p&gt; &lt;p&gt;Take a turn toasting Mom with a &lt;a href=&quot;http://clk.about.com/?zi=1/1hc&amp;#038;zu=http://wine.about.com/od/servingwines/a/mimosarecipes.htm&quot;&gt;Mother's Day Mimosa&lt;/a&gt; this Sunday.&lt;/p&gt; &lt;p&gt;Easy to make and even easier to drink, mimosas count on sparkling wine to add a festive flare to any occasion. Variety is the name of the game and mimosa recipes invite invention and experimentation.&lt;/p&gt;...&lt;p&gt;&lt;a href=&quot;http://clk.about.com/?zi=1/1hc&amp;#038;zu=http://wine.about.com/b/2014/05/08/mothers-day-mimosas-and-more.htm&quot;&gt;Read Full Post&lt;/a&gt;&lt;/p&gt;

Top 10 Wine-themed Gift Ideas for Mother's Day
&lt;p&gt;&lt;img class=&quot; alignnone&quot; style=&quot;margin-left: 5px; margin-right: 5px; border: 0px;&quot; src=&quot;http://0.tqn.com/d/wine/1/0/A/N/CWC-LOGO-ARTISAN-CLEAN.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; hspace=&quot;5&quot; width=&quot;150&quot; height=&quot;150&quot; align=&quot;left&quot; /&gt;&lt;/p&gt; &lt;p&gt;Three days 'til Mother's Day and we've gathered our favorite wine-themed gift ideas to make celebrating Mom a breeze.&lt;/p&gt; &lt;p&gt;From affordable wine aerators to choose-your-price &lt;a href=&quot;http://clk.about.com/?zi=1/1hc&amp;#038;zu=http://wine.about.com/od/wineclubs/a/wineclubs.htm&quot;&gt;wine club&lt;/a&gt; options and ready-to-roll (and ultra snazzy) wine gift baskets to crafty, keepsake cork kits, there is certainly something for every wine loving mom this Mother's Day.&lt;/p&gt;...&lt;p&gt;&lt;a href=&quot;http://clk.about.com/?zi=1/1hc&amp;#038;zu=http://wine.about.com/b/2014/05/08/top-10-wine-themed-gift-ideas-for-mothers-day.htm&quot;&gt;Read Full Post&lt;/a&gt;&lt;/p&gt;

Wine of the Week: Franciscan Equilibrium 2012 (CA) $18
&lt;p&gt;&lt;img class=&quot; alignnone&quot; style=&quot;margin-left: 5px; margin-right: 5px; border: 0px;&quot; src=&quot;http://0.tqn.com/d/wine/1/0/D/N/FRN_Equilibrium_med.png&quot; border=&quot;0&quot; alt=&quot;&quot; hspace=&quot;5&quot; width=&quot;50&quot; height=&quot;150&quot; align=&quot;left&quot; /&gt;&lt;/p&gt; &lt;p&gt;An energetic white wine blend dominated by the crisp clean lines of &lt;a href=&quot;http://clk.about.com/?zi=1/1hc&amp;#038;zu=http://wine.about.com/od/vineyardvocab/g/SauvignonBlanc.htm&quot;&gt;Sauvignon Blanc&lt;/a&gt;, rounded out with a bit of body thanks to &lt;a href=&quot;http://clk.about.com/?zi=1/1hc&amp;#038;zu=http://wine.about.com/od/whitewines/g/Chardonnays.htm&quot;&gt;Chardonnay&lt;/a&gt; and a dash of intense aromatic development from the Muscat grape, the &lt;a href=&quot;http://clk.about.com/?zi=1/1hc&amp;#038;zu=http://www.franciscan.com/index.cfm?method=pages.showPage&amp;#038;PageID=a882d4fe-c08d-8e9f-3e1f-4387717f32e9&amp;#038;originalMarketingURL=Wines/Equilibrium&amp;#038;error=1&quot;&gt;2012 Franciscan Equilibrium&lt;/a&gt;...&lt;p&gt;&lt;a href=&quot;http://clk.about.com/?zi=1/1hc&amp;#038;zu=http://wine.about.com/b/2014/05/08/wine-of-the-week-franciscan-equilibrium-2012-ca-18.htm&quot;&gt;Read Full Post&lt;/a&gt;&lt;/p&gt;

<?php
require_once "./rss_fetch.php";
$url "http://z.about.com/6/g/wine/b/rss2.xml";
$show 3;
$html "<a href='#{link}' target='_new'>#{title}</a><br />#{description}<br /><br />";
$update 1;
$start 5;
$rss = new rss_parser($url$show$html$update$start);
//The optional 5th paramter tells which item to show feeds from.  So the 5 says to start from the 5th feed item.
 
?>


No item elements found in rss feed.
Yahoo! - 301 Moved Permanently

The document has moved here.

Please check the URL for proper spelling and capitalization. If you're having trouble locating a destination on Yahoo!, try visiting the Yahoo! home page or look through a list of Yahoo!'s online services. Also, you may find what you're looking for if you try searching below.

advanced search | most popular

Please try Yahoo! Help Central if you need more assistance.

Copyright © 2015 Yahoo! Inc. All rights reserved. Privacy Policy - Terms of Service



<?php
require_once "./rss_fetch.php";
$url "http://rss.cnn.com/rss/cnn_tech.rss";
$show 5;
$html "<a href='#{link}' target='_new'>#{title}</a> <font size='1'>Added: #{pubDate}</font><br />";
$update 1;
$rss = new rss_parser($url$show$html$update);
?>