zetaben-Html2Feedbooks 0.4 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/html2fb.rb +4 -1
- data/lib/conf.rb +1 -0
- metadata +1 -1
data/bin/html2fb.rb
CHANGED
@@ -50,7 +50,10 @@ if options[:preview]
|
|
50
50
|
f=File.open(page,'w')
|
51
51
|
f.write doc.to_html
|
52
52
|
f.close
|
53
|
-
|
53
|
+
puts "A preview of the parsed file should be opening in your webbrowser now"
|
54
|
+
puts "If nothing open you can open the file located at : #{page}"
|
55
|
+
puts "When happy with the parsed output rerun with -s option to send to Feedbooks.com"
|
56
|
+
Launchy::Browser.run(page)
|
54
57
|
else
|
55
58
|
doc.to_feedbooks(conf)
|
56
59
|
end
|
data/lib/conf.rb
CHANGED