diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-10-19 01:01:26 +0100 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-10-19 01:01:26 +0100 |
commit | db15c23ad882d0a61a7244d381544c653accf659 (patch) | |
tree | 4cdfa57e9db90e43535e196ad63cfb68c7e27b91 /lib/sisu/v0/hub.rb | |
parent | minor detail (diff) |
first pass at fictionbook output; images posted with document rsync; also ...
* first pass at fictionbook output - fictionbook is interesting, (develop over
time or drop support)
* images in document posted with document rsync
* ruby1.9 strip bug re-encountered in debian sid build version, (unless it is
my setup)
see changelog
Diffstat (limited to 'lib/sisu/v0/hub.rb')
-rw-r--r-- | lib/sisu/v0/hub.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sisu/v0/hub.rb b/lib/sisu/v0/hub.rb index 3b145dac..029c99c5 100644 --- a/lib/sisu/v0/hub.rb +++ b/lib/sisu/v0/hub.rb @@ -169,6 +169,7 @@ module SiSU when /^html$/; SiSU_HTML::Source.new(@opt).read # -h -H when /^xml$/; SiSU_XML_SAX::Source.new(@opt).read # -x when /^xml_dom$/; SiSU_XML_DOM::Source.new(@opt).read # -X + when /^xml_fictionbook$/; SiSU_XML_Fictionbook::Source.new(@opt).read # -f when /^xhtml$/; SiSU_XHTML::Source.new(@opt).read # -b when /^embedded$/; SiSU_Embedded::Source.new(@opt).read # -m (image and other content) when /^manifest$/; SiSU_Manifest::Source.new(@opt).read # -y @@ -442,6 +443,8 @@ p "here #{__FILE__} #{__LINE__}" if @opt =~/M/ end if @opt.cmd =~/X/; op('xml_dom','xml dom') #% -X xml dom type end + if @opt.cmd =~/f/; op('xml_fictionbook','xml fictionbook') #% -f xml fictionbook + end if @opt.cmd =~/b/; op('xhtml','xhtml sax') #% -b xhtml sax type end #if @opt.cmd =~/B/; op('docbook','docbook xml') #% -B docbook xml |