I'd be a bit wary of building too many pages with AJAX for SEO purposes.
FYI - I have a JavaScript method that will create a breadcrumb trail on any
page. It is normally not a big headache to add JS to a CMS. See below.
/*
* Bread crumbs navigation
*
* @param separator - Character to separate directories
* @param index - Name of index page
*/
function crumbs(separator, index)
{
sURL = new String;
bits = new Object;
var x = 0;
var stop = 0;
var output = '<a href="/">Home</a>';
var currPage = '';
sURL = location.href;
sURL = sURL.slice(8,sURL.length);
chunkStart = sURL.indexOf("/");
sURL = sURL.slice(chunkStart+1,sURL.length)
while(!stop){
chunkStart = sURL.indexOf("/");
if (chunkStart != -1){
bits[x] = sURL.slice(0,chunkStart)
sURL = sURL.slice(chunkStart
+1,sURL.length);
}
else {
stop = 1;
}
x++;
} // while
for(var i in bits){
output += ' ' + separator + ' <a
href="';
for(y=1;y<x-i;y++) {
output += "../";
}
output += bits[i] + '/">' + bits[i] + '</a> ';
} // for
// Use index.htm as directory index if none given
if (!index) {
index = 'index.htm';
}
// Retrieve current page name if not directory index
if (getPageName().indexOf(index) == -1) {
currPage = getPageName();
currPage = currPage.substring(0, currPage.indexOf
('.'));
output += separator + ' ' + currPage;
}
document.write(output);
} // crumbs
Thanks,
Todd Allen
Estes Express Lines
tallen@xxxxxxxxxxxxxxxxx
Nathan Andelin
<nandelin@yahoo.c
om> To
Sent by: Web Enabling the AS400 / iSeries
web400-bounces@mi <web400@xxxxxxxxxxxx>
drange.com cc
Subject
2011-06-29 15:09 Re: [WEB400] what to use for my web
site
Please respond to
Web Enabling the
AS400 / iSeries
<web400@midrange.
com>
From: Jon Paris
I am a huge fan of using RPG to power your web site where it makes sense
(i.e. dynamic pages) but why would you bother reinventing the CMS wheel?
The first thought that came to my mind centered around the message posted
by Scott Klement in the RPG list yesterday about continuous improvement
which was quite inspirational. His message targeted self improvement, how
we do things, and what we create. It could also be applied to improving any
product or service, including CMS. With that in mind I began reviewing Word
Press, Drupal, and Joomla because they have been mentioned quite a bit in
recent discussions. I was considering whether another CMS might improve
upon what's already out there. I came back thinking that would be a tall
order. But there are a few features that we've implemented in our Web
portal which could be considered. One is the idea of leaving a virtual
bread crumb trail as you navigate a site; drilling down deeper. Without a
bread crumb trail it is more difficult to navigate back up to where you've
been or follow the path that got you where you are. Another idea would be
to use more
AJAX to build and update pages rather than traditional page at a time
navigation. Another idea would be to enable multiple sections of a site to
be open at the same time, and a way to toggle between them, rather than
traditional page at a time navigation. I don't know. Maybe you want to
better integrate static content and dynamic content and record management
and transaction processing and reporting and batch procedures all under one
roof. Just some thoughts.
-Nathan
For 80 Years — Delivering Solutions that Exceed Expectations.
This communication and any transmitted documents are intended to be confidential. If there is a problem with this transmission, please contact the sender. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.
As an Amazon Associate we earn from qualifying purchases.