newsblur.js: update for changes to site
authorBenjamin Slade <slade@jnanam.net>
Thu, 11 Jul 2013 23:41:14 +0000 (11 19:41 -0400)
committerJohn Foerch <jjfoerch@earthlink.net>
Thu, 11 Jul 2013 23:42:02 +0000 (11 19:42 -0400)
modules/page-modes/newsblur.js

index 173e563..91fdae7 100644 (file)
@@ -1,6 +1,6 @@
 /**
  * NewsBlur mode (for https://www.newsblur.com RSS news reader)
- * (C) Copyright 2012 Benjamin Slade
+ * (C) Copyright 2012-2013 Benjamin Slade
  *
  * Use, modification, and distribution are subject to the terms specified in the
  * COPYING file.
@@ -17,6 +17,7 @@ define_key(newsblur_keymap, "?", null, $fallthrough); // open help
 
 // Navigation
 define_key(newsblur_keymap, "d", null, $fallthrough); // back to dashboard
+define_key(newsblur_keymap, "escape", null, $fallthrough); // back to dashboard
 define_key(newsblur_keymap, "E", null, $fallthrough); // fetch everything (fetch all unread stories)
 define_key(newsblur_keymap, "g", null, $fallthrough); // find feed by name
 define_key(newsblur_keymap, "k", null, $fallthrough); // previous story
@@ -31,19 +32,27 @@ define_key(newsblur_keymap, "S-space", null, $fallthrough); // scroll up
 define_key(newsblur_keymap, "space", null, $fallthrough); // scroll down
 define_key(newsblur_keymap, "p", null, $fallthrough); // previous unread story
 define_key(newsblur_keymap, "n", null, $fallthrough); // next unread story
-define_key(newsblur_keymap, "m", null, $fallthrough); // find oldest unread story
+define_key(newsblur_keymap, "M", null, $fallthrough); // find oldest unread story
 define_key(newsblur_keymap, "left", null, $fallthrough); // switch views (original|feed|story)
 define_key(newsblur_keymap, "right", null, $fallthrough); // switch views (original|feed|story)
+define_key(newsblur_keymap, "x", null, $fallthrough); // collapse story
+define_key(newsblur_keymap, "X", null, $fallthrough); // expand story
+define_key(newsblur_keymap, "c", null, $fallthrough); // scroll to comments
+
 
 
 // Acting
 define_key(newsblur_keymap, "u", null, $fallthrough); // toggle unread/read on current story
+define_key(newsblur_keymap, "m", null, $fallthrough); // toggle unread/read on current story
 define_key(newsblur_keymap, "s", null, $fallthrough); // toggle save/unsave story
 define_key(newsblur_keymap, "o", null, $fallthrough); // open story in new window
 define_key(newsblur_keymap, "A", null, $fallthrough); // mark all stories as read
 define_key(newsblur_keymap, "S", null, $fallthrough); // share story
 define_key(newsblur_keymap, "C-return", null, $fallthrough); // save comments
 define_key(newsblur_keymap, "e", null, $fallthrough); // email story
+define_key(newsblur_keymap, "+", null, $fallthrough); // switch focus/unread
+define_key(newsblur_keymap, "-", null, $fallthrough); // switch focus/unread
+
 
 // Application
 define_key(newsblur_keymap, "U", null, $fallthrough); // hide sites
@@ -51,9 +60,7 @@ define_key(newsblur_keymap, "T", null, $fallthrough); // hide story titles
 define_key(newsblur_keymap, "a", null, $fallthrough); // add new rss feed
 define_key(newsblur_keymap, "t", null, $fallthrough); // open story trainer
 define_key(newsblur_keymap, "f", null, $fallthrough); // open site/feed trainer
-define_key(newsblur_keymap, "+", null, $fallthrough); // change intelligence
-define_key(newsblur_keymap, "-", null, $fallthrough); // change intelligence
-
+define_key(newsblur_keymap, "F", null, $fallthrough); // full screen
 
 define_keymaps_page_mode("newsblur-mode",
     build_url_regexp($domain = /(?:[a-z]+\.)?newsblur/),