Re: [Pharo-users] Coding XPath as Smalltalk

2017-02-20 Thread monty
limiting the number of matching nodes it enumerates. > Sent: Saturday, September 03, 2016 at 11:08 AM > From: PBKResearch <pe...@pbkresearch.co.uk> > To: "'Any question about pharo is welcome'" <pharo-users@lists.pharo.org> > Subject: Re: [Pharo-users] Coding XPat

Re: [Pharo-users] Coding XPath as Smalltalk

2016-09-03 Thread PBKResearch
Of monty Sent: 03 September 2016 13:00 To: pharo-users@lists.pharo.org Subject: Re: [Pharo-users] Coding XPath as Smalltalk > Sent: Saturday, September 03, 2016 at 5:30 AM > From: PBKResearch <pe...@pbkresearch.co.uk> > To: "'Any question about pharo is welcome'" <

Re: [Pharo-users] Coding XPath as Smalltalk

2016-09-03 Thread stepharo
Yes, I also moved XMLParserHTML and XMLParserStAX from PharoExtras/XMLParser to separate PharoExtras repos. PharoExtras could be the place for community-maintained standard libs. This one the idea for at least the ones I tried to take care. Stef

Re: [Pharo-users] Coding XPath as Smalltalk

2016-09-03 Thread stepharo
To: pharo-users@lists.pharo.org Subject: [Pharo-users] Coding XPath as Smalltalk Hello I am using XPath as a way of dissecting web pages, especially from Wiktionary. Generally I get good results, but I could get useful extra flexibility by using the binary Smalltalk operators to represent XPa

Re: [Pharo-users] Coding XPath as Smalltalk

2016-09-03 Thread monty
Thanks! > Sent: Saturday, September 03, 2016 at 4:31 AM > From: "Sven Van Caekenberghe" <s...@stfx.eu> > To: "Any question about pharo is welcome" <pharo-users@lists.pharo.org> > Subject: Re: [Pharo-users] Coding XPath as Smalltalk > &

Re: [Pharo-users] Coding XPath as Smalltalk

2016-09-03 Thread monty
> Sent: Saturday, September 03, 2016 at 5:30 AM > From: PBKResearch <pe...@pbkresearch.co.uk> > To: "'Any question about pharo is welcome'" <pharo-users@lists.pharo.org> > Subject: Re: [Pharo-users] Coding XPath as Smalltalk > > Hi Monty > > Many

Re: [Pharo-users] Coding XPath as Smalltalk

2016-09-03 Thread PBKResearch
Message- From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of monty Sent: 03 September 2016 06:54 To: pharo-users@lists.pharo.org Subject: Re: [Pharo-users] Coding XPath as Smalltalk Peter, you're using an ancient version with bugs that were fixed last fall. The newest

Re: [Pharo-users] Coding XPath as Smalltalk

2016-09-03 Thread Sven Van Caekenberghe
I downloaded it >> about a year ago. >> >> >> >> I don't know about that version. I copied an old version from SqueakSource >> (with permission) and updated from time to time, but there is no much. There >> is also a XPath2 repository which you may

Re: [Pharo-users] Coding XPath as Smalltalk

2016-09-03 Thread stepharo
Le 3/9/16 à 08:41, monty a écrit : Sent: Saturday, September 03, 2016 at 2:02 AM From: stepharo <steph...@free.fr> To: "Any question about pharo is welcome" <pharo-users@lists.pharo.org> Subject: Re: [Pharo-users] Coding XPath as Smalltalk Hi monty In which repository t

Re: [Pharo-users] Coding XPath as Smalltalk

2016-09-03 Thread stepharo
1, 2016 at 3:56 PM From: "Hernán Morales Durand" <hernan.mora...@gmail.com> To: "Any question about pharo is welcome" <pharo-users@lists.pharo.org> Subject: Re: [Pharo-users] Coding XPath as Smalltalk 2016-09-01 16:51 GMT-03:00 PBKResearch <pe...@pbkres

Re: [Pharo-users] Coding XPath as Smalltalk

2016-09-03 Thread monty
> Sent: Saturday, September 03, 2016 at 2:02 AM > From: stepharo <steph...@free.fr> > To: "Any question about pharo is welcome" <pharo-users@lists.pharo.org> > Subject: Re: [Pharo-users] Coding XPath as Smalltalk > > Hi monty > > In which repository

