Re: Batch conversion of .brf, .doc, .pdf, or other files to text with EdSharp

  • From: "qubit" <lauraeaves@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Sun, 3 Jul 2011 19:08:42 -0500

Hi Jamal --
This one caught my attention.
Are you saying that edSharp could take an html file and convert it to .txt?
I have a book in html format that for some reason I am unable to read as it 
takes up to 10 minutes to load and once it is loaded, none of the links 
work.
I tried removing the images folder it was using to render the pages, but it 
wouldn't load in IE because the images were not found.
Oh well, I suppose you would say I should run IE, wait 10 minutes and then 
type save-as.  I'm just musing.
I think I'll take a break. *sigh*
--le


----- Original Message ----- 
From: "Jamal Mazrui" <empower@xxxxxxxxx>
To: "programmingblind" <programmingblind@xxxxxxxxxxxxx>
Sent: Sunday, July 03, 2011 9:08 AM
Subject: Batch conversion of .brf, .doc, .pdf, or other files to text with 
EdSharp


Given the recent topic of converting .brf or .brl files to plain text,
let me remind EdSharp users of the ability to convert multiple files in
a single, batch operation, using the Text Convert command, Control+T.
It examines each line of text for a file path.  If no parent directory
is specified, the file is assumed to be located in the directory of the
previous file found.  Thus, only the first file needs to include a full
path.

You can either manually enter file paths, or generate a list of files
with the Path List command, Control+Shift+P.  It first prompts for a
directory.  After scanning the directory, it asks for what extensions to
include among the ones that were found.  You can just press Enter to
accept all extensions, or edit the space separated list of extensions in
the input box, e.g., leaving

doc pdf

in order to convert all .doc and .pdf files (a leading period before an
extension is optional in that input box).

After you have a list of files, the Control+T command presents a similar
dialog based on the extensions it finds in the current document.  Press
Enter to accept the extensions you specify for conversion, and initiate
the batch process.  Each file will be converted to a text file with the
same path except for the .txt extension.

This is a convenient way of converting, say, a batch of .brf files
downloaded from Bookshare or NLS.  You can then read them in EdSharp or
any viewing program for text files.

Jamal

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: