New to compact framework tutorials? Learn to write your first compact framework application here.
Zac Efron - Hairspray star and Mythbusters' Kari Byron at Celebrity Treat. Check out income and career information in Singapore.

Thursday, November 24, 2005

- Blogging_: categories categories categories in Blogger blogs

You can have categories in your blog in 5 minutes flat!

Looking to include categories in your Blogger blog? Check out these blogs that use my netcf2 hack:
...
Pop Culture Jeblog
an entertainment blog
reviews on music, DVDs, books...

Freshblog (mentions), Ubi Dubium Ibi Libertas (mentions), Brown Rab Girl Fish, Great Britain, not little England (mentions), 7CM Internet Marketing Blog (mentions), Gavin Corder's Blog, Pike Mot Samtiden, This is not my country, Tempus Fugit (mentions), Capital Defense Weekly, Em duas línguas (mentions), Graça Morais, par Lui, avec Lui et en Lui , For Myself and Strangers , idei de imprumut , A Rare View, Okazu, the truth hurts, Amateur Gardening, Forest Law, mckib•in•nihon, owsblog and many more - see my technorati ranking and google search.

Many bloggers have noticed that categories are not supported in Blogger. If you've used them before, you'll know categories are a good thing to have. In fact, many other blogging sites and popular blogware such as WordPress actually allow bloggers to create/manage categories and classify all their posts under them.

It is possible to have categories in your Blogger blog. A simple search (in Google or Blogger) shows that there are hacks to do it (see my previous post on which are the more popular techniques). However, these hacks are a little complicated for some, especially if you only need a basic category function. And most of these hacks rely on external sites to do the tagging, such as Technorati and del.icio.us.



If all you need is a simple yet effective categorizing feature in your blog, here's how you can do it in 5 minutes flat. I even wrote a script generator, so you can easily generate the code to add to your sidebar template (very much like adding new links or Adsense code). In the spirit of clarity, I rehash what I posted previously here:
  1. Visit the script generator here.
  2. Enter your blog URL in the first textbox. Leave out the "http://", and very importantly, leave out the "www." as well (this is because www.yourblog.blogspot.com is actually an alias to the actual yourblog.blogspot.com)
  3. Next, enter your first category in the next textbox.
  4. To add one more category, click on the link "click this to add one more category" and enter it in the textbox that appears. Repeat this step, if necessary, to add more categories.
  5. Finally, click the link "Generate code" to generate the code. Click on the code and press Ctrl-C to copy the code.
  6. Go to your blog Template and look for the section called sidebar. Then paste the copied code at the place where you want the categories to appear.
  7. Save your template and republish your blog.
  8. Note that this technique (or hack) actually makes use of Blogger Search to categorize your posts. Thus it is important that you name the categories appropriately so that the search results return the correct posts. The category name should contain keywords that appear in your post. One extremely effective way, which I use, is to either (1) prefix every post's title with its category name, for example, "Blogging: categories categories...", or (2) ensure that your post contains the category name somewhere.
  9. (You may need to republish your entire blog sometimes, to let Blogger index your pages.) If you find that Blogger Search is not searching your blog, check that you have activated the "Site Feed" and "Notify Weblogs.com" features for your blog (under Settings), and that your template does not contain a meta tag to stop the search bots from indexing your blog.
  10. You are done! If you like my technique/hack, please support this blog by making a small donation via PayPal (click the icon at the top left of this page). Any amount is appreciated. Thank you.
Categories: [Blogging_] Tags: [] []

192 Comments:

Blogger gregory pleshaw said...

Cool of you to have done this. I found you linked from...another blog (I think it might be called The Myth.) In any case, what I'm trying to find is a solution to the issue of tagging posts to reach the technorati index. Does this help with that?

thanks
gregoryp(tm)
of Lucid Dreaming

11/25/2005  
Blogger danchong said...

My solution doesn't do auto tagging to technorati yet, but I'll definitely look into this. Meanwhile, why not try my BlogSearch hack? And do let me know if it works well for you. Thanks!

11/25/2005  
Blogger Renaud said...

I think your script is very well thought : making use of Blogger Search is smart.
As it is a full text search, I'm not sure you actually need to put your category name in the title, which I find quite annoying. No?
The only weak side that may prevent me from installing this (I AM looking for a solution simple and powerful) is precisely the full text search : tags are supposed to have an added value (creating virtual grouping) that full text search does not.
What do you think ?

11/25/2005  
Blogger danchong said...

Yes, I agree with you that with full text search, I can place the tags within the body of the post. I might do this in the future, thanks. A problem that I faced was that if the word "blogging" appears in a post which I filed under "Getting started", it will appear in the "Blogging" search results. Which explains why I'm now tagging my posts with "Blogging_", "Getting started_", "Controls_" (notice the extra underscores), such that only the correct posts appear in my search results. Notice also that the search results display the posts in reverse chronological order, which is good.

11/26/2005  
Blogger Roberta said...

I am trying to use your code for categories, but can't get them to link back. I am using the category name in my title what am I doing wrong?

11/26/2005  
Blogger m. said...

Hi, I have also made a category solution for my blog, that presents the blogger search in my own design. It's a little irky to set up, but once that is done it is super easy to set up new categories (see the righthand menu)

http://pappmaskin.blogspot.com/2005/10/blogger-categories.html?tag=Music

One cool thing I found out recently is that I can use one of the Delicious bookmarklets for blogthis to insert tags that link back to my own site, and still be indexed by technorati, making it pretty complete.

I hope technorati will add a search that lets me limit a search on their site to indexed posts on my site, that way I could have even more control.

Check out the Filed in part of this post. http://pappmaskin.blogspot.com/2005/11/jeffpipascom-ajax-form-processor.html

11/26/2005  
Blogger danchong said...

Roberta, I've checked through all your blogs but couldn't find one that's using categories (maybe you removed it). My guess is that you have not "categorized" your posts yet. For example, if you have a "Super Recipe_" category, make sure that every post you filed under it has these keywords either in its title (which I'm doing for mine), or in its content text. Hope this helps.

11/26/2005  
Blogger danchong said...

Dear m., I've looked at your blog and indeed it's an amazing way to do categories. The good thing is that it brings the user back to your own blog, but I guess it might be a little hard for a newbie to set it up. I'd recommend intermediate-level Bloggers with a little JavaScript knowledge to give it a try! It's really amazing.

11/26/2005  
Blogger danchong said...

deviousdiva left a comment in my earlier post on categories:

"Well, I just want to say a huge thank you to you and your brilliant hack. It works, it was easy and I am more than happy."

I'm glad to hear I have a satisfied user!

11/27/2005  
Blogger Jebb said...

I've just added it to my entertainment reviews blog. It's a nice solution for someone like me who isn't an ace with code but is also trying to keep my blog from being completely generic in appearance. Good job!

thejebber.blogspot.com

11/27/2005  
Blogger danchong said...

Hi Jebb, thanks for using my hack. Nice entertainment blog you have! If you're interested in putting Google ads on your blog, I have step-by-step instructions at http://rightpoint.blogspot.com. Hope you find it useful.

11/27/2005  
Blogger ferrante said...

Hi Dan,

I'm having a similar problem that Roberta was having in that only one of the tags ("music") seems to pop up on the search, even after creating the tags and whatnot. Could you take a look?

hoargard.blogspot.com

11/27/2005  
Blogger danchong said...

Hi Ferrante, I'm responding to your search results problem (you said only 1 post showed up). It's just a minor problem. Try republishing your entire blog, and wait about 5 minutes for Blogger Search to index your posts.

Also, can I request that you keep the "generated by netcf2" link under the categories? Thanks!

11/27/2005  
Blogger Sampsa said...

Huge thanks for your great hack. I'd been looking for a possibility to categorise my posts in Blogger for quite some time.

At the moment I've the tags in titles but will probably move them to the bottom of posts.

Thanks again!

11/28/2005  
Blogger danchong said...

Dear sampsa, you're most welcome. I'm glad to know my hack is suitable.

11/28/2005  
Blogger Tahoma Activist said...

Thanks for this - I've got the categories set up. Now all I need is for the posts to actually go into the right categories. Can I just add the category names to the end of my post, or do I have to do something else?

11/28/2005  
Blogger danchong said...

Hi Tahoma Activist, the short answer is yes, you can "tag" a post by having the category name anywhere in your post. The long answer: to ensure your post shows up only under that category (and nowhere else), you have to make sure that all category names are "unique" enough, e.g. "local_news" (with the underscore). Experiment a little, and you will know what I mean. Thanks for using!

11/28/2005  
Blogger J. Scott said...

I am still having problems with my catergories. I took out the www. and I republished my blog several times in a row and republished the index and I still can not get them to work. Even before I had the catergories... I couldn't search in my blog it kept coming up with the sane error. Otherwise your technique is very easy to use. So if you have any ideas on how to help I would appreciate it. Thanks again for your help.

11/29/2005  
Blogger danchong said...

Hi J., I visited your blog. All the categories are working fine, except for "My Views on the News" which returned zero results. But there are no error at all. Have you tried searching other people's blogs?

11/29/2005  
Blogger Roberta said...

Dan,

Yeah, sorry about that I do see you have my site on your list. Thanks!

11/29/2005  
Blogger Roberta said...

Hey Dan,

Got to thinking, I'm looking for some code that will enable my visitors to print a specific post. Got any ideas you could help? Like Print this post? Let me know? copleydoes@yahoo.com, thanks.

11/29/2005  
Blogger Roberta said...

What do you think? Should I put a code on the individual post to "Print this" or just use my browser? You really seem to know your stuff. That's great. I'm just starting so not that good yet. Have you seen my site? What do you think, any suggestions? Not getting to many clicks on my Adsense, any suggestions? Thanks for your insight. I love collaborating.

11/30/2005  
Blogger Roberta said...

Dan, Since you solved my category dilema, I have an adsense code in my sidebar just above the catergories code but the ad doesn't show up. I am stumped. Can you help? Check it out, please?

11/30/2005  
Blogger danchong said...

Hi Roberta, thanks for your support. I've replied you at your blog.

11/30/2005  
Blogger Roberta said...

I figured it out. Adsense will only let you use 1 link add on your site. I was trying to use 2. Thanks for checking.

11/30/2005  
Blogger One Talent said...

Hi,
Thanks for this tip, it's really helpful. I have one question however, how do you change the font (and size) of the word "Categories" to match the other words on my blog? Thank you!

12/02/2005  
Blogger danchong said...

Hi Ole Tenant, I've responded at your blog.

12/02/2005  
Blogger Robert said...

This is great. Thanks for creating the script generator and writing the instructions on how to add categories. I was about to migrate to another blogging solution because I did not like the whole Technorati/del.icio.us technique. I posted about this on my blog and linked to your site.

12/03/2005  
Blogger danchong said...

Hi Robert, thanks for linking and blogging about my little hack. Appreciate it!

12/04/2005  
Blogger The Light-House. said...

Thanxs a million Robert It has a been a long wish to add Categories to Blogs.I hope Blogger does it some day,that too soonr rather than later.

12/04/2005  
Blogger Daniel said...

Hello, thanks for the great tutorial!

i do need some help though... i have followed along to the best of my knowledge and copied and pasted as much as i can figure ouit to cpoy and paste from other peoples "page source" and i still can;t get the search to locate any of the catagories i have created. any help is very very welcome! thanks!

my blog = http://italianart.blogspot.com/

12/04/2005  
Blogger danchong said...

Hi Daniel (of Italian Art Trip), I took a look at your blog. You're almost there. 2 suggestions:

(1) Try to republish your blog, so that it gets re-indexed.

(2) I also notice that you're adding underscores, i.e. the "_" character, to your post titles (which is good), but your categories code do not reflect it. Try adding the underscore to your code as well, for example, for the "Important Documents" category:
http://search.blogger.com/?ie=UTF-8&ui=blg&bl_url=italianart.blogspot.com/&x=0&y=0&scoring=d&as_q=Important%20Documents_
(Notice the underscore at the end).
Hope this helps.

12/04/2005  
Blogger One Talent said...

Hi Danchong,
Thanks. But How do I actually create the image for "Categories?"

12/04/2005  
Blogger danchong said...

Ole Tenant, you'll have to use Photoshop or a similar tool. Alternatively, if you know the person who created your template, you can ask him/her to create the image for you.

12/04/2005  
Blogger Robert said...

It might be helpful for users to know that a single blog post can be referenced by multiple categories. Simply add multiple category names to the post's title. For example, you may categorize a single post by adding "Blog_:" and "Getting Started_: in the title. Then the same post gets referenced by both categories. Not sure if you mentioned that or not - I did not see if above. Thought it might be helpful to some.

12/06/2005  
Blogger danchong said...

hi Robert, you are absolutely right! yes, a post can be filed under several categories. thanks for the tip.

12/06/2005  
Blogger dezzie said...

HI,

It doesn't seem to work for me. Could you help me pleeeeeeeeeeeeeeeeaaaaase?
Is it because I'm using multiple categories? or because I don't use the category in the title? 5By the way I've tried only one category + category in title and it didn't work either).
I feel like complete dumb, because it's working for a lot of people... and I don't see what's wrong. For the "art" category it even returns no result.
I'm really sorry to bother... would you mind having a look at my blog?
http://dizzydezzie.blogspot.com/
But anyway, thanks a lot for giving your tips :-)

12/08/2005  
Blogger danchong said...

hi dezzie, i went to your blog. Some categories seem to work. Did you try to republish your entire blog? Try it. Another way is to use the underscore to differentiate the category names from normal text, e.g. "art_" instead of just "art", like what I'm doing at my blog.

12/08/2005  
Blogger dezzie said...

Hi,

Yes it seems to work now... Some of them weren't working the day I changed everything an had the categories. Maybe it took longuer sometimes for the robots to visit pages.
But thanks a lot to you and I'll change "art" in "art_" to see if it's performing better.

12/09/2005  
Blogger Sean said...

I thought I'd filter my titles so that the category name did not appear in the title. Feel free to use or modify. This assumes your category titles end with '_:'

In your head tag add:
<script language="javascript">
function filterCategory(category) {
document.write(category.replace(/^.*_:\s*/, ''));
}
</script>

In the body replace the $BlogItemTitle$ tag with:
<script language="javascript">filterCategory('<$BlogItemTitle$>')</script>

12/17/2005  
Blogger Sean said...

Edit: You'll also need to replace $BlogPreviousItemTitle$ with the following

<script language="javascript">filterCategory('<$BlogPreviousItemTitle$>')</script>

12/17/2005  
Blogger danchong said...

Hi Sean, thanks for the cool tip. I now put the category names at the bottom of each post (instead of in the title), together with the technorati tags. Nevertheless, I'm very impressed with your creativity!

12/17/2005  
Blogger Michael Loflin said...

Very nice. I am at the "wait about 5 minutes" ...

12/19/2005  
Blogger Michael Loflin said...

It seems to take far longer than 5 minutes. Old posts are searchable. ... new ones (including my changes with the categories) aren't found.

12/19/2005  
Blogger danchong said...

hi Michael, try republishing your entire blog.

12/20/2005  
Blogger Ben Hammond said...

did everything as said and it doesn't seem to find the text in the blogger search... the blogger search itself seems to only find things sporatically... I have republished the entire blog and even waited overnight...

any ideas? www.benjaminhammond.com

anyways, thanks in advance for a great solution.

12/27/2005  
Blogger danchong said...

hi ben, i'm really not too sure, but could it be that your blog is not hosted on blogspot (even though you use Blogger to do publishing)? maybe blogspot blogs get indexed by the search engine bot faster. have you tried this hack on a blogspot-hosted blog?

12/27/2005  
Blogger Ben Hammond said...

ya, i guess that might be it... i made a new post today, and that one turns up, so i guess the blogger search just takes a lot longer to index old posts that aren't hosted on blogger... i dunno. i haven't tried this on a blogger hosted blog, but ive seen that it's working fine for everyone else.

nice solution anyways, well done. Have you thought about a way to add a number count next to each category to keep track of the number of posts in that particular one? it would require a lot more code, but i thnik with php or java you would be able to implement it ... but i guess that defeats the simplicity of this solution.

oh blogger.... you're so close...

12/27/2005  
Blogger Josh said...

Wow, thanks so much for this! It works flawlessly! What's nice is that it's such an easy mod I can just keep adding categories as need be (after republishing of course). It works nicely with the greasemonkey script I'm using to generate technorati tags. Since the tags are just text they act as keywords for each category.

12/28/2005  
Blogger danchong said...

hi Josh, thanks for using! i like your blog on Japan.

12/28/2005  
Blogger danchong said...

and Josh, your babies are so adorable!

12/28/2005  
Blogger Pam said...

Hi Dan, thanks so much for this elegant fix! You can see the result in my blog, where I have also given you rave reviews as of today's date :-)

1/01/2006  
Blogger danchong said...

hi Pam, thanks for your support. I like your very reader-friendly blog!

1/01/2006  
Blogger Mort Snerd said...

Dan, your category fix is awesome! I do have one question. Do you know how often they update the search data? It never seems to go through right away, or even after a day. It's hard to experiment with where to put the words when it doesn't show up in the results. And they don't respond to questions.

Thanks!
Mort
www.opinionstew.blogspot.com

1/05/2006  
Blogger danchong said...

hi Mort, thanks for your support. For my blog, a new post will take about 30mins or less to show up in the search results. This is speaking from my personal experience. I visited you blog - I can see that your latest post is showing up in the search!

1/05/2006  
Blogger yash gupta said...

thanks this is the only trick that worked on my blog so far

1/16/2006  
Blogger Taher Baderkhan said...

This is very interesting. I use the same technique for my blog. My technique however adds a bit more accuracy. The blogger search allows you to limit your search by looking only for keywords in the title. This way you can save yourself from two things: 1) you dont have to add the "_" to your categories. 2) If another posting has the category text in its body, it still won't show up under the wrong category.

I really like the generator form you have. Very smart idea.

You can check my posting at
this link

1/18/2006  
Blogger Tits McGee said...

Great hack! Thanks a bunch.

1/22/2006  
Blogger danchong said...

hi Mort, regarding how often does the Blogger search bot index your pages - my answer is that it really depends. For my case, it generally indexes pretty quickly, in a matter of minutes, but it can sometimes take much longer (like days).

1/22/2006  
Blogger DSoM said...

very cool :)

hi, tray to take a look here : HOWTO : Blogger Categories

I've found i very easy way to reach that but.

1/24/2006  
Anonymous Anonymous said...

I'm trying to set up categories using your (remarkably user-friendly) system, but it just doesn't seem to be working out for me. I've done everything you wrote about, as well as all of the suggestions from the comments that applied to my situation. It seems, though, that the blogger search function is just picking and choosing what it finds. Is there any way to make sure it searches the archives?

1/26/2006  
Anonymous Anonymous said...

Hallo, very nice suggestion.
On my blog all went everything good.
But it won't to show me the newest post.

PLEASE HELP. What can I do?

1/31/2006  
Blogger danchong said...

hi Anonymous, have you tried republishing your entire blog? Sometimes you might need to wait a little longer for the search bot to index your latest posts. Archived pages are indexed as well, so the hack should work on them too.

1/31/2006  
Anonymous Anonymous said...

@ danchong

i republished my blog befor I've posted that. It was a full republishing of the blog. One day moved by the same thing. It wont show any new posts. I tried with "words", then with "words_". All the same. Any solutions!?

2/01/2006  
Blogger danchong said...

Hi Anonymous, do you mind giving me the URL to your blog? I suspect it could be due to the site feed settings in your blog config.

2/01/2006  
Anonymous Isaac said...

This is a wonderful approach. I have oone idea, however, that might be helpful.

Is it possible to co-opt Blogger's "Link" field to contain the titles and convince Blogger Search to only look for content in that field?

