Re: [DUG] Apple iPad - OT

2010-01-28 Thread Robert martin
Yup, ditto I bike to work every day.  We sold our second car  about 8yrs ago.  Nice in Chch where for most of the city there are no hills and good bike lanes. Rob     On 28/01/2010 5:35 p.m., Jeremy North wrote: I'd say "harden up". You can buy snow tyres :-) There are exceptions,

Re: [DUG] Apple iPad - OT

2010-01-28 Thread Conor Boyd
Likewise. Although we won't mention the current Cashmere-based shenanigans. C. From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Robert martin Sent: Friday, 29 January 2010 9:00 a.m. To: NZ Borland Developers Group - Delphi

Re: [DUG] Apple iPad - OT

2010-01-28 Thread Robert martin
I come in from the other side (St Albans). Whats happening in Cashmere? I'm obviously out of the loop :) Rob On 29/01/2010 9:23 a.m., Conor Boyd wrote: Likewise. Although we won't mention the current Cashmere-based shenanigans. C. From:

Re: [DUG] Apple iPad - OT

2010-01-28 Thread Leigh Wanstead
I think it is great to eat apple and ride bicycle ;-) From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Robert martin Sent: Friday, 29 January 2010 9:30 a.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Apple iPad - OT I come in from the

Re: [DUG] Apple iPad - OT

2010-01-28 Thread Kyley Harris
Thats disgusting. no matter how Arrogant a cyclist is (and there are some) that really doesn't absolve any driver from what is essentially a violation of safe driving practices. The are so hot headed that they dont realise how easily a cyclist can be killed. (the cyclists should remember that too

Re: [DUG] Apple iPad - OT

2010-01-28 Thread Robert martin
Title: Robert Martin What an idiot. I think what most of the nasty drivers forget is that for every cyclist on the road its one less car for them to get stuck behind. However I must admit the Dyers pass road is terrible to drive up / down especially with the Lycra brigade riding two a breast

[DUG] web scraping using IHTMLDocument2

2010-01-28 Thread Alister Christie
I'm trying to do some web page scraping using IHTMLDocument2, which is working fairly well and I can grab the second paragraph on a web page by doing something like: p := iDoc.all.tags('P'); if p.Length = 2 then result := p.Item(1).InnerText; Where iDoc is an isnstance of IHTMLDocument2.

Re: [DUG] web scraping using IHTMLDocument2

2010-01-28 Thread Cameron Hart
Do you know if the websites are xhtml - do they have anything like below in the start of the page. !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; If they are it would be easier to load them

Re: [DUG] Apple iPad - OT

2010-01-28 Thread Cameron Hart
Imho it is not getting stuck behind bikes that gets car drivers irate, but the flaunting of the road rules demonstrated by cyclists. Car drivers start thinking it is unfair every time they see one ride through a red light, or fail to indicate, or ride double/triple, or skip from road to footpath

Re: [DUG] web scraping using IHTMLDocument2

2010-01-28 Thread Alister Christie
Thanks Cameron, It does indeed have that header, how do I make this work? XMLDocument1.FileName := 'c:\temp\test.htm'; XMLDocument1.Active := True; Gives me various errors, I suspect that that the file is not valid xml, or is there some other way of parsing it? Alister Christie Computers

Re: [DUG] Apple iPad - OT

2010-01-28 Thread Conor Boyd
Speaking as a cyclist as well as a car-driver, I mostly agree with you, hence my mention of tolerance from both sides, and my reference to the small minority of cyclists was basically to the type of cyclist you talk of. As a commuter cyclist though (and not really one of the lycra jockeys), I

[DUG] Outlook 2002/2003/2007 automation differences

2010-01-28 Thread Alister Christie
I've previously been working with outlook 2002, pulling contacts/appointments in and out, but I'm having trouble with outlook 2003/2007. Does anyone know of the differences and the best way of supporting all 3 simultaneously? -- Alister Christie Computers for People Ph: 04 471 1849 Fax: 04

Re: [DUG] web scraping using IHTMLDocument2

2010-01-28 Thread Cameron Hart
Given you mention .Filename property I assume you are using TXMLDocument. Forget that and use MSXML direct - its much better, you could load a URL direct without first downloading to a file. Import the MSXML 6.0 to create MSXML2_TLB. You will probably find that most web sites have xhtml tags

