root/trunk/lib/picolena/templates/lib/plain_text_extractors/ms.rtf.rb

Revision 216, 465 bytes (checked in by eric.dumin..@gmail.com, 6 months ago)

Ready for 0.1.4?

  • Property svn:executable set to *
Line 
1 # Microsoft Rich Text Format to text conversion:
2 #   Program: unrtf
3 #   Version tested: 0.19.2
4 #   Installation: Ubuntu unrtf package
5 #   http://www.gnu.org/software/unrtf/unrtf.html
6
7 PlainTextExtractor.new {
8   every :rtf
9   as "application/rtf"
10   aka "Microsoft Rich Text Format"
11   with "unrtf  SOURCE -t text" => :on_linux_and_mac_os,
12        "some other command" => :on_windows
13   which_should_for_example_extract 'Resampling when limiting', :from => 'ReadMe.rtf'
14 }
Note: See TracBrowser for help on using the browser.