[scotedublog commit] r143 - trunk/seb/app/views/news

0 views
Skip to first unread message

codesite...@google.com

unread,
Mar 27, 2007, 3:09:29 PM3/27/07
to scotedubl...@googlegroups.com
Author: jonesieboy
Date: Tue Mar 27 12:09:10 2007
New Revision: 143

Modified:
trunk/seb/app/views/news/_list_item.rhtml

Log:
catching errors from feeds


Modified: trunk/seb/app/views/news/_list_item.rhtml
==============================================================================
--- trunk/seb/app/views/news/_list_item.rhtml (original)
+++ trunk/seb/app/views/news/_list_item.rhtml Tue Mar 27 12:09:10 2007
@@ -1,6 +1,6 @@
<p>
- <strong><a href="<%= list_item.link%>"><%=sanitize list_item.title %></a></strong><br/>
- <span class="blog_details">&rarr; <a href="<%= sanitize list_item.feed.site_url%>"><%=sanitize list_item.feed.title%></a> | <%=sanitize list_item.pubDate.to_s%></span>
+ <strong><a href="<%= list_item.link rescue nil %>"><%=sanitize list_item.title rescue nil %></a></strong><br/>
+ <span class="blog_details">&rarr; <a href="<%= sanitize list_item.feed.site_url rescue nil %>"><%=sanitize list_item.feed.title rescue nil %></a> | <%=sanitize list_item.pubDate.to_s rescue nil %></span>

</p>
<p><%=sanitize(list_item.description) rescue nil %></p>

Reply all
Reply to author
Forward
0 new messages