New BlogEngine.NET Widget: Quote of the Day

-   Jan 16, 2008 -   BlogEngine.NET, Development, Screencasts -   , , ,

I love quotes.  I enjoy seeing new quotes and I like to save them if it is handy.  I used to have a text file of quotes I collected, but it was lost in the great hard drive crash of 2007. As I do enjoy quotes, I made a BlogEngine.NET widget for use in themes for collecting quotes and displaying a new one everyday.  I've been using it for a few months now and I'm finally getting around to sharing it with the BlogEngine.NET community. "Uhhhh, ok, Al.  So you what exactly are you giving me?" Great question.  I'm sharing a widget (or control) you can add to an existing theme.  Yes, this will only help someone who is interesting in working on modifying themes.  I'll likely release this theme, Refresh, with the control embedded in the coming days, but until then, you get the widget by itself.  The widget is simply a standard user control (an ascx file) and its code-behind file. Let me show you how it works.  I made a short (under a minute) screencast showing you how the widget/control works.  For those, to impatient to watch or just completely sick of my screencasts, here is the text version. As you'd expect, the widget shows you a new quote everyday from your collection of quotes.  It will pick a new quote based on when it was last displayed.  When you are logged in however, it gives you buttons to allow you to add, edit, delete, and navigate your quotes collection.  It is fairly simple.  No admin page, no hassle.  Just drop the control in your theme as you would any user control and it will work for you. "Wow... This is great.  I can just add this to my theme and my quotes will just magically be saved in my blog.  So where are these quotes stored?"  Another excellent question.  To keep things simple, they are stored in an xml file in your App_Data folder.  Widget data will be provider based in the next version of BlogEngine.NET, but for now it is not.  When the widget is first run, it will find that there is no quotes.xml file and it will create it for you. One thing I really like about this widget is that it is a simple piece of a theme.  It doesn't require you to install files in different places to use it.  I prefer to keep my blog add-ons as separate as possible from the rest of the blog.  (In other words, I think a theme should stay in its folder and not need files put in other places.  The same should go for extensions as much as possible.  This just makes updating my blog much simpler.) This widget works fine in version 1.2 and 1.3 and can be downloaded here.

 5 Things I Love about BlogEngine.NET

-   Jan 09, 2008 -   BlogEngine.NET -   , , ,

