473,804 Members | 2,146 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Semantic Structure of HTML page

Hi,

Does anyone know of any application, or simply any development, on
extracting semantic structure of HTML pages?

Cheers,
Michael

Jul 23 '05 #1
7 1683
da*****@hotmail .com wrote:
Does anyone know of any application, or simply any development, on
extracting semantic structure of HTML pages?


View / Source...

Explain what sort of output you're expecting to see.

--
Mark.
http://tranchant.plus.com/
Jul 23 '05 #2
Hi,

Well, I'm expecting that it can group paragraphs under headings etc.,
and with the syntax hidden. It can be in the form of a directory or a
tree, where nodes are grouped/branched out from a particular
heading/parent.

Cheers,
Michael

Jul 23 '05 #3
da*****@hotmail .com wrote:
Hi,

Well, I'm expecting that it can group paragraphs under headings etc.,
and with the syntax hidden. It can be in the form of a directory or a
tree, where nodes are grouped/branched out from a particular
heading/parent.


The W3 validator's parse tree option does a crude job of this:

http://shorl.com/belihanafafu

--
Mark.
http://tranchant.plus.com/
Jul 23 '05 #4
In article <11************ **********@z14g 2000cwz.googleg roups.com>,
da*****@hotmail .com wrote:
Well, I'm expecting that it can group paragraphs under headings etc.,
and with the syntax hidden. It can be in the form of a directory or a
tree, where nodes are grouped/branched out from a particular
heading/parent.


Firefox has the DOM inspector that does something like that.

--
Kris
<kr*******@xs4a ll.netherlands> (nl)
Jul 23 '05 #5
Hi,

The DOM inspector seems to output the parse tree, and doesn't seem to
convey any semantic meanings though.

Michael

Jul 23 '05 #6
In article <11************ **********@c13g 2000cwb.googleg roups.com>,
da*****@hotmail .com wrote:
The DOM inspector seems to output the parse tree, and doesn't seem to
convey any semantic meanings though.


Semantics are in the eye of the beholder.

--
Kris
<kr*******@xs4a ll.netherlands> (nl)
Jul 23 '05 #7
Kris <kr*******@xs4a ll.netherlands> wrote:
da*****@hotmail .com wrote:
The DOM inspector seems to output the parse tree, and doesn't seem to
convey any semantic meanings though.


Semantics are in the eye of the beholder.


Boy, I hope that's not true in the general case, or there are a lot of
people wasting a lot of time with HTML and its cousins.

--
Joel.
Jul 23 '05 #8

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

Similar topics

5
6095
by: Richard Cornford | last post by:
I am interested in hearing opinions on the semantic meaning of FORM (elements) in HTML. I have to start of apologising because this question arose in a context that is not applicable to the Internet. Specifically, marking up a document that will contain multiple related form controls (intended exclusively for client-side scripting) that would never be intended to be submitted. I realise that that concept is a non-starter in an Internet...
3
1679
by: pr10n | last post by:
Hello, all! I'm working on a personal blog and I'm trying to make it's markup more semantic, using the right elements, removing needless div's and so on. I was wondering if someone would be kind enough to peek at the code and see if they have any suggestions. I realize I am over using the list and header elements. I am also in the process of shifting the content blocks around in the code to get the meat of the site displayed first. ...
2
1642
by: dayzman | last post by:
Hi, I'm in need of a program that extracts the semantic structure of HTML pages -- a program that groups paragraphs with the corresponding headings etc. I know it's not too difficult to extract well structured documents, e.g. formal essays. However, with complicated sites like CNN and CNet, where many tables are used to align text, to me it'd become extremely difficult. Does anyone know of any existing applications? If not, should it be...
3
1669
by: dayzman | last post by:
Hi, I'm interested in projects evolve about extracing semantic structure of HTML documents. What I mean by extracting semantic structure is to analyse HTML doc and outputs a model (perhaps a tree structure) that relates paragraphs to headings/sub headings. It should be a difficult problem, since HTML is a structure language. Does anyone know of any existing research? Cheers,
3
1758
by: dayzman | last post by:
Hi, I've read somewhere that feature-based analysis can be used to extract the semantic structure of HTML documents. By semantic structure, they mean the model of the rendered view a reader sees. Now, my question is, what should such feature-based analysis involve? What exactly is a feature-based analysis? Please help.
2
1802
by: Eric Lindsay | last post by:
Most of the web pages whose source I look at have a very elaborate structure (even apart from any massive use of Javascript), often with div in div in div layered up to six deep, lots of classes and spans all over. I usually can't follow exactly why they are so elaborate (I know some are containers to avoid browser bugs). In addition to attempting to retrofit a more semantic structure on pages, I have been trying to reduce the...
12
4171
by: rshepard | last post by:
I'm a bit embarrassed to have to ask for help on this, but I'm not finding the solution in the docs I have here. Data are assembled for writing to a database table. A representative tuple looks like this: ('eco', "(u'Roads',)", 0.073969887301348305) Pysqlite doesn't like the format of the middle term: pysqlite2.dbapi2.InterfaceError: Error binding parameter 1 - probably
2
1429
by: ravidor | last post by:
I need to display the number of a question out of total number of questions (example 6/18). What HTML tags should I use to build it semantically?
19
1493
by: mdh | last post by:
Perhaps slightly OT, but related to Declarator form. From A8.5, the declarators have the syntax; declarator: ptr (opt) direct-declarator. At the bottom of the page, it says, amongst other things
0
9715
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9595
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10603
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10356
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9176
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7643
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6869
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5675
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4314
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 we have to send another system

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.