The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Blog Ratings

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Brad Wilson

Posts: 462
Nickname: dotnetguy
Registered: Jul, 2003

Brad Wilson is CTO of OneVoyce, Inc.
Blog Ratings Posted: Oct 24, 2004 2:12 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Brad Wilson.
Original Post: Blog Ratings
Feed Title: The .NET Guy
Feed URL: /error.aspx?aspxerrorpath=/dotnetguy/Rss.aspx
Feed Description: A personal blog about technology in general, .NET in specific, and when all else fails, the real world.
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Brad Wilson
Latest Posts From The .NET Guy

Advertisement

I added blog ratings to my site, via NewsGator Online. Adding them is free and simple, presuming you use a template system to build your blog entries.

For example, you can use this little snippet on my MovableType web log to insert the ratings:

<span class="BlogRating">Rating: <script
src="http://www.newsgator.com/ngs/ratings.aspx?rurl=<$MTEntryPermalink$>"></script>
</span>

By placing that inside the template for your posts, you can append the rating gadget. Everybody will automatically view ratings, and those who have NewsGator Online accounts (free) will also be able to rate and see their ratings.

One thing I don't like is how the baseline of the image lines up with the text, which is the purpose of the span above. With a simple little application of CSS:

.BlogRating img {
    position: relative;
    top: 4px;
}

This will shift the image down 4 pixels. I'm not fond of this technique, because I'd prefer something that did a guaranteed center based on font size, but I'll put up with it as "generally better than default" until I can come up with something different.

Unfortunately, I can't really embed this inside the RSS, because most blog reading tools correctly strip scripts to prevent nasty things.


This content is syndicated from The .NET Guy. The original post is Blog Ratings.

The opinions expressed herein are solely those of Brad Wilson, and not meant as an endorsement of or by any other individuals or groups. This syndication is provided for the private, personal use of individuals. Unauthorized commercial reproduction is strictly prohibited.

Read: Blog Ratings

Topic: Free VB (and a book)! Previous Topic   Next Topic Topic: You are Not Your Users article online...

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use