.dsy:it.
Show 150 posts per page

.dsy:it. (http://www.dsy.it/forum/)
- Forum De Bell Tolls (http://www.dsy.it/forum/forumdisplay.php?forumid=7)
-- [Programmazione] regex (http://www.dsy.it/forum/showthread.php?threadid=14643)


Posted by 0m4r on 01-11-2004 10:56:

[Programmazione] regex

Ciao a tutti, volevo sapere se qualcuno mi può dare una mano a scrivere una regex per prendere, dalla pagina al link qui sotto, le informazioni che riporta (la data, i nome delle squadre, i risultati e gli arbitri).

Voglio realizzare una pagia web in java/JSP che raccolga un po più statistiche di quelle riportate in questa pagina.

http://www.fip.it/campionati/webdis...=U&ar=1&turno=2

Grazie a chi mi vorrà aiutare.

__________________
http://www.twitter.com/0m4r


Posted by fabpicca on 01-11-2004 10:59:

perchè non ti fai un parser?
magari sfruttando jtidy?

__________________
my website?|ubuntu linux|get Firefox|grazie Polonia |bagdad sour

"Come va che non ha le corna e le zampe di Caprone?" gli opposi. "Oh, Giuvà", mi disse il prete "adesso non si usa più.Satana è furbo". (I.Silone, Fontamara)
"Al giorno d'oggi non bisogna essere intelligenti, perchè la gente si offende" (un ubriacone)
"close your eyes / pay the price / for your paradise" (DM) "whatever you want to change/you'd better start changing it in your mind" (Transatlantic)


Posted by ripe on 01-11-2004 11:06:

Esatto, la cosa migliore è scrivere un parser che recupera la pagina, ne identifica la struttura ed estrae i dati contenuti... non dovrebbe essere neanche troppo difficile! ;)

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»


Posted by 0m4r on 01-11-2004 11:39:

più o meno e quello che volevo fare sfruttando le regex.... jtdy non lo conosco, mi informerò e vedrò se farà al caso mio...

[edit]
ok, ho trovato jtidy su sourceforge, ora sono alla ricerca di qualche istruzione in più su come utilizzarlo, voi ne sapete qualcosa?
[/edit]

__________________
http://www.twitter.com/0m4r


All times are GMT. The time now is 17:46.
Show all 4 posts from this thread on one page

Powered by: vBulletin Version 2.3.1
Copyright © Jelsoft Enterprises Limited 2000 - 2002.