PHP Classes
elePHPant
Icontem

Extract div data or tags text from Web pages: I need to extract the values that are in divs of the same class

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  All requests RSS feed  >  Extract div data or tags text from Web pages  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Extract div data or tags text from Web pages

Edit

Picture of Guilherme Soratto by Guilherme Soratto - 1 year ago (2015-01-02)

I need to extract the values that are in divs of the same class

This request is clear and relevant.
This request is not clear or is not relevant.

+1

I need to extract the values that are in divs of the same class.

I have only the name of the div class, for example, a list of div <div class = "event-id" /> and would like to get the values of all div with the "event-id" class, values of a specific tag inside the div or directly in it.

Ask clarification

1 Recommendation

HTMLPP: Parse HTML code and manage the DOM structure

This recommendation solves the problem.
This recommendation does not solve the problem.

0

Picture of Manuel Lemos by Manuel Lemos Reputation 11100 - 1 year ago (2015-01-09) Comment

This class can be used for extracting HTML nodes of elements that match a given CSS class using the getElementsByClassName function in PHP, just like you can use it in JavaScript.


Recommend package
: 
: