fastreader 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of fastreader might be problematic. Click here for more details.
- data/README.txt +1 -1
- data/lib/curses_controller.rb +0 -1
- data/lib/display.rb +5 -1
- data/lib/fastreader.rb +1 -1
- metadata +2 -2
data/README.txt
CHANGED
@@ -45,7 +45,7 @@ There are three screens in console mode:
|
|
45
45
|
|
46
46
|
* the feed menu screen, which lists the feeds
|
47
47
|
* the feed items screen, which lists the items in a feed or a search
|
48
|
-
|
48
|
+
* the item screen, which shows the text content of an item
|
49
49
|
|
50
50
|
FastReader uses vi-style keybindings to allow fast navigation between
|
51
51
|
screens, feeds, items, and linked web pages. The interface is pretty intuitive.
|
data/lib/curses_controller.rb
CHANGED
data/lib/display.rb
CHANGED
@@ -132,7 +132,11 @@ class Display
|
|
132
132
|
|
133
133
|
doc.search('//comment()').remove
|
134
134
|
|
135
|
-
doc.search('
|
135
|
+
doc.search('div') do |p|
|
136
|
+
p.swap( "\n\n" + p.inner_text.gsub("\n", ' ').squeeze(' ').strip + "\n\n" )
|
137
|
+
end
|
138
|
+
|
139
|
+
doc.search('p') do |p|
|
136
140
|
p.swap( "\n\n" + p.inner_text.gsub("\n", ' ').squeeze(' ').strip + "\n\n" )
|
137
141
|
end
|
138
142
|
|
data/lib/fastreader.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastreader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Choi
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-06-
|
12
|
+
date: 2008-06-26 00:00:00 -04:00
|
13
13
|
default_executable: fastreader
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|