|
Posted by Mateusz Markowski on 09/09/06 08:47
Axel Gallus napisal(a):
> I am looking for a lib written in PHP, which does the following...
>
> It analyzes a certain webpage, let's say Google, it then extracts some
> elements which i want,
> lets say all forms ( <form>...</form> ) in the webpage.
> Then it should be able to deliver me all <input /> elements of one form,
> together with their attributes and corresponding values.
>
> It would be nice, if the lib would built a tree structure of the webpage,
> through which i could "travel", and execute certain operations/methods
> on the nodes, respectively html-elements.
>
> Furthermore it should be able to even interprete html pages, which have
> errors like
> not ended tags.
>
>
> Does someone know such a lib?
Maybe PHP's DOM implementation? http://php.net/manual/en/ref.dom.php
Navigation:
[Reply to this message]
|