Chris,
I know you asked this question a few years back, but for anyone else looking to add the rel value into their code to utilize repeat functionality in DOM scripting cross site, here it is.
In my example, I am using a single div id and style to point my rss to many different dynamic rss zones on a website.
Here is the html.
<div id="subscribe-to-feed" rel="link to feed" class="float-right darklink">
<a href="link to feed" class="medtxt">subscribe</a><span class="margleftten"><img src="img/feed_ico.png" width="14" height="14" border="0"/></a>
</div>
Here is the JS
function dEI(obj){
return document.getElementById(obj);
}
(used to make life easier if not using the Prototype Lib, where the same is $)
if(dEI('subscribe-to-feed')){
dEI('subscribe-to-feed').onclick = function(){
window.location.href = dEI('subscribe-to-feed').getAttribute('rel');
}
}
Conclusion:
This will allow you to use css,html, and javascript in your coding using the principles of semantic web standards. By separating the javascript, and css, you make your life as a coder easier, and can run a lot of real neat tricks in the background of your site, without having to tell the user looking through your html source what those are. Granted, anyone with Firebug running can look at your javascript, but then hey, you just look like a better coder).
In this example, I didn't want to have to wrap the rss icon in another link, and wanted the user to be able to click anywhere within the rss div region to get the the page, however, this is only good for people with javascript, so by adding a default anchor in the actual html, it depreciates rather well.
Scott Haines
California Website Design and Development - Standards Based Web Applications