Thread: Parsing HTML
View Single Post
Old 10-04-2009, 06:06 PM   #7 (permalink)
pixelgod
The Wanderer
 
Join Date: Sep 2007
Posts: 11
Thanks: 2
pixelgod is on a distinguished road
Default

Okay, this is how they're all structured. This one has all of the information, some of them are missing parts.

Code:
<LI>
<table><tr>
<td><IMG SRC="#"></td>
<td><a href="#">[Name] - [Location]</a> -- [Short Descripition]<br>
[Company]<br>
<a href="mailto:[email]">[email]</a><br>
[address1]<br>
[address2]<br>
[phone1]<br>
[phone2]<br>
[phone3]</td>
<td><img src="#"><!--image2--></td></tr></table>
<hr>
EDIT: I'm almost thinking this is impossible, becuase some posts are missing a phone number for example, and they're also missing the <br> at the end.

If it is impossible, then I guess I could just copy the entire code to the database as a listing, and not allow the old users to have an edit feature.
pixelgod is offline  
Reply With Quote