Re: SPD update
- Posted by acran at readout.fsnet.co.uk May 10, 2002
- 389 views
Hello, I hoping this post will help jbrown and maybe of interest to others who are tuned in on this thread. A couple of years back I spent a little time looking into the RTF format. Here are a couple of links I dug up back then and I'm amazed they are still up (I just checked http://www.cs.umu.se/~ola/sem/index.html http://www.cena.dgac.fr/~sagnier/info/formats/conversions/htm2rtf.htm The second one might wrap in your email reader. It was at this time I first started to use Euphoria. I wondered if there was a way I could write my resume once and then have a (Euphoria) program convert it to HTML for my web page (when I though an online resume was a good idea - D'Oh) and to RTF so I could email it to job agencies who could only work with Internet Explorer and email document attachments as long as Word could open them. I kind of managed this in the end but with (shame on me now) a C program called cvmaker.c which (for the HTML bit anyway) used CSS (cascading style sheets). Then I thought why don't I come up with a document format of my own that is so simple I could write programs myself to convert it into other popular formats like HTML and RTF (and plain text while I'm at it). This I did and like jbrown I came up with my own suffix and name BTF, Bland Text Format At lot of the pages on my website: http://www.readout.fsnet.co.uk/ have their source written in BTF. And yes the name is a pun on Microsoft's Rich Text Format. I've taken a quick look at jbrown's work on SPD and it is both similar and different to mine at the same time. Great minds think alike ;-> Jbrown - I have a ZIP file of around 70k of source (Euphoria and C), some DOS executables, documentation and example BTF's I'd be happy to share with you. Email me if you are interested - you can see how I've put together RTF documents for comparison with your code (although I think your much further forward than me on many of the aspects such as colour text functionality). The offer is open to others - if I get alot of responses it'll go on my web site as a work in progress project even though I haven't worked on it in a while. Regards, Andy Cranston. At 22:18 09/05/02 +0000, you wrote: > >I have updated SPD (Simple Preprocessed Document format), my attempts >to create a document formatting language. It now supports 3 output file >types, >html file, text file, and rtf file. I'll try to perfect the rtf format, >and >then I'll try to add more output formats to SPD. > >The file is avaliable here: >http://www.geocities.com/jbrown1050/spd.tar.gz > >jbrown > > >-- >Faster than the email provider that you're using! >Soar with FastMail.FM! -> http://fastmail.fm > > > >