Deprecated: Function split() is deprecated in /home/bwcom/brianwiese.com/wiki/inc/auth.php on line 103

Warning: Cannot modify header information - headers already sent by (output started at /home/bwcom/brianwiese.com/wiki/inc/auth.php:103) in /home/bwcom/brianwiese.com/wiki/inc/auth.php on line 191

Deprecated: Function split() is deprecated in /home/bwcom/brianwiese.com/wiki/inc/common.php on line 552

Warning: Cannot modify header information - headers already sent by (output started at /home/bwcom/brianwiese.com/wiki/inc/auth.php:103) in /home/bwcom/brianwiese.com/wiki/inc/actions.php on line 76
php:magpierss [bw.net notes]
 

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/bwcom/brianwiese.com/wiki/inc/html.php on line 149

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/bwcom/brianwiese.com/wiki/inc/html.php on line 152

magpierss

<?
  require_once('inc/magpierss/rss_fetch.inc');
  $url = 'http://brianwiese.net/blog/feed/';
  $rss = fetch_rss($url);
  /* echo "<div align="left"><h3>Lately, on: ", $rss->channel['title'], "</h3><br></div> "; */
  $desc = $rss->channel['description'];
  echo "<h2>Lately on the <a href='/blog/' title='$desc'>blog</a>...</h2><br/> ";

  foreach ($rss->items as $item ) {
  $ititle = $item[title];
  $iurl   = $item[link];
  $idate  = $item[pubdate];
  echo "<a href=$iurl title='$idate'>$ititle</a><br/>";
  }
?>
  • thanks Brian, that helps a lot! Mike
 
php/magpierss.txt · Last modified: 2006/05/26 17:48 by 205.155.71.178
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki