Sign in to follow this  
Followers 0
tommytx

Pathway to collection Classes in html.

1 post in this topic

#1 ·  Posted (edited)

Code I have been working with below:

$oInputs = _IETagNameGetCollection ($oIE, "class")

For $oInput In $oInputs;

MsgBox(0, "Form Input Type", "Form: " & $oInput.form.name & " Type: " & $oInput.type)

Next

I don't have a problem with input and such to scan and get that data but cannot figure out how to read the data between the lines here. For example I need to get something like the following..

End my working code.

Data I would like to extract

Listing # 9990488

8029 RIDGEPOINT

Park City Proper

UTAH

This 3 bedroom Ridgepoint townhome in Deer Valley has been completely remodeled with beautiful hardwood floors, plush carpeting and deluxe finishes including a fully equipped gourmet kitchen.

It would be even better if I could pull it out and put into this format but that is not mandatory.. as I will still be able to figure out which is which.

Even better format if it would land in that format.

Address|8029 RIDGEPOINT

<div class="IDX-detailsSideInfo">
<div id="listingNumber" style="display: block; visibility: visible;">
Listing # 9990488
</div>
<div class="IDX-detailsPrice">
<span id="IDX-priceLabel">Price: $</span><span id="IDX-priceNumber">849,000</span></div>
<div class="IDX-detailsAddressBox">
<div class="IDX-detailsLabel">
Address
</div>
<div class="IDX-detailsValue">
8029 RIDGEPOINT
</div>
</div>
<div class="IDX-detailsLabel">
City Name:
</div>
<div class="IDX-detailsValue">
Park City Proper
</div>
<div class="IDX-detailsLabel">
State:
</div>
<div class="IDX-detailsValue">
UTAH
</div>
<div class="IDX-detailsLabel">
Zip:
</div>
  
</div>
<div class="IDX-detailsRemarksWrapper">
<div class="IDX-detailsRemarks">
This 3 bedroom Ridgepoint townhome in Deer Valley has been completely remodeled with beautiful hardwood floors, plush carpeting and deluxe finishes including a fully equipped gourmet kitchen.
</div>
Edited by tommytx

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0