What's in your <head>?

by chris 12/12/2007 2:25:03 PM

Blogengine.Net has an awesome feature that allows you to place code in both the header and in the bottom of the site.master page without having to actually edit the site.master page.

Labeled HTML head section (for the header section)...
HTML Head Section

and Tracking script (for the body section)...
Tracking Script

I would bet that many people don't realize the power of this feature.  One big benefit of using this feature is that it can reduce the amount of effort it takes to switch between themes, since you don't have to copy and paste your code into each theme.

So this brings me back to the topic at hand... What's in your <head>?  Here mine:

<!-- ATOM Feed -->
<link rel="alternate" type="application/atom+xml" 
  title="Chris Blankenship's Ramblings - Atom" 
  href="http://feeds.feedburner.com/DSCODUC?format=atom" />
<!-- RSS Feed -->
<link rel="alternate" type="application/rss+xml" 
  title="Chris Blankenship's Ramblings - RSS" 
  href="http://feeds.feedburner.com/DSCODUC?format=xml" />
<!-- Click Tracker -->
<script type="text/javascript">
<!--
    function trackclick(element)
        { if(element.href.indexOf('redirect.ashx')==-1)
                element.href='redirect.ashx?url='+element.href }
// -->
</script>

And let's not forget the body section:

<!-- Google scripts -->
<script src="https://ssl.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-......-.";
if (typeof(urchinTracker) == 'function') {urchinTracker();}
</script>
<!-- Snap Shot -->
<script type="text/javascript" 
src="http://shots.snap.com/ss/...../snap_shots.js?override=1&shots_trigger=icon">
</script> <!-- Project Honeypot --> <div style="display: none;">
<
a href="http://www.dscoduc.com/mecca.asp">magazine</a>
</
div>

Add comment


(Will show your Gravatar icon)  

biuquote
  • Comment
  • Preview
Loading




Powered by BlogEngine.NET Theme by Mads Kristensen Hosted by 1and1 Hosting Sign in
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way. © 2008 Chris Blankenship

DSCODUC on Technorati  

Stop Spam Harvesters, Join Project Honey Pot   This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License  

Welcome to my blog

Welcome to my site

Villainy wears many masks,
none of which so dangerous as virtue…



LinkedIn   GeoURL

Recent Comments

Comment RSS

Wordle Gallery

Shelfari Book Library