Languages

Pages

LDR Auto Compactor : hide the feed body of feed automatically


/* How does it work ? */

This Greasemonkey script collapse/expand item (post) of feed in automatically when loaded the feed.

The news site or blog, such as Engadget, GIZMODO, Secunia, … , updates frequently and I check the title of post to decide whether I read it or not. So the feature “collapse/expand item” (Shortcut Key : “c”) is very useful for me. However, a state of collapse/expand keep if you move to other feed. So I have to push “c” key and switch the state of collapse/expand. Then I automated these annoying operations.

/* Install & Settings */

At first, you install script from the page of Userscripts.org. You can find a button (?) labeled “Install this script” in top-right corner of page.

After install, the next is setting. LDR Auto Compactor doesn’t work without setting. So you have to specifies the feed that you want to show compactly in the script with text editor. The following code is a part of script (before setting) :

12
13
14
15
16
 
// ################# define a list of compact feed #################
//  [i.e.] var subsIdList = [5090717, 5111602, 5111603, 5111605];
var subsIdList = [/* add here */];
// #################################################################

You remove comment “/* add here */” and append feed ID (separate “,” (comma)) into an array “subsIdList”.

For instance,

12
13
14
15
16
 
// ################# define a list of compact feed #################
//  [i.e.] var subsIdList = [5090717, 5111602, 5111603, 5111605];
var subsIdList = [5090717, 5111602, 5111603, 5111605];
// #################################################################

OK, maybe you understood how to specify the feed. But you know, the problem is “Feed ID”. This ID is internal use and you can’t get it normally. Therefore, I prepared support tool that show feed ID. Usage is very simple, you only type “:sid” when showing any feed. The status message change to textbox when you type “:” and you get message “このフィードの購読ID:5104382″ when you type “sid”.

/* Usage */

Usage is … only use. Tongue out Enjoy LDR !!

No Comments

Similar Posts:

Trackback URL:

Add a Comment