Jump to content

Parsing HTML, freaking me out


cordoprod

Recommended Posts

Hi,

I am developing an iphone app and for that I need to parse html through PHP.

 

It's for an app based on bus times in Norway.

 

I managed to parse what I want, well almost.

 

I need to parse this site:

http://www.rutebok.no/NRIIISStaticTables/Tables/ruter/index/Avd_01.htm

 

As you can see, it has tabs. These tabs are "bus lines".

These are powered by javascript.

 

I have managed to parse out where it ways rutenr: and rutenavn:.

 

But then it parses out all entries in the tabs, i need to separate them.

Like for Halden, just the entries in that tab.

and for Sarpsborg, just the entries in the tab that says Sarpsborg.

 

Please ask if you don't understand me.

Link to comment
https://forums.phpfreaks.com/topic/185938-parsing-html-freaking-me-out/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.