WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Search Engines > Search Engine Optimization Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Search Engine Optimization Forum SEO is much easier with help from peers and experts! The WebProWorld SEO forum is for the discussion and exploration of various search engine optimization topics. Any non (engine) specific SEO or SEM topics should go here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-03-2008, 02:07 PM
kgun's Avatar
WebProWorld 1,000+ Club
 

Join Date: May 2005
Location: Norway
Posts: 4,948
kgun RepRank 3kgun RepRank 3
Lightbulb Advanced semantic linking and transclusion.

Below you find an example of how future markup and linking may be written:

1. links.xml
Code:
<?xml version="1.0"?>
<links xmlns:xlink="http://www.w3org/1999/xlink/namespace/">
 <link xlink:type="extended" xlink:role="product-manufacturer">
  <loc xlink:type="locator"
    xlink:href="products.xml#xpointer(id('23428'))"
    xlink:label="item"/>
  <loc xlink:type="locator"
    xlink:href="manufacturers.xml#xpointer(id(ABC))"
    xlink:label="madeby"/>
  <go  xlink:type="arc"
    xlink:from="item"
    xlink:to="madeby"/>
 </link>    
 <link xlink:type="extended" xlink:role="similar-products">
  <loc xlink:type="locator"
   xlink:href="products.xml#xpointer(id('23428'))"/>
  <loc xlink:type="locator"
   xlink:href="products.xml#xpointer(id('75386'))"/>
  <loc xlink:type="locator"
   xlink:href="products.xml#xpointer(id('11111'))"/>        
 </link>
 <link xlink:type="extended" xlink:role="similar-products">
  <loc xlink:type="locator"
   xlink:href="products.xml#xpointer(id('99999'))"/>
  <loc xlink:type="locator"
   xlink:href="products.xml#xpointer(id('11111'))"/>        
 </link> 
</links>
2. Manufacturers.xml
Code:
<?xml version="1.0"?>
<mcatalog>
 <manufacturer id='ABC'>
  <title>ABC</title>
  <description>ABC Ltd.</description>
 </manufacturer>
 <manufacturer id='XYZ'>
  <title>XYZ</title>
  <description>XYZ Ltd</description>
 </manufacturer>
 <manufacturer id='QRS'>
  <title>QRS</title>
  <description>QRS Ltd</description>
 </manufacturer>
</mcatalog>
3. Products.xml

Code:
<?xml version="1.0"?>
<catalog>
<product id='23428'>
<title>ABC Microwave Oven - Model 34X</title>
<description>Great oven!</description>
</product>
<product id='75386'>
<title>XYZ Microwave Oven - Model TRL7</title>
<description>Even a better model!</description>
</product>
<product id='11111'>
<title>QRS Microwave Oven - Model SDF</title>
<description>The ultimate in oven construction!</description>
</product>
<product id='99999'>
<title>QRS convention Oven - Model LKJG</title>
<description>You won't believe how good this oven is!</description>
</product>
</catalog>
4. Products.xsl
Code:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
 xmlns:xsl="http://www.w3org/1999/XSL/Transform"
 xmlns:xlink="http://www.w3org/1999/xlink/namespace/">
 
<xsl:output method="html"/>
<xsl:template match="product">
 <xsl:variable name="prod-id" select="@id"/>
 <h1><xsl:value-of select="title"/></h1>
 <p>These files can not combined in modern browsers</p>
 
 <h3>Other similar products</h3>
 <!--
  Select all similar products where
   - they are different from the current product
   - there is a link that
    - has the correct role (i.e., product similarity)
    - includes the similar product
    - includes the current product
 -->
 
 <xsl:for-each select="document('products.xml')/catalog/product">
  <xsl:variable name="this-prod-id" select="@id"/>
 
  <xsl:if test="($this-prod-id != $prod-id) and
   document('links.xml')/links/link
    [@xlink:role='similar-products']
    [loc/@xlink:href[substring(substring-after(string(),
     '#xpointer(id('), 2, 5)=$prod-id]]
    [loc/@xlink:href[substring(substring-after(string(),
     '#xpointer(id('), 2, 5)=$this-prod-id]]">
   <xsl:value-of select="title"/><br/>
  </xsl:if>
 </xsl:for-each> 
 
 <hr/>
 </xsl:template>          
