* Feed categories
* "Mark as read" for tags
* Test button in label editor
+ * Show number of unread articles in title
v1.0.7 (Nov 14, 2005)
for (var l = 0; l < reply.childNodes.length; l++) {
var id = reply.childNodes[l].getAttribute("id");
var ctr = reply.childNodes[l].getAttribute("counter");
+
+ if (id == "global-unread") {
+ parent.global_unread = ctr;
+ parent.updateTitle();
+ continue;
+ }
var feedctr = f_document.getElementById("FEEDCTR-" + id);
var feedu = f_document.getElementById("FEEDU-" + id);
var display_tags = false;
-var global_unread = 0;
+var global_unread = -1;
var active_title_text = "";
var feedu = f_document.getElementById("FEEDU-" + id);
var feedr = f_document.getElementById("FEEDR-" + id);
- /* TODO figure out how to update this from viewfeed.js->view()
- disabled for now...
-
if (id == "global-unread") {
global_unread = ctr;
- } */
+ continue;
+ }
if (feedctr && feedu && feedr) {
}
+// if argument is undefined, current subtitle is not updated
+// use blank string to clear subtitle
function updateTitle(s) {
var tmp = "Tiny Tiny RSS";