This would allow one to simply list the keywords in the Link field and design their template to include the link field rather that having them in the body of the post. This makes it easier to customize their look (since you can just warp the Link tag with a div in the template) and you also needn't come on to the Foo_ convention to avoid conamination when an unintended keyword exists in the body of the post.

Can this be done?

2/02/2006  
Blogger Kel said...

Thanks so much for your method of adding categories to Blogger.

2/07/2006  
Blogger big said...

thank u so much!!!! you're the clearest easyficator i ever meet...;-)

2/09/2006  
Blogger Amit said...

I have another implementation of categories, check it out here.

2/13/2006  
Blogger G said...

Hi, this seems to be the simplest method I've come across. Very clever! However, I seem to have troubles implementing it on my own blog. I've reindexed many times, activated "site feed," and "notify weblogs.com." I did this yesterday and the search results turn up nothing. What did I miss/do wrong?

2/14/2006  
Blogger danchong said...

hi glaides1, your problem could be due to your blog URL setting. Check out my comments on related problems at here (scroll down).

2/14/2006  
Blogger G said...

I checked the page you asked me to and read through the comments twice, but still didn't find what you were referring to. What do you mean by "blog URL setting"? And how do I change this?

Sorry for being such a pain but I do appreciate your time and effort! Thanks.

2/14/2006  
Blogger danchong said...

