XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] "Maximize the ratio of content to markup" What's the underlying principle?

A problem that I can see with the second <Author> segment is that it
would be difficult to add extra information at a later date, such as
address, contact details etc.

Phil Meadows


-----Original Message-----
From: Costello, Roger L. [mailto:costello@mitre.org] 
Sent: 05 March 2008 12:02
To: xml-dev@lists.xml.org
Subject: [xml-dev] "Maximize the ratio of content to markup" What's the
underlying principle?

Hi Folks,

Yesterday I read this:

"Search engines look for semantic markup with a high ratio of content
to code." [Building Findable Websites by Aarron Walter]

For example, this is not good design:

<div>
    <div id="Main">
        <p>Hello World</p>
    </div>
</div>

The outer div is providing no benefit.  It can be more simply expressed
as:

<div id="Main">
    <p>Hello World</p>
</div>

The later version provides a higher ratio of content to code (tags).
And from the quote above, search engines rank higher documents with a
higher ratio of content to code.

What is the underlying principle?  Why do search engines prefer
documents with a higher ratio of content to markup?

Can the principle be applied to XML data design?

For example,

This is not good design:

<Author>
    <Name>Paul McCartney</Name>
</Author>

The Name element is providing no benefit.  It can be more simply
expressed as:

<Author>Paul McCartney</Author>

The later version provides a higher ratio of content to code (tags).

What do you think?  Is there a principle of data design being
illustrated here?  Can you articulate the principle?

/Roger

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS