zetaben-Html2Feedbooks 0.4 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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