Re: [Pharo-users] Coding XPath as Smalltalk

2016-09-03 Thread Tudor Girba
inputs. > > Sent: Thursday, September 01, 2016 at 3:56 PM > From: "Hernán Morales Durand" <hernan.mora...@gmail.com> > > To: "Any question about pharo is welcome" <pharo-users@lists.pharo.org> > Subject: Re: [Pharo-users] Coding XPath as Smalltalk

Re: [Pharo-users] Coding XPath as Smalltalk

2016-09-03 Thread Tudor Girba
re implemented differently now. >> >>> From: PBKResearch <pe...@pbkresearch.co.uk> >>> To: pharo-users@lists.pharo.org >>> Subject: [Pharo-users] Coding XPath as Smalltalk >>> >>> Hello >>> I am using XPath as a way of dissecti

Re: [Pharo-users] Coding XPath as Smalltalk

2016-09-03 Thread Hernán Morales Durand
et of the spec and would infinite loop on some > inputs. > > *Sent:* Thursday, September 01, 2016 at 3:56 PM > *From:* "Hernán Morales Durand" <hernan.mora...@gmail.com> > > *To:* "Any question about pharo is welcome" <pharo-users@lists.pharo.org> > *Sub

Re: [Pharo-users] Coding XPath as Smalltalk

2016-09-03 Thread stepharo
as removed, but I might add it back as shorthand. Filters are implemented differently now. From: PBKResearch <pe...@pbkresearch.co.uk> To: pharo-users@lists.pharo.org Subject: [Pharo-users] Coding XPath as Smalltalk Hello I am using XPath as a way of dissecting web pages, especially

Re: [Pharo-users] Coding XPath as Smalltalk

2016-09-03 Thread monty
a small subset of the spec and would infinite loop on some inputs.   Sent: Thursday, September 01, 2016 at 3:56 PM From: "Hernán Morales Durand" <hernan.mora...@gmail.com> To: "Any question about pharo is welcome" <pharo-users@lists.pharo.org> Subject: Re: [Pharo-

Re: [Pharo-users] Coding XPath as Smalltalk

2016-09-02 Thread monty
; > To: pharo-users@lists.pharo.org > Subject: [Pharo-users] Coding XPath as Smalltalk > > Hello > > I am using XPath as a way of dissecting web pages, especially from > Wiktionary. Generally I get good results, but I could get useful extra > flexibility by using the bi

Re: [Pharo-users] Coding XPath as Smalltalk

2016-09-01 Thread Hernán Morales Durand
*On > Behalf Of *Hernán Morales Durand > *Sent:* 01 September 2016 18:54 > *To:* Any question about pharo is welcome <pharo-users@lists.pharo.org> > *Subject:* Re: [Pharo-users] Coding XPath as Smalltalk > > > > Hi Peter, > > > > 2016-09-01 10:26 GMT-03:0

Re: [Pharo-users] Coding XPath as Smalltalk

2016-09-01 Thread Hernán Morales Durand
Hi Peter, 2016-09-01 10:26 GMT-03:00 PBKResearch : > Hello > > > > I am using XPath as a way of dissecting web pages, especially from > Wiktionary. > Any specific reason to not use the SPARQL endpoint? > Generally I get good results, but I could get useful extra

Re: [Pharo-users] Coding XPath as Smalltalk

2016-09-01 Thread PBKResearch
Hi Cédrik I started out using Soup, but I found out that it does what its name suggests, and jumbles up the contents of the pages. I now parse the pages with XMLHTMLParser, which preserves the original structure exactly. The point of XPath is that it is a convenient way of specifying a

Re: [Pharo-users] Coding XPath as Smalltalk

2016-09-01 Thread Cédrick Béler
Hi Peter, Never used Path so I cannot help there. I just wander if you connote use Soup to « dissect » your webpages ? http://www.smalltalkhub.com/#!/~PharoExtras/Soup HTH, Cédrik > Le 1 sept. 2016 à 15:26, PBKResearch a écrit : > > Hello > > I am using XPath as a

[Pharo-users] Coding XPath as Smalltalk

2016-09-01 Thread PBKResearch
Hello I am using XPath as a way of dissecting web pages, especially from Wiktionary. Generally I get good results, but I could get useful extra flexibility by using the binary Smalltalk operators to represent XPath, as mentioned at the end of the class comment for XPath. However, the