diff --git a/digest.css b/digest.css
index f7ddff689..cfee28bcf 100644
--- a/digest.css
+++ b/digest.css
@@ -18,6 +18,10 @@ a:hover {
color : gray;
}
+#header a:hover, #footer a:hover {
+ color : #0069D8;
+}
+
#header {
font-weight : bold;
font-size : 14px;
@@ -159,6 +163,18 @@ a:hover {
max-width : 65%;
}
+#headlines h1 a {
+ color : #684C99;
+}
+
+#headlines h1 a:hover {
+ color : gray;
+}
+
+#headlines h1 #headlines-title {
+ color : gray;
+}
+
#headlines ul#headlines-content div.digest-check {
float : right;
}
@@ -214,15 +230,23 @@ a:hover {
}
#headlines ul#headlines-content div.info {
- margin-top : 2px;
font-size : 11px;
}
#headlines ul#headlines-content div.info a {
color : gray;
- font-weight : bold;
}
-#headlines ul#headlines-content div.info a:hover {
+#headlines ul#headlines-content span.tags {
+ font-size : 11px;
+ margin-bottom : 2px;
+}
+
+#headlines ul#headlines-content span.tags a {
+ color : #684C99;
+}
+
+#headlines ul#headlines-content div.info a:hover,
+#headlines ul#headlines-content span.tags a:hover {
color : #659a4c;
}
diff --git a/digest.js b/digest.js
index 82abe6676..51c824ee4 100644
--- a/digest.js
+++ b/digest.js
@@ -186,8 +186,10 @@ function viewfeed(feed_id, offset) {
offset = _active_feed_offset + offset;
}
- var query = "backend.php?op=rpc&subop=digest-update&feed_id=" + feed_id +
- "&offset=" + offset;
+ var query = "backend.php?op=rpc&subop=digest-update&feed_id=" +
+ param_escape(feed_id) + "&offset=" + offset;
+
+ console.log(query);
new Ajax.Request("backend.php", {
parameters: query,
@@ -293,6 +295,22 @@ function add_headline_entry(article, feed) {
var mark_part = "";
var publ_part = "";
+ var tags_part = "";
+
+ if (article.tags.length > 0) {
+
+ tags_part = " " + __("in") + " ";
+
+ for (var i = 0; i < Math.min(5, article.tags.length); i++) {
+ tags_part += "" +
+ article.tags[i] + ", ";
+ }
+
+ tags_part = tags_part.replace(/, $/, "");
+ tags_part = "";
+ }
+
if (article.marked)
mark_part = "
";
else
@@ -320,7 +338,7 @@ function add_headline_entry(article, feed) {
"