Mod Title: RDFa Breadcrumbs for Google
Mod Version: 1.0
Mod Author: Robert Chapin, http://www.miqrogroove.com/ (miqrogroove)
Mod Description: Converts navigation breadcrumbs to XHTML+RDFa format according to Google spec.
Mod Compatibility: XMB 1.9.11
Mod Install Note: Before adding this mod to your forum, you should back up all files related to this mod.
Mod License Note: This mod is released under the GPL v3 License. A copy is provided with this software.

============================
STEP 1 : include/functions.inc.php
============================

Find this block:

function nav($add=false, $raquo=true) {
    global $navigation;

    if (!$add) {
        $navigation = '';
    } else {
        $navigation .= ($raquo ? ' &raquo; ' : ''). $add;
    }
}

============================

Replace it with this:

// Google breadcrumbs hack.
function nav($add=false, $raquo=true) {
    global $navigation, $SETTINGS;
    static $links;

    // Initialize the new breadcrumb array.
    if (empty($add) or empty($links)) $links = array('<a rel="v:url" property="v:title" href="./">'.$SETTINGS['bbname'].'</a>');

    // Parse link attributes.
    if (!empty($add)) {
        $add = str_replace('<a', '<a rel="v:url" property="v:title"', $add);
        $links[] = $add;
    }

    // Store output to global template variable.
    $glue = $raquo ? ' &raquo; ' : '';
    $navigation = "<div xmlns:v=\"http://rdf.data-vocabulary.org/#\">\n<span typeof=\"v:Breadcrumb\">"
                . implode("$glue\n<span rel=\"v:child\"><span typeof=\"v:Breadcrumb\">", $links)
                . "\n"
                . str_repeat('</span>', 2 * (count($links) - 1))
                . "</span></div>";
}


============================
STEP 2 : index.php
============================

Find this line:

    setCanonicalLink('./');

============================

Add code below:

    nav();


============================
STEP 3 : Admin Panel -> Templates -> "header"
============================

Find this:

<td class="nav"> <a href="./">$bbname</a> $navigation</td>

============================

Replace it with this:

<td class="nav">$navigation</td>


============================
STEP 3 : Admin Panel -> Templates -> "footer"
============================

Find this:

<td class="nav" style="padding-bottom: 1px" bgcolor="$altbg2">&nbsp;<a href="./">$bbname</a>$navigation</td>

============================

Replace it with this:

<td class="nav" style="padding-bottom: 1px" bgcolor="$altbg2">$navigation</td>

============================