Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixing bug on Windows, adding message

  • Loading branch information...
commit f25a785b9b859ea9f16db8e22ee8ecd064b60a4f 1 parent 45a5690
@zetaben authored
Showing with 6 additions and 2 deletions.
  1. +1 −1  Html2Feedbooks.gemspec
  2. +4 −1 bin/html2fb.rb
  3. +1 −0  lib/conf.rb
View
2  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"
View
5 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
View
1  lib/conf.rb
@@ -1,3 +1,4 @@
+require 'yaml'
module HTML2FB
class Conf
Please sign in to comment.
Something went wrong with that request. Please try again.