Skip to content

Commit

Permalink
fixing bug on Windows, adding message
Browse files Browse the repository at this point in the history
  • Loading branch information
zetaben committed May 28, 2009
1 parent 45a5690 commit f25a785
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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"
Expand Down
5 changes: 4 additions & 1 deletion bin/html2fb.rb
Expand Up @@ -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
1 change: 1 addition & 0 deletions lib/conf.rb
@@ -1,3 +1,4 @@
require 'yaml'

module HTML2FB
class Conf
Expand Down

0 comments on commit f25a785

Please sign in to comment.