View Single Post
  #5 (permalink)  
Old 11-18-09, 09:11 AM
vinpkl vinpkl is offline
Newbie Coder
 
Join Date: Oct 2008
Posts: 62
Thanks: 3
Thanked 0 Times in 0 Posts
file get contents

hi job0107

sorry if i was not able to clear the problem.

There are more than 2000 articles static html pages for which i need to extract data.

This is the sample code that i need to extract information from and add into database.

I need Title, Authorname, Article intro, articlebody as separate variables with information.

i hope this time everything will be understood.

vineet

Code:
<p class="title">article title</p>
<p class="authname">authorname</p>
<div class="articleintro">
<p>
article description come here article description come here article description come here article description come here article description come here article description come here article description come here article description come here 
</p>
</div>
<hr/>
<div class="articlebody">
<p>
article description come here article description come here article description come here article description come here article description come here article description come here article description come here article description come here 
</p>
<p>
article description come here article description come here article description come here article description come here article description come here article description come here article description come here article description come here 

</p>
<p>
article description come here article description come here article description come here article description come here article description come here article description come here article description come here article description come here 
</p>
<p>
article description come here article description come here article description come here article description come here article description come here article description come here article description come here article description come here 
</p>
</div>
Reply With Quote