Hacker News
+ +Added in v0.1.2
.
Displays stories from Hacker News.
+ +Source Code
+wtf/hackernews/
Keyboard Commands
+ +Key: [return]
+Action: Open the selected story in the browser.
Key: j
+Action: Select the next story in the list.
Key: k
+Action: Select the previous story in the list.
Key: r
+Action: Refresh the data.
Key: ↓
+Action: Select the next story in the list.
Key: ↑
+Action: Select the previous story in the list.
Configuration
+hackernews:
+ enabled: true
+ numberOfStories: 10
+ position:
+ top: 4
+ left: 1
+ height: 1
+ width: 2
+ storyType: top
+ refreshInterval: 900
Attributes
+ +enabled
+Determines whether or not this module is executed and if its data displayed onscreen.
+Values: true
, false
.
numberOfStories
+Optional
+Defines number of stories to be displayed. Default is 10
position
+Defines where in the grid this module’s widget will be displayed.
storyType
+Optional
+Values: new
, top
, job
, ask
refreshInterval
+How often, in seconds, this module will update its data.
+Values: A positive integer, 0..n
.