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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux