DrupalBin
Submit Code
About
Recent Posts
Fix for Allow HTML in <i> node titles</i> for Drupal 6.x
Template Pre-proccessing
Testing Ubercart donation product
dave's menu screenshot
Code
Modify user profile page theme
Modify user profile page
Fix for Fix for Code
Fix for Code
Code
more
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Log in using OpenID
Cancel OpenID login
Create new account
Request new password
Tags
CCK
drupal
fapi
jquery
menu
module
php
simpletest
test
theme
user
views
more tags
Home
scraper
scrape it up
July 16, 2008 - 7:26pm — Anonymous
$xml
= simple_get_xml
(
'http://www.cotrip.org/atis/web.TraveltimeMarshal'
)
;
$table
=
$xml
-
>
xpath
(
'/html/body/table[3]'
)
;
foreach
(
$table
[
0
]
-
>
tr
as
$item
)
{
if
(
count
(
$item
)
==
1
)
{
scraper
SimpleXML
xml
Read more