RSS Feed Read v2

Version 2 of exploring the feed reader using jQuery using the fantastic jGfeed library.

by psyne

HTML

<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.0.4/css/bootstrap.min.css">
<script src="https://gist.github.com/raw/4220821/d0029f7f75a66af35651b8db9d3ed8ab1d33e0fb/jGfeed.js"></script>
<div id="feedContent"></div>

JavaScript

$.jGFeed('http://www.bayeast.org/frontpage/feed', function(feeds) {
    if (!feeds) {
        alert('there was an error');
    }
    for (var i = 0; i < feeds.entries.length; i++) {
        var entry = feeds.entries[i];
        var title = entry.title;
        var link = entry.link;
        var description = entry.contentSnippet;
        var pubDate = entry.publishedDate;

        var html = "<div class='entry'><h4 class='postTitle'><a class='fancy block' href='" + link + "' target='_blank'>" + title + "</a></h4>";
        html += "<em class='date'>" + pubDate + "</em>";
        html += "<p class='description'>" + description + "</p></div>";

        $("#feedContent").append($(html));
    }
}, 3);