Hide
Bored? Check out the Recent Activity on Siafoo Join Siafoo Now or Learn More

ATOM/RSS Feed using SharePoint Data Zoom Extensions for Syndication Atom Feed 0

In Brief ATOM/RSS Feed using SharePoint Data Zoom Extensions for Syndication... more
# 's
 1#set( $feed = $Feeds.GetFeed( "http://news.google.com/news?pz=1&ned=us&hl=en&topic=s&output=rss" ) )
2
3#foreach($item in $feed.items)
4 #beforeall
5 <br/><h2><img src="$feed.ImageUrl.ToString()"/>&nbsp;<a href="$feed.Links.get_Item(0).Uri.ToString()">$feed.Title.Text</a></h2>
6 #before
7 <div style="width:100%">
8 #each
9 <h3 style="background-color:#B0C4DE;padding:4px;"><a href="$item.Links.get_Item(0).Uri.ToString()">$item.Title.Text</a><span class="ms-vb" style="width:100%;font-size:smaller;color:white;text-align:right;vertical-align:middle;font-style:italic">posted $item.PublishDate.ToString()</span></h3>
10 <blockquote>$item.Summary.Text</blockquote>
11 #after
12 </div>
13 #nodata
14 <div>No feed data available.</div>
15#end

ATOM/RSS Feed using SharePoint Data Zoom Extensions for Syndication

Example output:

http://www.siafoo.net/image/147