diff --git a/css/screen.css b/css/screen.css index 7c14659..d1b2fe4 100644 --- a/css/screen.css +++ b/css/screen.css @@ -188,6 +188,7 @@ canvas { #list li { position: relative; + min-height: 3em; } .red #list li { border-bottom: 1px solid #c0392b; } @@ -199,7 +200,7 @@ canvas { content: ""; position: absolute; right: 7px; - top: 0.1em; + top: 0; font-weight: 100; font-size: 3em; font-family: "Entypo"; @@ -248,6 +249,7 @@ canvas { font-weight: normal; margin: 0; padding: 0; + display: none; } #full .wrapper { @@ -278,6 +280,20 @@ canvas { padding: 0; } +#full article header p:nth-child(1) { + float: left; +} + +#full article header p:nth-child(3) { + float: right; +} + +#full .article { + clear: both; + padding-top: 1em; + font-size: 1.3em; +} + #full footer.bar { margin: auto 0 0 0; position: relative; diff --git a/js/App.js b/js/App.js index c874b84..bbcc0dd 100644 --- a/js/App.js +++ b/js/App.js @@ -182,8 +182,10 @@ App.prototype.populateList = function() { html_str += ""; html_str += ""; html_str += "

" + article.feed_title + "

"; - html_str += "

" + article.title + "

"; - if(article.excerpt) html_str += "

" + article.excerpt + "

"; + var content = article.content.stripHTML(); + if(content.replace(/^\s+|\s+$/g,'').length == 0) content = article.title; + html_str += "

" + content + "

"; + //if(article.excerpt) html_str += "

" + article.excerpt + "

"; html_str += "
"; } diff --git a/js/Pond.js b/js/Pond.js index 501494c..cdea2b0 100644 --- a/js/Pond.js +++ b/js/Pond.js @@ -76,7 +76,7 @@ Pond.prototype.reload = function(callback) { Pond.prototype.getUnreadFeeds = function(callback, skip) { var options = { - status: "unread", + status: "all", limit: 100 }; @@ -134,6 +134,8 @@ Pond.prototype.normalizeArticle = function(article) { var timestamp = new Date(article.published_at).getTime() / 1000; + console.log(article.read) + return { id: article.id, guid_hash: article.url + article.id,