Re: [ql-users] Abacus to HTML
[EMAIL PROTECTED] wrote: My best idea so far has been to create an HTML-generating printer_dat for Xchange, which I hope to put on my website tonight. What a cunning idea - I like it ! translates: as required, e.g. £ to 163. This might be difficult. You can find a list (incomplete unfortunately) on my HTML website (www.bountiful.demon.co.uk/html/index.html) for the 'special characters' but basically you will probably also need : '' = lt; '' = gt; '' = amp; The other problem you might suffer from is multiple spaces and newlines (is that possible in Abacus - except that you are using the PRE tag, so you should be ok. I suspect that because you are using the PRE tag that your special characters might be ok, but I'm sure I've had problems when doing assembly stuff in PRE that I still had to convert stuff to the xxx; format. Cheers, Norman. ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [ql-users] Abacus to HTML
Dilwyn Jones writes: I need to convert an Abacus spreadsheet into HTML, preferably as a table or monospaced HTML text. Hi Dilwyn, You could try 'DBF2HTM' (Per Witte website) which converts Archive DBF-files to HTLM tables. Export your ABACUS file, import it in ARCHIVE and use DBF2HTM François Van Emelen My best idea so far has been to create an HTML-generating printer_dat for Xchange, which I hope to put on my website tonight. A slightly different take on this, with Super/Sub scripts used to define hyper links, can be found right at the end of my article on \Printer Drivers under the section called \Update March 2000, for those who are interested in exploring this further. The address is still http://knoware.mysite.freeserve.com/index.html. Navigate to \Programs\Articles Per ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [ql-users] Abacus to HTML
From: [EMAIL PROTECTED] Date: 2006/02/24 Fri AM 08:02:57 GMT To: [EMAIL PROTECTED] Subject: Re: [ql-users] Abacus to HTML [EMAIL PROTECTED] wrote: My best idea so far has been to create an HTML-generating printer_dat for Xchange, which I hope to put on my website tonight. What a cunning idea - I like it ! He he :-) Thank Marcel, because of his hack of Xchange 3.90M and N I was on an Xchange wavelength. translates: as required, e.g. £ to 163. This might be difficult. You can find a list (incomplete unfortunately) on my HTML website (www.bountiful.demon.co.uk/html/index.html) for the 'special characters' but basically you will probably also need : '' = lt; '' = gt; '' = amp; The other problem you might suffer from is multiple spaces and newlines (is that possible in Abacus - except that you are using the PRE tag, so you should be ok. I suspect that because you are using the PRE tag that your special characters might be ok, but I'm sure I've had problems when doing assembly stuff in PRE that I still had to convert stuff to the xxx; format. Xchange allows up to 50 translates, but the driver can only be 286 bytes total IIRC, so as the lengthy pre and post ambles took up a good chunk of this, I think it's limited to a couple of dozen translates of the most common accented characters. Using PRE text seems to cope with most simple things, good enough for what I wanted. You can see a sample of what html_dat produced on www.dilwyn.uk6.net/versions/index.html which links ot the Abacus spreadsheet in which I keep my version numbers list and to a html-ised version for comparison. Not all of the QL character set has equivalents, but most does. The easy option is to translate say up arrow to [UP] (OK, cheating I know, but so what) Dilwyn -- Dilwyn Jones ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [ql-users] Abacus to HTML
My Doc2Html program does something similar as well. In this particular case the html_dat driver for Abacus did what I needed without a second program being needed, but thanks for that. Dilwyn From: P Witte [EMAIL PROTECTED] Date: 2006/02/24 Fri AM 09:26:45 GMT To: [EMAIL PROTECTED] Subject: Re: [ql-users] Abacus to HTML Dilwyn Jones writes: I need to convert an Abacus spreadsheet into HTML, preferably as a table or monospaced HTML text. Hi Dilwyn, You could try 'DBF2HTM' (Per Witte website) which converts Archive DBF-files to HTLM tables. Export your ABACUS file, import it in ARCHIVE and use DBF2HTM François Van Emelen My best idea so far has been to create an HTML-generating printer_dat for Xchange, which I hope to put on my website tonight. A slightly different take on this, with Super/Sub scripts used to define hyper links, can be found right at the end of my article on \Printer Drivers under the section called \Update March 2000, for those who are interested in exploring this further. The address is still http://knoware.mysite.freeserve.com/index.html. Navigate to \Programs\Articles Per ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [ql-users] Abacus to HTML
Dilwyn Jones writes: My Doc2Html program does something similar as well. In this particular case the html_dat driver for Abacus did what I needed without a second program being needed, but thanks for that. My best idea so far has been to create an HTML-generating printer_dat for Xchange, which I hope to put on my website tonight. A slightly different take on this, with Super/Sub scripts used to define hyper links, can be found right at the end of my article on \Printer Drivers under the section called \Update March 2000, for those who are interested in exploring this further. The address is still http://knoware.mysite.freeserve.com/index.html. Navigate to \Programs\Articles Im aware of Doc2Html. Like you, I was talking about a simple printer driver. In practise, you dont need to use up all that space in the pre/post amble. Most browsers should cope with a simple html bla bla /html So, if you need more space for Translates etc, just cut them right to the bone. Both Firefox and IE even correctly display html titleTitle/title pre bla bla /pre /html Per ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [ql-users] Abacus to HTML
I need to convert an Abacus spreadsheet into HTML, preferably as a table or monospaced HTML text. Hi Dilwyn, You could try 'DBF2HTM' (Per Witte website) which converts Archive DBF-files to HTLM tables. Export your ABACUS file, import it in ARCHIVE and use DBF2HTM François Van Emelen My best idea so far has been to create an HTML-generating printer_dat for Xchange, which I hope to put on my website tonight. Following Marcel's reminder recently, Xchange Abacus can have 3 different named drivers: 1. Task name 2. abba_dat (for Abacus, or archv_dat for Archive or quil_dat for Quill) 3. Xchange_dat. Xchange finds them in the help drive (usually the PROG_USE default drive). My approach was to create a printer_dat file called html_dat which is placed in the Xchange directory. It has to be Xchange, the original Quill, Abacus etc don't allow long enough strings in the printer_dat. In fact, you have to use the uncompiled pedit_bas program to avoid string input length problems, then make a printer_dat called html_dat containing the following (I hope these tags survive email, I'm trying to send as plain text!): preamble: HTMLHEADTITLEXch2Html/TITLE/HEADBODYPRE postamble: /PRE/BODY/HTML bold on: b bold off: /b underline on: u underline off: /u subscript on: sub subscript off: /sub superscript on: sup superscript off: /sup translates: as required, e.g. £ to 163. In Xchange's openign Task Control screen, start a copy of Abacus and give it the task name html. This prints using the printer driver html_dat, print to file and voila! You get a fairly basic html file direct from Abacus. Although I haven't tried it, I think it should work with Quill or Archive if suitably renamed (quill_dat for Quill, archv_dat for Archive). -- Dilwyn Jones -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.0.0/268 - Release Date: 23/02/2006 ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [ql-users] Abacus to HTML
Dilwyn Jones schreef: I need to convert an Abacus spreadsheet into HTML, preferably as a table or monospaced HTML text. Anyone know if there is a program to do this - I seem to remember that there is, in fact I'm pretty certain there is (it's probably on my website or PD CD even!) but I'm blowed if I can remember who did it or what it was called! I suppose if I exported the Abacus spreadsheet to Quill to get text in columns, then added a basic HTML header/body with a monospace text command that would do. Basically, what I'm up to is following John Gilpin's lead, I've put a list of the programs I've written with version numbers, release dates, requirements (PE, TK2, etc) into a spreadsheet which I'd like to put online with an option to view it online (hence the HTML) or to download as an Abacus or zipped Abacus file. I can probably write a basic program to add the necessary HTML to the exported spreadsheet, but if anyone has already done something similar it'll save me reinventing the wheel! Hi Dilwyn, You could try 'DBF2HTM' (Per Witte website) which converts Archive DBF-files to HTLM tables. Export your ABACUS file, import it in ARCHIVE and use DBF2HTM François Van Emelen ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [ql-users] Abacus to HTML
At 20:51 22/02/2006 +, you wrote: Basically, what I'm up to is following John Gilpin's lead, I've put a list of the programs I've written with version numbers, release dates, requirements (PE, TK2, etc) into a spreadsheet which I'd like to put online with an option to view it online (hence the HTML) or to download as an Abacus or zipped Abacus file. The subject cropped some months ago, Malcom Cadman I think. May/05 - quote. Then there are the compatibility issues with older software running on newer hardware or emulators. What do people want to see happen ? Malcolm Cadman My suggestion:- save below as a csv Software,Ver nnn,HARDWARE - OS,, ,,QL128,Cumana,CST,Medic,GoldCard,SupGoldCd,Qubide,Q40,Q60 ,Qlay,Qlay2k,QPC,QPC2,Qlem,uQLx Utilities TK2_ext PtrGen WMAN RAMPRT XTRAS etc Progs Quill Abacus Editor etc A csv file is the most easyly used format. The same thought comes to mind when thinking of all those KEYWORDs. I thought my 400 was enough (12 years ago). Needed would be columns for :- Keyword Toolkit or Programme source Purpose Example usage, syntax. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.375 / Virus Database: 267.15.12/266 - Release Date: 21/02/2006 ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm