From pocallaghan@gmail.com Fri Jun 5 20:19:58 2015 From: Patrick O'Callaghan To: users@lists.fedoraproject.org Subject: Re: Converting html to text ?!? Date: Fri, 05 Mar 2010 11:12:26 -0430 Message-ID: <1267803746.31856.0.camel@bree.homelinux.com> In-Reply-To: <1267800679.1787.26.camel@CASE> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7882943141042042039==" --===============7882943141042042039== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Fri, 2010-03-05 at 09:51 -0500, William Case wrote: > Hi; > > I have been using Notecase for a couple of years. I would like to keep > it but it seems it is no longer being maintained as open source. > > ∴ I would like to use Lyx as my large note taker or draft writer > application. The problem is Notecase uses an *.ncd suffix which is > unrecognized by Lyx. When I examine the files I want to import from > Notecase to Lyx they are designated in the header as: > > > > > > http-equiv="Content-Type"> > > > ... etc. > > The markup is almost certainly html. > > How can I convert these files into *.txt? I have tried several > variations of: > > ]$ html2text -o ~/UMLC.txt file:///home/bill/NoteCaseDocs/UMLC. > *Cannot open input file "file:///home/bill/NoteCaseDocs/UMLC.*". > > Any suggestions greatly appreciated on how to import these (I have > several) *.ncd files into Lyx. For a smallish number of files, the easiest is probably to open them in Firefox and use Save As ... text. poc --===============7882943141042042039==--