Share » Learn » eZ Publish » eZ Publish Search Engine Optimization

eZ Publish Search Engine Optimization

Saturday 17 June 2006 1:22:00 pm

  • Currently 3 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

eZ Publish complies with web standards defined by the WWW Consortium (W3C) . This has a positive impact on the overall HTML quality of an eZ site. Because of this compliance, the source code for the Graphical User Interface elements is in a valid XML format (by default XHTML 1.0 Transitional), with a clean DOM structure. There are no problems with non-valid and badly structured XHTML, for example deeply nested and unclosed HTML tags. By structuring a document, XML makes it possible to use content in many ways and formats (HTML, RTF, OpenDocument, etc.) and makes it easy for search engine robots to parse the content.

While non-compliant code can be displayed by many browsers, other readers (such as search engine parsers) are not so forgiving and will not necessarily be able to interpret the document correctly. The following code snippet shows invalid markup that, while it may display in a browser, will not necessarily be correctly parsed by a search engine:

<Table>
 <TR>
   <TD>
     <P>
       <ul>
         <LI>
           <a HREF="#">
             <IMG srC=image.gif>
           </A>
         </UL>
   </TD>
 </tr>
</tABLE>

This snippet, on the other hand, is completely clear code that is understandable by all modern XHTML parsers that support the XHTML 1.0 standard. This code can be interpreted by all kinds of browsers and by search engines.

<div>
 <ul>
   <li>
     <a href="#">
       <img src="image.gif" />
     </a>
   </li>
 </ul>
</div>
36 542 Users on board!

Tutorial menu

Printable

Printer Friendly version of the full article on one page with plain styles

Author(s)