First of all, thank you Rick for this great plugin.
I started by adding some lines to the rss-stream.php
298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 | function rss_stream_picasa($feed = '') { global $lifestream; $picasa = fetch_rss($feed); if ($feed != '') { foreach ( $picasa->items as $status ) { $title = $status['title']; $date = strtotime($status['pubdate']); $link = htmlspecialchars($status['link']); $msg = '<a class="picasa-link" href="'.$link.'">'.$title.'</a>'; $lifestream[$date]['date'] = $date; $lifestream[$date]['type'] = 'picasa'; $lifestream[$date]['link'] = $link; $lifestream[$date]['msg'] = $msg; } } } |
378 | if(get_option('RSS_Stream_picasafeed')!='') { rss_stream_picasa(get_option('RSS_Stream_picasafeed')); } |
397 | || get_option('RSS_Stream_picasafeed')!='' |
494 495 | $option_RSS_Stream_picasafeed = $_POST['RSS_Stream_picasafeed']; update_option('RSS_Stream_picasafeed', $option_RSS_Stream_picasafeed); |
692 693 694 695 696 697 698 699 700 701 702 703 704 | <fieldset class="options"> <legend>Picasa</legend> <table border="0"> <tbody> <tr> <td> <strong><label for="RSS_Stream_picasafeed">:</label></strong></td> <td> <input id="RSS_Stream_picasafeed" name="RSS_Stream_picasafeed" size="75" type="text" value="<?php echo get_option('RSS_Stream_picasafeed'); ?>" /></td> </tr> </tbody></table> </fieldset> |
Thereafter I added this line to the rss-stream.css
8 | .RSSS_picasa{ background: #e4f1e6; color: #555; } |
To get an icon to match picasa, I took picasa’s favicon. So I deserve no credit for that, and it’s a trademark of Google, inc..
You can grab the icon here
Just put it into the images folder of RSS Stream
Recent Comments