Re: Converting html to text ?!? [SOLVED] -- but me or a bug.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi;

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:
> 
>         <!DOCTYPE NoteCase-File>
>         <!--LastNote:41-->
>         <HTML>
>         <HEAD>
>         <meta content="text/html;charset=UTF-8"
>         http-equiv="Content-Type">
>         <meta name="generator" content="NoteCase 1.6.1">
>         <TITLE></TITLE>
>         ... 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.txt
>         *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.
>  

The real solution was:

]$ html2text ~/NoteCaseDocs/UMLC.ncd >> ~/NoteCaseDocs/UMLC.txt

Then importing .txt files into LyX.  Worked like a charm!

However, shouldn't have 
]$ html2text ~/NoteCaseDocs/UMLC.ncd -o ~/NoteCaseDocs/UMLC.txt
worked as well. Or, have I misunderstood the use of the '-o' option ?!?

-- 
Regards Bill
Fedora 12, Gnome 2.28
Evo.2.28, Emacs 23.1.1


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux