Re: HTML to RTF

new topic     » goto parent     » topic index » view thread      » older message » newer message

> Hi Tom or Others,

> As you all know i've been working on an email client that i will soon 
> sell off to my school but will always be free 
> to EU programmers. So far most of it is workin'. There is one other 
> major core component i would like to solve, 
> that is HTML mail support. All i need at the moment is a tool for 
> converting HTML to RTF or RTF to HTML. I 
> did an Archive search and failed. All this time i have been using Thomas 
> Parslow IM Marvin.exw i had never
> noticed it had an include for doing this. I was like great thats all i 
> need. Doing a closer look, the code was 
> intergrated with the main program, so it couldn't be used as a separate 
> include file by other programmers.

Actually you should be able to remove it from the rest of the program
and use it elsewhere, it requires eebax (my xml parser) and xmltree (a
library for loading an xml file into a structure using eebax).

However, it's probably not suitable for what you need, it requires
XHTML which is much stricter than normal HTML. Plus it only supports a
subset. You could still use the xhtmlrtf_RTF2XHTML function as an
XHTML document is a perfectly valid HTML document.

> Is there any one out there who has written such a library? Cause i think 
> this library is essential to EU Internet
> programmers especially those who love formatted text!!

It would probably be possible to use an IE object like Outlook does (you'd
probably need to use Matthew Lewis's COM library) although I'd really
advise against this as it is the source of all Outlooks (many)
security vulnerabilities.

> Qn: To TOM: i was just wondering your program is hosted at 
> sourceforge.net, Is there any big advantage of
> placing it there over placing it on the RDS site?

Sourceforge provides loads of resources for open source projects such
as web hosting, mailing lists, discussion forums and CVS (a system for
tracking changes in source code and allowing many people to work
concurrently on the same project). RDS just host Euphoria related
files on the archive page...

> -=-=-=-=-=-=-=-=-=-=--=-==-=
> -=     Jordah Ferguson    -=
> -= jorfergie03 at yahoo..com == 
> -=-=-=-=-=-=-=-=-=-=-=-=-==-
>            |||||
>             |||
>              |

Thomas Parslow (PatRat)
E-Mail/Jabber: tom at almostobsolete.net
ICQ: 26359483

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu