So you want to have Topics/Categories in Blogger...It's easy... once you've done all the hard stuff.
[UPDATE: As with most things, there are more than one way to do Topics/Categories... See the comments for this post for more options. Thanks, Everyone! JBH]
As has been posted elsewhere on Blogger, the way to go about this is to have a separate blog set up for each Topic you wish to have. For example, you'll notice that I have 7 topics (when this entry was written) listed on the left sidebar. If you hover over the links, you'll see that each is actually its own blog ('Home' is the main blog).
- Home: http://billyjoejimbob.blogspot.com
- Advice: http://billyjoejimbob-advice.blogspot.com
- Beards: http://billyjoejimbob-beards.blogspot.com
So, whenever you want to set up a new topic, you simply click on the "GET YOUR OWN BLOG" link at the top right of the screen, then follow the instructions below and your new topic will show up on your main blog.
Set up "Main" BlogThe first thing you want to do is set up your main blog. Blogger will help you with all of that. I suggest setting up your topics with the same template and description as your main blog, so you'll want to make note of those things for the future setup of the topics.
Special settings for the main blog. Two things need to be set up for the main blog to "catch" the categories.
The first is on the blog itself. Go to Settings and then click on Email. You'll need to identify a Mail-to-Blogger Address and check the Publish box. Remember the address you set up; you'll need it for the second thing. This is the email address you can use to 'send' a blog entry to your blog for publish.
Next, you'll need to decide on an email box where you can route your topics back to main. I use Google's Gmail, which has great filtering abilities. You'll need to set up a filter that will take your blog topics and forward them to the "Mail-to-Blogger Address" you set up on your main blog. You'll have to experiment with the filter options to make sure only your blog entries are forwarded to the main blog.
(Note: When using Gmail, I also "Skip the Inbox" and give it a label of "Blog.")
Creating a "Topic" BlogNow, you're ready to create a topic. Simply create a new blog. Give it a name (don't include the main blog's name) and a URL (I recommend that you include the main blog's name).
Settings. Some things will be the same as the main blog, some things will be different.
Things that are the same: Description and Template. (We'll actually modify the Template in a future step, but you want the look and feel to be the same.)
Things that are NOT the same:
- Basic - Add your Blog to our listing?: No
- Comments - Comments: Hide
- Site Feed - Publish Site Feed: No
- Email - BlogSend Address: yourFilteringInbox@yourMailDomain.com
- Email - Mail-to-Blogger Address: blank
[UPDATE - 9 June 2006: I'm not sure if Blogger has been reading through this post, but they seem to have fixed the lag time, too. Thanks, Blogger! JBH]
Main v. Topic TemplatesAs I said, you'll want the Templates to look the "same," but there are some modifications you'll probably want to make to each to make the overall blog experience more seamless for your readers.
(For the purposes of these examples, I'll use "Billy Joe Jim Bob" as the title of the main blog.)
Title bar. The default page titlethat is, the title that's displayed on your browser title baris the name of the blog. In this case, the name of the blog is simply your topic name, with no mention of the main blog at all. To remedy this, you'll need to make the following edit in your template.
Change:Page Title. Next, you'll want to modify the Title that appears on the page. Search your template for '$BlogTitle' and you should find something that looks like this.<title><$BlogPageTitle$></title>
To:<title>Billy Joe Jim Bob - <$BlogPageTitle$></title>
(Aside. [The following is not required for posting topics, but is useful in understanding how the page will work. JBH] The <MainOrArchivePage> tags tell Blogger to only show this part on the main page or an archive page for the blog. Basically this means it will not draw this portion of the code on the "detail" pagesthe 'permalink' pages. In the above case, what that means is that the BlogTitle is not a link on the detail pages, but IS on the main and archive pages. I didn't like that "functionality" so I removed those tags from this section altogether.)<h1 id="blog-title">
So, here's how that might look, showing the main blog title along with the topic. Note that I've chosen to make the main blog title be a link to the main blog.
Change:Comments. Since you've hidden comments, you'll want to point your readers back to the main blog to leave comments on the post there. I haven't yet come up with an algorithm for pointing directly to the comments form of the given entry on the main blog, so I've simply added the following after the section that begins with 'posted by...'<h1 id="blog-title">
<a href="http://billyjoejimbob.blogspot.com">Billy Joe Jim Bob</a> - <a href="<$BlogURL$>"><$BlogTitle$></a>
Topics in sidebar. One last thing you'll probably want to do is add your topics to the template. Look for a line that looks like this:<MainOrArchivePage>
<a class="comment-link" href="http://billyjoejimbob.blogspot.com">Comment from the Home page</a>
<!-- Begin #sidebar -->Under this lineplacement at your discretionyou'll add something that looks like this:
(Caveat. Whenever you add a new topic, you'll need to update this section on all of your topics and the main and republish all of them.)<h2 class="sidebar-title">Topics</h2>
<li><a href="http://billyjoejimbob.blogspot.com"> Home</a></li>
<li><a href="http://billyjoejimbob-advice.blogspot.com"> Advice</a></li>
<li><a href="http://billyjoejimbob-beards.blogspot.com"> Beards</a></li>
<li><a href="http://billyjoejimbob-poetry.blogspot.com"> Poetry</a></li>
<li><a href="http://billyjoejimbob-reading.blogspot.com"> Reading</a></li>
<li><a href="http://billyjoejimbob-scrapbook.blogspot.com"> Scrapbook</a></li>
<li><a href="http://billyjoejimbob-squib.blogspot.com"> Thoughts</a></li>
One more thing. One problem I've noticed with this methodat least when using Gmailis that each post messes up the formatting on the main blog and you have to edit the post there to fix it. Unfortunately, Blogger sends <head> and <body> tags with the post to the BlogSend email address, and, unfortunately, Gmail just passes it on. What happens is that the HTML for the blog page then has two of each of these and it causes the Blogger NavBar to get hosed.
To fix it, edit the post in the main blog and remove those tags. Publish and it'll be fixed.
[UPDATE - 5 June 2006 Blogger has removed the head and body tags when posting to the BlogSend email address. Thanks, Blogger!! JBH]
SummaryHaving topics is a nice-to-have that Blogger doesn't offer. This is one way to make it do it. It's not a trivial process for the blogger, but it does offer some benefits to the reader.
Addenda and Errata. If you come up with some better processes to make this flow more smoothly, please let me know and I'll modify this entry on my blog. Likewise, if something is unclear or doesn't work the way I stated here, please let me know and I'll fix it.
As it has some value to many using this service, I will place a high-profile link on my blog so that it will always be easily accessible and edits will be easy to find.
Posted by Jim Bob Howard to Advice at 12/7/2004 08:22:02 AM