473,395 Members | 1,568 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Looking for HTML to Text component

Hi,

Anyone know of a component to turn HTML into nice looking text? So not just
stripping out the tags, but formatting lists into text lists, etc.

Thanks
Nov 21 '05 #1
9 1567
Marina,

I think that you mean as well all format tags done. In my opinion are only
heavy applications as Word able to do that. (And than you have still
something as an RTF or Doc file).

A txt file will never look nice.

Just my thought,

Cor
Nov 21 '05 #2
Well, I don't necessarily expect it to look just as nice. But maybe instead
of bullets, have a '-' for items in a list. If I just strip out the tags, it
will look pretty terrible, since even that won't happen.

I was hoping someone wrote a component to do this in a similar fashion that
Word does, since of course I don't want to have to use Word for this...

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Marina,

I think that you mean as well all format tags done. In my opinion are only
heavy applications as Word able to do that. (And than you have still
something as an RTF or Doc file).

A txt file will never look nice.

Just my thought,

Cor

Nov 21 '05 #3
Marina,

I don't know it Charles Law is forever writing about it.

Html Agility Pack

http://sharptoolbox.com/Tool68a04d8d...a4f672a60.aspx

(I don't know it it is the good link however probably you can find more of
it using Google)

I hope this helps,

Cor
Nov 21 '05 #4
Sorry, I'm not sure, what is this supposed to do? Is this like MSHTML, that
can parse HTML?

Can this component turn HTML into formatted text?

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:uQ**************@TK2MSFTNGP14.phx.gbl...
Marina,

I don't know it Charles Law is forever writing about it.

Html Agility Pack

http://sharptoolbox.com/Tool68a04d8d...a4f672a60.aspx

(I don't know it it is the good link however probably you can find more of
it using Google)

I hope this helps,

Cor

Nov 21 '05 #5
Marina,
Sorry, I'm not sure, what is this supposed to do? Is this like MSHTML,
that can parse HTML?
Yes
Can this component turn HTML into formatted text?

Have a look at the link than you see it.

Cor
Nov 21 '05 #6
Well, I can just use MSHTML then, do do the parse. And I can get the text
out without all the tags already - the problem is, it will look horrible.

I looked at that site, but I couldn't find anything regarding formatting
text. It's just an HTML parser, but I'm not interested in parsing the HTM
(which I could do with just MSHTML already).

Am I missing something?

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Marina,
Sorry, I'm not sure, what is this supposed to do? Is this like MSHTML,
that can parse HTML?


Yes

Can this component turn HTML into formatted text?

Have a look at the link than you see it.

Cor

Nov 21 '05 #7
Marina

Am I missing something?

No, however most people find mshtml horrible

Cor
Nov 21 '05 #8
Hello Marina
i think that the solution to your problem might be pretty simple ,,,,,,

my design concept would be : ( this is just a thought , but should be simple
to acomplish )

load the html document in a webbrowser control give the control focus ,
send ctrl + a then ctrl + c open a text document and send ctrl + v
regards

Michel Posseth


"Marina" <so*****@nospam.com> schreef in bericht
news:uO**************@TK2MSFTNGP09.phx.gbl...
Well, I can just use MSHTML then, do do the parse. And I can get the text
out without all the tags already - the problem is, it will look horrible.

I looked at that site, but I couldn't find anything regarding formatting
text. It's just an HTML parser, but I'm not interested in parsing the HTM
(which I could do with just MSHTML already).

Am I missing something?

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Marina,
Sorry, I'm not sure, what is this supposed to do? Is this like MSHTML,
that can parse HTML?


Yes

Can this component turn HTML into formatted text?

Have a look at the link than you see it.

Cor


Nov 21 '05 #9
Michel,

I agree with you nice simple solution.

:-)

Cor
Nov 21 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Nunya D. Bidness | last post by:
If anyone is interested in testing these components goto http://www.vibrantinnovations.com/vibrantlayouttools.asp The Vibrant Layout Tools ActiveX component is a suite of tools that allow...
4
by: Frank Einstein | last post by:
Looking for a tool that can edit an XML file in a browser. The basic requirement is that the XML file is rendered as an HTML form with editable fields (including add/delete, preferably in...
71
by: tomy_baseo | last post by:
I'm new to HTML and want to learn the basics by learning to code by hand (with the assistance of an HTML editor to eliminate repetitive tasks). Can anyone recommend a good, basic HTML editor that's...
3
by: M.B | last post by:
Hi, I'm looking a .net component (third party or not) that I could include - Text - Image - RadioButton - CheckBox any idea, link or suggestion ? I use VS 2002
0
by: Knut-Olav Traa | last post by:
Hello, I need a component that transfers html strings to text format. The component must format the text nice, and not just strip off the html-tags. For example: The tabledata should be formated...
7
by: Shapper | last post by:
Hello, Does anyone know a good RSS component for ASP.NET? Thanks, Miguel
8
by: gumi | last post by:
Hi, I am looking for code for a alarm clock program that pops up a messege to be used as part of my VB.Net class project. Any help is very much appreciated. Thanks
6
by: Ray Cassick \(Home\) | last post by:
I am looking for a control that displays simple HTML text (just basic tags, not active content needed). I know I can use the IE ActiveX control but really want to stay away from the headaches if...
2
by: Number 11950 - GPEMC! Replace number with 11950 | last post by:
HTML to RTF conversion is done by the clipboard in certain circumstances. Does anyone know of an API or possibly a Framework2 class.method that will convert HTML to RTF...? TIA -- Timothy...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.