Blogengine.net and Podcasting

 

I have recently been working hard to launch a new Podcast dedicated to the community, and in that spirit I wanted to use a community built blog to publish my new show.  I choose Blogengine.net because it supported enclosures in the RSS feed out of the box. One of the other really cool features I found was the ability to supply an alternate feed URL which allowed me to point new subscribers to my FeedBurner URL http://feeds.feedburner.com/UserGroupRadio.

This post is going to go over what I did to get it working the way I wanted:

The Requirements

  • Have only blog post that are in the Podcast category be in the RSS Feed for the show
  • Create post that had the mp3 file associated with it but not visible on the post.  We want everyone to subscribe.

The Solution

Getting the mp3 file to show in the RSS feed

It took me a few tries and a few forums post to figure out how to get the mp3 file to show up in the RSS feed.  It seems straight forward, use the file upload function when creating a new entry right?  Well, that didn’t work.

It created a URL that looked like this:

<a href="/file.axd?file=myfile.mp3">myfile.mp3 (70.00 bytes)</a>

After downloading and looking at the Blogengine.net source code I found out that  it actually parse all anchor tags with the following regular expression ‘<a href=((.|\n)*?)>((.|\n)*?)</a>’.  For some reason the auto generated URL from the file upload didn’t match.

So, I put in a complete anchor tag like so.

<a href=”myfile.mp3”>myfile.mp3 (70.00 bytes)</a>

And that worked great.  Sure, would be nice if that file upload had worked but that’s ok.  I really want to host my .mp3 files on my LibSyn account anyway, so that works out fine.

Setting up the RSS Feed

I like using FeedBurner for my feeds, it allows me to move my site and not force everyone to have to re-subscribe.  I also like to use a sing category so I can control what is in the feed versus what is available on the site. Blogengine provides a unique feed for each category, the id is a GUID so the feed for a category looks like this http://mysite.com/syndication.axd?category=7f1c7a73-7290-4637-83f0-804b8499a5345 (This is not a real URL).  Plugging that into FeedBurner allows me to use http://feeds.feedburner.com/UserGroupRadio to point to the category but the subscribers just use the FeedBurner URL.  FeedBurner also allows me to plug-in all the iTunes required tags without having to modify the Blogengine source.

Hiding the link in the post

Once I got the file showing in the RSS feed I wanted to make it so that you couldn’t see it in the actual post.  This may be a little overkill for some but I have learned from other shows I have done if I really want to know how many people are listening to the show I want them to subscribe.  I realize this might push some listeners away but it is a chance I am willing to take to get some accurate metrics.  And besides most of the listeners will be pretty tech savvy and will probably not have an issue.

So to hide the file form the post wasn’t too hard all you really had to do was remove the text between > and </a>.  My new URL looked like this:

<a href="/shows/UGR-00000.mp3"></a>

This solution was not exactly as smooth as I had hoped for but, still I was able get my show up and running without adding any extensions or having to modify the core code.

Thanks Blogengine.net for helping me get my show off the ground!

blog comments powered by Disqus

Calendar

<<  November 2017  >>
MonTueWedThuFriSatSun
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

View posts in large calendar

Month List