Hi glaides1, do you mind giving me your blog URL (can't see it at your profile page). I'll try to figure out what's wrong.

2/14/2006  
Blogger JDoe said...

HI - this doesn't work for me. I get the categories up on the page, but they don't find anything. Note, not all are active now, but e.g. the one on Foreign aid should be able to find at least one post on foreign aid - - ? Any ideas?

http://globaldevelop.blogspot.com/

Thanks, W.

3/03/2006  
Blogger danchong said...

hi JDoe, have you looked at step 9 above? Try to check your blog settings. And try republishing all posts.

3/03/2006  
Blogger JDoe said...

Thanks, yes, and my settings should be fine, although I don't know what this really means : "that your template does not contain a meta tag to stop the search bots from indexing your blog"

Appreciate your help!

3/04/2006  
Blogger toybot studios said...

Dan,
This hack is awesome! I picked some categories, generated the code, pasted it in my sidebar and with a little tweaking, got the proper results! All told, probably took me less than five minutes to implement categories on my blog. Maybe later, i'll go through and tag all my posts, but for now, this works perfect!

Thanks, man! Just what the doctor ordered!

3/06/2006  
Blogger MM said...

Hi Dan

Firstly, you are really kind to share your knowledge with us ... I really appreciate it being a complete blog ignoramus.

I tried to follow all the steps you listed and added the tag at the bottom of my posts. It worked for the recent posts and some of the old ones but not all! I'd checked that my sitefeed is activated, republished the entire blog more times than I drank water today and that I'd tagged the posts I wanted categorised but almost 70% is still not being picked up. Am I being really daft and missing something?

3/06/2006  
Blogger danchong said...

hi MM, interesting comment. "Mana Makan" sounds like a Malaysian blog. I'm from a neighbouring country!

Regarding your posts not being picked up by the category search, I think Google (the blog search engine) has an old cache of your older posts. Type the following in Google, and click "google's cache", and you should see an old copy of your post without the tag: "thefeastcrusade.blogspot.com/2005/08/portuguess-kielbasa-kale-soup.html"

I guess all you can do is just sit back and wait for the Google's bot to re-visit and re-index your older posts.

3/06/2006  
Blogger toybot studios said...

Hi Dan,

Now that I have my feet wet with categories, I would like to try and get more advanced. I'm planning on tagging all my posts at the bottom with a "Filed Under Gundam_" or whatever tag. When I see this kind of thing in other blogs, they are usually hyperlinks to that category. Is there a way to create a tag that is a hyperlink as well?

thanks!

3/08/2006  
Blogger danchong said...

Dear toybot studios, sure you can tag your posts with hyperlinks. In fact the HTML code to these hyperlink-tags are what you added to your sidebar template. All you need to do is to paste these hyperlinks to the bottom of your post.

3/08/2006  
Blogger MM said...

Hi Dan

Thanks so much for the clarification. Sounds kind of complex but I will try it out. And I'm not in Malaysia but in Singapore! Thanks again!

3/08/2006  
Blogger toybot studios said...

Dan,
Thanks for the tip. I'm half way through tagging my posts with the hyperlink as you describe. Crossing my fingers. How often does Google re-index? My initial categories with the underscore are not pulling anything yet. Do I need to do anything else?

3/09/2006  
Blogger danchong said...

Dear toybot studio, I visited your blog (nice toys!), did a simple search (e.g. search for the word "the") and noted that the most recent searchable post is the one on Supersylph Yukikaze. This means that the search bot has not indexed the more recent posts. I guess you'll have to wait a couple of days for the bot the index your new posts, and then test your categories.

3/09/2006  
Blogger toybot studios said...

Hi Dan,

I think something is wrong with my categories. I've noticed that my lastest posts have been indexed, but when I click on the associated categories, the posts are not coming up? Do you think the code is broken?

3/10/2006  
Blogger Genevieve said...

I was able to get the searches up and running on my new recipe blog. I think it's going to work out nicely but it did take some thinking and tinkering to get it worked into the format, develop the keywords, etc. I could not get the Google search to pick up previous posts where I had edited in keywords. I noticed that it was picking up my new posts almost immediately -- apparently they are indexed when posted the first time. I didn't want to wait for the Google bot to pass by, so I deleted and re-posted the old recipes and they appeared in the search within minutes after being re-posted. I am glad I came across this in time to use it from the first in my recipe blog.

3/10/2006  
Blogger danchong said...

hi Genevieve, thanks for the info! I'm glad that it works for you.

3/10/2006  
Blogger danchong said...

hi toybot, I noticed something weird and I'm not sure if Blogger Search behaves like that all the time. Try to search for the phrases "the really" and "really interesting", both of which are found in your latest post. Only the first search will give you results. This means Blogger is not indexing your entire post, which also explains why your category keywords are not indexed.

This is strange. May I suggest you try to post a short test post and put in the links the same way you have done. If the test confirms that Blogger is indeed not indexing your posts in full, maybe you can include the category links at the top of your posts?

3/10/2006  
Blogger toybot studios said...

Dan,
So I am trying a test post with a bit of text and the tags / hyperlinks. Based on what you described, I tried searching on random phrases both in the top and bottom of the article. "Really interesting" did bring back a result, but not all the phrases did. It didn't seem to matter if they were located at the top or bottom. blogger does not seem to be indexing everything. Now i'm wondering if Blogger is just indexing what it deems as "keywords" as opposed to full text?

3/10/2006  
Blogger danchong said...

dear toybot, you should search phrases by enclosing with quote marks, e.g. literally typing "really interesting" in the search box, including the quote marks.

I did an experiment with another blog that has very long posts, and every single post was completely indexed.

I'm really not sure by Blogger does not index your posts in full (or maybe it needs time?).

As I suggested, maybe you can try putting the category links higher up in your posts.

3/10/2006  
Blogger toybot studios said...

Dan,
Your suggestion on the test post yielded interesting results:
The first two tags were indexed but only brought back the test post. The second two tags were not indexed and did not return any results??? How crazy is that?

3/11/2006  
Blogger toybot studios said...

But in fairness to Blogger:

1. Search is still in Beta
2. I think it might take a bit longer to index the complete post, older posts, etc. than I had anticipated
3. I will give it some time as you suggest and see what the results look like in a couple of weeks.

3/11/2006  
Blogger danchong said...

hi toybot, I think it's working for your recent posts now. Strangely, for your test post, it's indexed all the way till just before the last category (as of now).

Well, the good thing is your Edward Lee post is now completely indexed.

Guess the search engine takes a couple of days to fully index new posts.

3/11/2006  
Blogger Chris said...

Hi,
I think your script is really easy to implement and serves the goal. Unfortunately, in my blog it does not show results in some categories (eventhough I place the key word in the title