</xsl:stylesheet>
Source: Erik Wilde and David Lowe: XPath, XLink, XPointer, and XML: A Practical Guide to Web Hyperlinking and Transclusion chapter 8.4.3. Link Semantics.

There may be errors in the code that I have had no time to locate.


What are
  1. The implications for WebBrowsers and SeBots. (At least it should be easier to crawl and index than JavaScript and Flash.
  2. What are the SEO (linking) implications?
I hope for a good discussion while I am on holiday.

Last edited by kgun : 07-03-2008 at 02:13 PM.
Reply With Quote
  #2 (permalink)  
Old 07-03-2008, 03:40 PM
danlefree's Avatar
WebProWorld Member
 

Join Date: Jun 2005
Location: Seattle
Posts: 62
danlefree RepRank 0
Default Re: Advanced semantic linking and transclusion.

XML + XSLT already works quite well in major browsers, so the only reason to avoid creating content as you've posited would be spidering with some SE's (I somehow doubt that Yahoo has embraced this format, though I may be wrong).

I have not tested across Google, MSN, and Yahoo for regular content pages, however, I like to style my RSS feeds with XSLT (why bother having a news page *and* an RSS feed?) and I have not noted any problems there.

Google Base's flexibility should demonstrate Google's willingness to embrace "the future" - though I have a hard time seeing XML + XSLT catch on across the board any time soon. Putting together a functional and valid XHTML document or XHTML-generation application without abstracting the content and presentation is hard enough for most as it is.

The benefits - simplicity, reduction of irrelevant markup, semantic correctness, metadata inclusion - of moving to pure XML are definitely worth the effort, especially when the potential for sites to adopt standards which allow search heuristics to immediately identify key data comes to fruition.

Update: I might add that everything old will be new again in the blackhat arena - I'd expect that keyword spamming, tag spamming, hidden text, and all the other old tricks will see the light of day again (though I'd expect they'll also earn penalties faster than ever).
__________________
- Dan LeFree
Dan LeFree Consulting

Last edited by danlefree : 07-03-2008 at 03:43 PM.
Reply With Quote
  #3 (permalink)  
Old 07-03-2008, 03:52 PM
kgun's Avatar
WebProWorld 1,000+ Club
 

Join Date: May 2005
Location: Norway
Posts: 4,948
kgun RepRank 3kgun RepRank 3
Default Re: Advanced semantic linking and transclusion.

Quote:
Originally Posted by danlefree View Post
XML + XSLT already works quite well in major browsers, so the only reason to avoid creating content as you've posited would be spidering with some SE's (I somehow doubt that Yahoo has embraced this format, though I may be wrong).
I agree to that, but if you study the code above in more detail, you will see non standard linking - XLink with different roles given to links. In addition XPointer was not well implemented in the major browser last time I tried. May be Google are ahead of the other SE's and browser developers.

Quote:
Originally Posted by wige View Post
I have found that Google can crawl almost any link in an XML+XSLT site, be it a link contained in the XML file itself or a link generated by the XSLT stylesheet. This seems to me pretty impressive considering how uncommon this technology is at this time.
Please review my XML/XSLT site

Are you aware of this

XML driven site: Read here

sticky?

Quote:
Originally Posted by danlefree View Post
The benefits - simplicity, reduction of irrelevant markup, semantic correctness, metadata inclusion - of moving to pure XML are definitely worth the effort, especially when the potential for sites to adopt standards which allow search heuristics to immediately identify key data comes to fruition.
And especially for:
  1. Consistent document handling (XML Schema) in large companies and
  2. One (XML) source and many applications (XSL(T) transformations).
Reply With Quote
Reply

  WebProWorld > Search Engines > Search Engine Optimization Forum
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Advanced SEO question - need help back in 52' Search Engine Optimization Forum 19 08-31-2006 04:23 PM
Advanced Logo WPW_Feedbot Graphics & Design Discussion Forum 0 03-17-2005 12:30 AM
Advanced Blending WPW_Feedbot Graphics & Design Discussion Forum 0 12-28-2004 04:31 PM
Advanced Web Reporting ppayne Google Discussion Forum 2 08-20-2004 10:34 AM


Search Engine Optimization by vBSEO 3.2.0