diff --git a/Html2Feedbooks.gemspec b/Html2Feedbooks.gemspec index 83c06f5..1f36739 100644 --- a/Html2Feedbooks.gemspec +++ b/Html2Feedbooks.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |s| s.name = %q{Html2Feedbooks} - s.version = '0.4' + s.version = '0.4.1' s.date = %q{2009-04-28} s.authors = ["Benoit Larroque"] s.email = "zeta dot ben at gmail dot com" diff --git a/bin/html2fb.rb b/bin/html2fb.rb index 0414b18..3570ff7 100755 --- a/bin/html2fb.rb +++ b/bin/html2fb.rb @@ -50,7 +50,10 @@ f=File.open(page,'w') f.write doc.to_html f.close - Launchy::Browser.run('file://'+page) + puts "A preview of the parsed file should be opening in your webbrowser now" + puts "If nothing open you can open the file here : #{page}" + puts "When happy with the parsed output rerun with -s option to send to Feedbooks.com" + Launchy::Browser.run(page) else doc.to_feedbooks(conf) end diff --git a/lib/conf.rb b/lib/conf.rb index 08dcb1e..28ec742 100644 --- a/lib/conf.rb +++ b/lib/conf.rb @@ -1,3 +1,4 @@ +require 'yaml' module HTML2FB class Conf