Atlanta Code Camp Wrap-up

Well, another code camp has come and gone! This year we had nearly 40 sessions and gave away a completely silly amount of swag. You can download the deck from my SharePoint Developer Survival Guide here.

I learned a few things this year including the use of twitter (my ID is DougWare if you want to see my inane drivel), a new gesture that uses Shift Left-Click, and how to play Rock Band.

A big ‘thanks!’ to our sponsors:

Wildermuth Consulting
red-gate Software
Windows IT-Pro Magazine
Addison Wesley
Code Magazine

See you tonight at the Atlanta .NET User Group meeting.

Atlanta .Net User Group Monday, March 31, 2008 at 6:00 PM



Networking and Refreshments 


Tutorial or Q&A Session
Extending Graffiti CMS with VS Express 2008




Technical Presentation 

REST and WCF 3.5

Speaker: Glen G. Gordon

The version 3.5 of the .NET framework introduces new web capabilities in Windows Communication Foundation, enabling developers to easily and quickly implement RESTful services. This presentation will examine webHttpBinding(the new WCF binding that enables the development of these services), as well as dive into the various configuration options. We will discuss the basic principles behind REST based architectures and illustrate the development of these services, as well as how to consume them in various technologies such as ASP.NET AJAX and Silverlight.

About the speaker:  Glen Gordon is a Developer Evangelist with Microsoft, and speaks about .NET around the country at user groups, conferences and MSDN Events. Originally from New York, Glen Gordon earned a degree in applied psychology from Georgia Institute of Technology, where he studied the learning process and how humans interact with computers. Glen joined Microsoft in 2004 and he has almost 20 years of experience as a software trainer and presenter. Glen lives near Atlanta with his wife and three children, and his hobbies include playing the piano and all things Disney.

Meeting Location and Directions

Microsoft Corporation
1125 Sanctuary Pkwy.
Suite 300
Atlanta, GA 30004
Directions to Microsoft


Registration is open: 4th Annual Atlanta Code Camp

Fellow Code Campers,
At long last, we are happy to announce registration for the 4th annual Atlanta Code Camp is now open.

What: All day geek fest focusing on code and not marketing fluff.
When: Saturday, March, 29, 2008 All day (doors open at 7:30)
Cost: Free! (If you are not satisfied, we promise a full refund.)
Where: Devry University in Decatur – 250 North Arcadia Ave, Decatur, GA 30030 (view map)
Speakers and Agenda: Currently being finalized. Check the website over the next week to see the finalized version.

To attend the event, you must register at the following link so that we can make sure to have food to feed you. If you don’t register, we can’t guarantee that you will be eligible for food or swag.
During the Code Camp, lunch will be provided at no cost to you. After the event, we are planning on gathering in a local eatery to continue any discussions which we were not able to complete by our 5:30 pm end time. Location information will be made available at the event.
The Atlanta Code Camps have historically "sold out" extremely rapidly and we don’t expect this time to be any different. Please register quickly to lock in your spot as we are capping registration and attendance due to facility limitations. If you miss the registration cap, contact to see if we can come to some other arrangement, otherwise you will have to wait until next year’s event. Don’t miss out.
We hope you can join us for this exciting and informative event.

FeedBurner Stats Pro and FeedFlare Code for a SharePoint Blog

I wrote about FeedBurner in an earlier post about how I track site usage on this site.

If you are a regular reader of this blog, you’ll notice that I recently put ads on the site. I really don’t expect to make any money off of them and I’ll probably take them down in a few months, but I use this site as a test bed for lots of things and I figure ads and SEO in general on public facing sites using SharePoint is something people need to know about and since we do consulting and training here at eLumenotion…

Anyway, I wanted to hook up the FeedBurner Ad Network along with Google AdSense on this site. AdSense was easy, but FeedBurner was a little trickier. Hooking up FeedBurner Ad Network requires the same script needed for FeedBurner Stats Pro, which tracks individual item usage. I never got around to including the Pro code into the site because I use two other stats packages in my quest to understand the plusses and minuses of different approaches and I can get that data from one of those.

To get the full-on FeedBurner service you need a script tag that looks like this:

<script src="" type="text/javascript" charset="utf-8"></script>

The tricky bit is to get the data for i in the query string.

I started out trying to use the SharePoint:ListItemProperty web control I wrote about in this post and it worked alright by passing the ID property to the control, but then I tried to update the Categories.aspx page using SharePoint Designer.

I right-clicked the ListViewWebPart and chose Convert to XSLT Data View and the conversion worked perfectly, except that the page no longer worked. No posts. Nada, just "There are no posts for this category". So… back to the drawing board. (Fortunately?), the convert to XSLT data view works seldom enough that I’ve gotten fairly proficient at modifying the ListView’s XML by hand.

I wanted the ad to appear directly above the footer links.

The unencoded script tag looks like this:

<script src=" MyFeedName?i={$HttpVDir}/Lists/Posts/Post.aspx?ID={@ID}" type="text/javascript" charset="utf-8"></script>

The encoded script tag I need to embed looks like this:

&lt;HTML&gt;&lt;![CDATA[&lt;script src=&quot; MyFeedName?i={$HttpVDir}/Lists/Posts/Post.aspx?ID={@ID}&quot; type=&quot;text/javascript&quot; charset=&quot;utf-8&quot;&gt;&lt;/script&gt;]]&gt;&lt;/HTML&gt;

If you spend a little time looking at the list view XML, this makes sense. It’s just some HTML encoded markup containing a CDATA section that gets rendered by the web part.

I needed to insert this in default.aspx, post.aspx, and category.xml using SharePoint Designer into the list view for the post body immediately before the post footer DIV.

Locate &lt;HTML&gt;&lt;![CDATA[&lt;div class=&quot;ms-PostFooter&quot;&gt;]]&gt;&lt;/HTML&gt; and paste the code for your site immediately before the first &lt;.

This portion of the XML is in the middle of the web part, so be careful to paste it into the right spot. You might also want to create a backup beforehand. 😉

Good luck!