While I've very biased, I do really like BlogEngine.NET.  It is a fine blog software and handles my simple blog well enough.  However, there are a few features that are extremely nice and I wanted to take a moment to highlight them and make sure you are taking advantage of them if you are a BlogEngine.NET user. 1. Extensions Rock When Mads Kristensen first introduced Extensions, I thought it was a cool idea, but I didn't really appreciate the power they could have on my blog.  Since almost everything the blog does has an event, it is so easy to extend the software to do whatever you can think for it to do.  Additionally, you can share that code with other BlogEngine.NET users or use extensions others have created to really enhance your blogging experience.  In the past few months, I've put together 2 extensions for my own use and have used a number of extensions that others have created and made available on the web.  (Yes, I'll likely be making my extensions available soon, but you'll have to wait until then to learn what they are.) If you haven't looked into them, check out this list of available extensions to get a taste of what they can do. 2. Complete Comment RSS While I don't have a ton of comments to deal with on this blog, I never really liked getting comment notification in my inbox.  I get enough emails and it just wasn't an ideal place for me to get notified of comments.  I was thrilled when BlogEngine.NET put together Site Wide Comment RSS.  By that, I mean one feed for all my comments.  Having it in my feed reader seems like the perfect place for them to be. In case you are unsure where this can be found, my comment feed is: http://www.nyveldt.com/blog/syndication.axd?comments=show BlogEngine.NET also supports individual post comment RSS and I love that too.  When I want to follow the feedback of something, I just add it to my reader.  It is awesome and is found in most blog systems. 3. Great Live Writer Support Windows Live Writer (or Live Writer as I think they are going by now) is a great tool for blogging and BlogEngine.NET has some great integration with it.  In each release of BlogEngine.NET, we've added more and more features that can be taken advantage of inside Live Writer.  Beyond the basics of writing posts, BlogEngine.NET even allows Live Writer to add new categories, handle tagging, add and edit pages, set slugs, and turn on/off comments.  Combine this with the great plug ins available for Live Writer and you've got a handy blogging tool. If you don't use Live Writer yet, you are really missing out. 4. Pages are first class citizens While a blog is typically made up of post, pages can be an incredibly handy thing to have.  In a personal blog like this one, it can make for a fine About me page, resume, or nice place for articles.  However, they can be used more extensively and there really is no reason not too.  They are not a side show in BlogEngine.NET. Pages can be set to be your front page and even link into related posts.  They are searchable and can really fill out your site nicely.  (While I don't use pages much in the blog, I do have a BE site that takes much better advantage of pages.) 5. Theming is very easy I've had a bunch of different blog systems over the years and I've done a little theme work in a few of them.  BlogEngine.NET is just so easy to use.  If you've had any experience working with ASP.NET (and I mean any) you can quickly figure out how to move things around and make them look more how you'd like.  If you are a bit more adventurous, you can convert a free template or even make your own theme without having a deep knowledge of BlogEngine.NET.  I remember being shocked that I was able to make my first BlogEngine.NET theme in a 2 hour window and it seemed I spent half that time making decisions on where I wanted items verses trying to figure out how to do it (and that was before I joined the dev team and had spent any time really looking through the code.) The next version of BlogEngine.NET will make customizations even easier, but if you've ever wanted a unique look for your blog, you own it to yourself to see how easy it really is now.  I made a theming screencast a while back that walk you through make one from scratch, talking through each step and it runs about 25 minutes.  If you start by copying an existing theme, you would likely cut your time in half.

 Improved Curiously Green Theme

-   Dec 08, 2007 -   BlogEngine.NET -   ,

It's been a while since I've posted any theme updates so today is the day.  In looking through the blog stats, it was surprising to find how popular this simple theme has been.  It might just be because it is the source code for my lengthy theme creation webcast, but it also might be because people like it. Anyway, I've made a few changes to the theme this time around.  First, Jack wrote and share a bug fix to make the header work properly in IE.  I appreciate the correction and added it in. Second, I changed the theme from fixed width to full width.  While I prefer the fixed width myself, I believe more people prefer the full width style (and have been asked about more full width themes).  I left a version of the css file with the fixed width (default_fixed.css) in the folder.  You can move this to default.css to restore the fixed width if you prefer it as well. You can download it here or from the BlogEngine.NET Themes page.

 The Monsters have Landed

-   Aug 09, 2007 -   BlogEngine.NET -   , ,

Over the weekend, while I was working on the BlogML support for BlogEngine.NET, I decided to take a break and do some blog reading when I ran across Alexander Schuc's MonsterID HttpHandler. I thought it was fun as well as a very nice and modular implementation.  Just add a few files to your project and then reference the new handler to display unique monsters based on your seed. I decided to drop what I was doing and implement it on my blog.  It didn't really fit with my Indigo theme however, so I made a new one as well.  So in addition to the MonsterIDs, I have a new theme as well.  I like it a lot so I'm glad I took the time to make the new theme to go with the monsters.  The new theme is based on 'Refresh' by styleshout. If you'd like to see your MonsterID, go ahead and leave a comment or head over to Alexander's site and check out his demo. We'll get this option included in the BlogEngine.NET sometime soon.  I've got to clean up my implementation and make some options for using it.

 Curiously Green Theme Update

-   Aug 09, 2007 -   BlogEngine.NET -   ,

While almost impossible to comprehend, the Curiously Green theme had a minor bug in the code behind that was pointed out on the BlogEngine.NET Issue Tracker today. I've updated the theme and have the new version available here on my site as well on the main BlogEngine.NET Themes repository. If you happen to be using that theme, please be sure to get the update. Download BlogEngine.NET Theme: Curiously Green 1.01