You are here: Re: PHP HTML - Analyzer « PHP Programming Language « IT news, forums, messages
Re: PHP HTML - Analyzer

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация