473,499 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP HTML - Analyzer

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?

THX in advance

A.Gallus

Sep 8 '06 #1
2 1822
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

Sep 9 '06 #2
This seems to solve my problem. Thx.
"Mateusz Markowski" <ma*****@bsdmail.orgschrieb im Newsbeitrag
news:11*********************@i3g2000cwc.googlegrou ps.com...
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

Sep 9 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1499
by: joh12005 | last post by:
Hello, here is a trouble that i had, i would like to resolve it with python, even if i still have no clue on how to do it. i had many small "text" files, so to speed up processes on them, i...
5
7269
by: Warren Wright | last post by:
Hi group, I have a select statement that if run against a 1 million record database directly in query analyzer takes less than 1 second. However, if I execute the select statement in a stored...
1
4063
by: Alex Cicco | last post by:
Hi, I am new to SQL. Please bear with me and allow me to ask a dumb question. I am debugging a stored procedure (written in Trans-SQL), and I found that the SQL analyzer that I use doesn't...
0
1771
by: kackson | last post by:
Hi. I've been using SQL server 2000's query analyzer and the enterprise manager without problems for quite some time (2 months). And all of a sudden one week ago, when I started the query analyzer...
2
3081
by: Poster | last post by:
After creating an IN clause from a bunch of character strings created by a Word macro, Query Analyzer complains about a syntax error. The macro takes a column full of character strings and wraps...
3
2875
by: JM | last post by:
Good day. I was able to connect to a database server using SQL Server Enterprise Manager. The Server name specified on the tree is JOMARGON(Windows NT). But no server was detected using either...
1
2297
by: justinjoylife | last post by:
Hi - I'm completely new to Microsoft Query Analyzer and I need to learn it for work to do data mining as a Product Manager. Does anyone have any recommendations on how to learn this and where?...
1
5546
by: Chris Morse | last post by:
Does anyone know how to profile a VB.NET application? In the VS.NET 2003 docs, I found this: (BEGIN DOC COPY) "A code profiler is a software tool, implemented as a DLL, which is called by...
14
2551
by: Kevin G. Anderson | last post by:
What: CAUG Meeting - QuickBooks IIF Files; Total Access Analyzer; CAUG Social When: Thursday, May 25, 2006, 6PM Who: Chris Monaghan and Kevin Anderson Where: The Information Management Group...
0
2697
by: serdar | last post by:
Hi I'm designing a spectrum analyzer for a flash media player using the new computeSpectrum method in AS3. There are two basic types of visualizers I'm working on: -wave-type (displays a sound...
0
7128
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7006
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7215
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6892
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7385
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5467
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4917
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1425
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
294
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.