Re: [DUG] Apple iPad - OT

2010-01-28 Thread Leigh Wanstead
I ride bicycle in Auckland around 10 years. Auckland road is not fit for riding bicycle. Most road does not have proper cycle way. The cycle way is not continuous. And the road suppose to ride bicycle is only around 20 cm wide and shared with cars. And car runs very fast. It is so easy to be

[DUG] Thank God it's Friday ...

2010-01-28 Thread Gary T. Benner
HI all, This is usually for the Off topic List but I just checked and many are not registered on that list So here goes ... here are some questions from a well known company ... but don't cheat and search online ...try and think them through. Question 1 You have eight balls all of the

Re: [DUG] Apple iPad - OT

2010-01-28 Thread Robert martin
Hi I hate to disagree Leigh but Your much more likely to die on the footpath ! Don't do it. If you check the stats you will find by far and away the most accidents occur on the footpaths (cars reversing and pedestrians). re cammerons comment I agree, The small % of cyclists cutting red

Re: [DUG] So off-topic it's ridiculous

2010-01-28 Thread Jolyon Smith
Are there any Delphi users on this list actually using Delphi right now or are we all too busy drooling over Apple products that Delphi doesn't support and getting our knickers in a twist over road transport issues? J But since everyone else has chimed in, my contribution on the cycling

Re: [DUG] Apple iPad - OT

2010-01-28 Thread Jolyon Smith
* however I would say I see more cars cutting reds than cyclists, not * because cyclists don't but because cars so frequently do (almost every * light cycle). . am I the only one that found myself imagining some scene from TRON playing out on the streets of Christchurch ?

Re: [DUG] So off-topic it's ridiculous

2010-01-28 Thread Kyley Harris
haha.. I drooled over the iPad for the time frame of 1 day while chatting.. now I'll ignore it until I see a price. I used to love cycling in Auckland before I had to raise my child alone and ran out of time. Mission Bay to Mt Albert was always a good ride. Lots of bad drivers to be careful of,

Re: [DUG] So off-topic it's ridiculous

2010-01-28 Thread Conor Boyd
Ouch. The only time I've actually been knocked off my bike was by another cyclist. ;-) Using Delphi today? Sure. Although most of today was spent testing on VPCs and watching builds run. C. From: delphi-boun...@delphi.org.nz

Re: [DUG] web scraping using IHTMLDocument2

2010-01-28 Thread Alister Christie
Thanks, although it looks like the html documents are not xml compliant, so I'll probably have to either parse the file manually or continue experimenting with IHTMLDocument2 (and hopefully find some documentation for it). Alister Christie Computers for People Ph: 04 471 1849 Fax: 04 471 1266

Re: [DUG] So off-topic it's ridiculous

2010-01-28 Thread Alister Christie
Also using Delphi today - mostly looking for clean ways of parsing/scraping html. Yesterday I was learning Rails however. I'll either continue learning rails tonight or start sanding the toilet. Suffice to say that rails is much more appealing - boy I know how to party on a Friday night.

Re: [DUG] So off-topic it's ridiculous

2010-01-28 Thread Trevor
_ From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Jolyon Smith Sent: Friday, 29 January 2010 3:59 p.m. To: 'NZ Borland Developers Group - Delphi List' Subject: Re: [DUG] So off-topic it's ridiculous Are there any Delphi users on this list

Re: [DUG] web scraping using IHTMLDocument2

2010-01-28 Thread Jeremy Coulter
Have you have a look at the Tembeddedwebbroswer stuff? I am pretty sure theres a demo that might help you. Jeremy -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Alister Christie Sent: Friday, 29 January 2010 16:26 To: NZ Borland

Re: [DUG] web scraping using IHTMLDocument2

2010-01-28 Thread Cameron Hart
There is lots on msdn http://msdn.microsoft.com/en-us/library/aa752574%28VS.85%29.aspx Cameron Hart | Development Manager | Flow Software Limited P: +64 9 476 3579 | M: +64 21 222 3569 | E: cameron.h...@flowsoftware.co.nz PO Box 305-237, Triton Plaza, Auckland 0757, New Zealand |