2/19/2008 11:30:00 PM

New Theme

I took [exploited] a free theme, Artificial, from FreeCssThemes.org, and made it a BE theme. There's a hack here or there so I'm not sharing it until it's perfect [closer to], but hopefully you'll enjoy it.

Kick it! | del.icio.us | Comments (2) | Permalink

8/15/2007 7:31:00 AM

Google Analytics

I've been using Google Analytics for a few months now and I have to give it an enthusiastic thumbs up. It is an absolutely excellent tool that provides the average joe with everything he'd need to understand his site traffic. One of the items it provides is the name of the network from which many of your hits are coming. A moderately sized portion (5 percent or so) of my traffic originates from a mental hospital in my home state. While looking for the link to the hospital this evening to tell you about it I learned about the woman Dorothea Dix, after whom the hospital was named. This not only proves to me the effectiveness of the Internet (specifically, Google's toolset) but also that someone is watching me from a mental hospital. *Ahem*

Kick it! | del.icio.us | Comments (0) | Permalink

8/11/2007 10:20:00 PM

The Post-to-BE Bookmarklet

Bookmarklets can be pretty poweful in combination with blogging tools. They make it easy to post to your blog or to any social bookmarking application like del.icio.us. The del.icio.us firefox extension, in fact, is the inspiration for this section of my site. I adore the new .Net Blogging Engine tool I've been using, so I though I'd try to make it a little easier for the others of you out there who might be using this tool to have one-click publishing of links you find interesting to your own .Net BE site.

First and foremost, you're going to have to get your hands a little dirty. We're going to make a slight change to the way the "Add Entry" administration page in BE works. The code below should be added to the end of your admin/Pages/Add_entry.aspx codebehind. Feel free to omit the commentary if you'd like, it's in there just so I can remember the changes I make in my own installation of BE.

         /** -----------------------------------

         * Author: Brady Gaster

         * URL: http://www.bradygaster.com

         * Date: 08/11/2007

         * Description: Added support for incoming

         * posts via the Post-to-BE bookmarklet

         ** ------------------------------------

        if (!Page.IsPostBack && !Page.IsCallback)

        {

            if (Request.QueryString["beScrptltTtl"] != null &&

               Request.QueryString["beScrptltPostUrl"] != null)

            {

               string beScrptltTtl =

                      Request.QueryString["beScrptltTtl"];

               string beScrptltPostUrl =

                      Request.QueryString["beScrptltPostUrl"];

               txtTitle.Text = beScrptltTtl;

               txtContent.Text = string.Format(

                    "<p><a href=\"{0}\" title=\"{1}\">{1}</a></p>",

                    beScrptltPostUrl,

                    beScrptltTtl

               );

            }

        }

   } // Page_Load

Once you've made this change in your own BE installation you're ready to use the handy-dandy little Bookmarklet Builder below. To use the Bookmarklet Builder click here. When it opens, just change the value of the textbox with the path to your own "Add Entry" page. When you click the button, the Post-to-BE hyperlink will be displayed. If you're using Firefox, drag the link up to your bookmarks toolbar. If you're using Internet Explorer, right-click the link the Bookmarklet Builder creates and select "Add to Favorites."

Note: Either browser may prompt you that this type of link is unsafe. You can rest assured, the link the Bookmarklet Builder is safe. It just opens a web browser window with your own Add Entry page.

Now, you can click your new Post-to-BE bookmarklet when you're looking at something interesting and have one-click posting functionality. Happy coding!

Kick it! | del.icio.us | Comments (1) | Permalink

8/3/2007 4:55:00 PM

Extending BE

Just this morning I emailed Mads asking about the process of extending BlogEngine.Net. Then, this afternoon, Bruno writes an article about that very same thing. Synchronicity? Nah, Mads actually has two identities.

Kick it! | del.icio.us | Comments (1) | Permalink

8/3/2007 3:23:00 PM

On the Charm of Twitter

I have been wondering what it is that's so special about twitter for a few weeks now and have been completely unable to figure out why I'd ever want to use the service. I signed up but hadn't used it until last night when it occurred to me. Twitter is a tool that lets me chat in an asynchronous fashion with the rest of the blogosphere (or at least those who have chosen to follow me).

Kick it! | del.icio.us | Comments (0) | Permalink