Jump to content

capture html data between tags


sdowney1

Recommended Posts

I wrote a VB6 app that uses a web browser control to create an inbuilt instance of IE.

I then used that to navigate to a LOC web page, do a search and collect MARC tag data.

 

I was wondering how you could do this in PHP.?

I put up some attachments that show this working in VB6.

 

The searchable web page that returns results is here

http://www.loc.gov/cgi-bin/zgate?ACTION=INIT&FORM_HOST_PORT=/prod/www/data/z3950/locils2.html,z3950.loc.gov,7090

 

So you do a search for something.

LOC gives you a list.

You click on an item in the list where it says 'more on this record'

then you click 'tagged display'

And that is the data you want to have collected into your variable.

I created a Download Icon on the web browser control that turns green when the data is displayed.

 

Do you somehow create your own web browser instance?

or? I am new to PHP and have figured out a few things.

I created this here in PHP

http://www.sdowney717.byethost16.com/mysearch2first.php

 

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/228029-capture-html-data-between-tags/
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.