Saturday, February 11, 2012

Archives: June 2005

A Greasy Day Saturday, June 25, 2005

Today's forecast includes 90 degree temperatures with high humidities. Along with some greasy tidbits for Bloggers and Greasemonkey fans.

In my previous post I gave a shout out to the Greasemonkey script that works with Blogger, del.icio.us, and Technorati to give us Bloggers the ability to categorize our posts. Anyways, I redid the script a bit to work like my Link Field implantation, except now you will insert your tags through the new input field displayed below your post textbox.

Note that the only difference between FreshBlog's implantation and mine, is that mine uses the Link Field (Settings->Formatting) in Blogger to stow the tag list. Instead of adding the tags to your post body in the textarea.

Greasemonkey file: http://saturn.walagata.com/w/pacetua/bloggertags.user.js

Now only if I knew enough javascript to modify the Link Field itself.

Geasing Blogger Saturday, June 25, 2005

I was informed of another type of tagging method for Blogger by John (FreshBlog) that uses the Firefox plugin, Greasemonkey. May be an interesting subject to look into.

Blogger Addition: Image Upload Friday, June 24, 2005

Blogger has just released an addition to their blogging tools- an image uploader. Read more here.

Blogger Categories Revamped Thursday, June 23, 2005

I really hate... er... dislike the fact that Blogger does not support categories. So with the passion to improve, I have ran around the net looking at how others have accomplished this.

The most distinguished method I have found went beyond categories by implementing the tag theory with the help of del.icio.us. Looking at BlogFresh's implementation, I began to wonder if there is a more automatic sequence. And yes, I believe their is one.

BlogFresh uses a tagging script that generates an HTML string that you manually insert into your page. Well, I'm lazy. So I allowed for the Link dialog to be displayed (Settings->Formatting on Blogger) and rewrote the technorati delicious tagging script to automatically insert the HTML string into the Link input. Where upon, in your template you place the following code within your tags:


<$BlogItemUrl$>


This will out put something of this nature:

Cuban, Cigars, Liberal

But of course the links will be to your del.icio.us tag.

Directions:
  1. Get a del.icio.us account.
  2. Allow the "Link Field" to show (Settings->Formatting) in Blogger.
  3. Edit your template by pasting <$BlogItemUrl$> somewhere between your tags.
  4. (with Firefox) Right click on your Bookmark toolbar, select "New Bookmark", use whatever name you want, and paste the following into the "Location" section: javascript:(function(){var a='';var t=prompt('Enter Tags:','');var tr=t.split(' ');for(var i=0;i 0){a+=', ';}a+=''+tr[i]+'';}document.stuffform.url.value=a;})()
Okay, we are all set up.

Let's say you're going to post something. This post of yours is about life, liberty, and happiness. So click on that Bookmark you created on your Bookmark toolbar and you should be prompted for some tags. Write out your tags (tags cannot contain spaces because they are separated by spaces and del.icio.us uses only one word tags). By clicking Okay, you should see your Link input light up with text.

Now post you wonderful post.

However, we are not done yet. You now have to go to your post page and have del.icio.us tag it with your tags.

Enjoy.

I did not write the Javascript, only modified it. Thanks goes to Ted Ernst.

No comments:

Post a Comment