New Intro 2/16/06:
This script broke when Firefox and Greasemonkey were updated. It has recently been edited to work with the upgrades, and links here now point to both this revised basic script, and to the original version (for anyone using earlier versions of Firefox or GreaseMonkey)
For a third, feature-rich script, see my how-to for Johan's script.
_________
It occurs to me that my posts about the Greasemonkey categorization method [1] [2] haven’t been especially clear & may not be all that helpful. I was writing as I was puzzling it out, & so my how-to wasn't especially definitive. However, since I’m finding this to be far & away the most straightforward strategy for tagging & categorising posts in blogger, here’s a detailed how-to.
You should:
- Use the Mozilla Firefox Web Browser
- Install the Greasemonkey extension for Firefox, which enables you to run open-source user scripts on specific webpages.
- Get a del.icio.us account.
- Install either Greasemonkey Script 3187: For Firefox 1.5 and GreaseMonkey 0.6.4 or Script 1240: For earlier versions of Firefox and Greasemonkey.
- Edit the tag-generating script to point to your del.icio.us account.
- Install the Technorati & Del.icio.us tag-generating script in your Firefox browser. The script runs on blogger “create / edit post” pages and adds a field to the form where you can type your tag / category keywords.
- Add a “my categories” link to your sidebar that points to your del.icio.us page
http://del.icio.us/username/
- Write a post, publish it, & bookmark it on del.icio.us.
So, step-by-step:
1 - Greasemonkey only works with Firefox, so you need to be happy browsing with Firefox. (let’s face it, why wouldn’t you be?)
2 – Greasemonkey is a Firefox extension that enables you to run open-source user scripts on specific webpages. To enable Greasemonkey, visit their website & click the install link. As Improbulus notes at A Consuming Experience:
if nothing happens and you see just below your tabs a message in horizontal bar that "To protect your computer, Firefox prevented this site (greasemonkey.mozdev.org) from installing software on your computer", you should click "Edit Options" at the end, then "Allow" and "OK" to allow that site to install software, then try clicking the Greasemonkey extension link again, give it a few seconds then click "Install now". Close and re-launch Firefox.)
3 – Visit http://del.icio.us/ and sign up for an account.
4 – With Greasemonkey enabled in your browser (step 2), choose a script and go to the page that displays the script content.
- Script 3187: For Firefox 1.5 and GreaseMonkey 0.6.4
- Script 1240: For earlier versions of Firefox and Greasemonkey
From the above-linked pages on Greasemonkeyed, click either Install this Script or Original Source Location (both seem to be the same .js file). Copy the text of the script into a text editor, and edit to insert your del.icio.us username instead of mine.
Save the script, & upload it to your web server. Then view the script in its new location, go to the “tools” menu in Firefox & select “install user script.” When prompted, select OK & you should see a message indicating that you’ve been successful.
5 - To tag your posts, simply click over to the HTML view in the compose window, type keywords in the new field that was added to your page by the greasemonkey script, and click “append tags.” When you publish your post, it will have tags included that are visible to Technorati & link to your page of bookmarks on Del.icio.us. As I’ve said here before (sorry to repeat…) Technorati tags don't have to link to technorati. They can link to del.icio.us and technorati will find them because of the rel: tag attribute.
Now only one step remains. Bookmark your post on Del.icio.us, into a del.icio.us account that only contains posts from your site & not from other sites. To bookmark on del.icio.us you can use either the bookmarklet that is available from the site, or a one-click link out of your post.
ok, have just been through your multiple posts on delicious, categories, greasemonkey et al. Sounds fab, cause I have needed this for a while- except I ahve one problem. I use firefox at home and IE at work (and that can't, unfortunately, change). So if i install greasemonkey, and I spot from work (which I do pretty often), then I am stuck.
SO either I wait to go home and tag my posts (which doesn't make that much sense because of the lag),
or I use the greasemonkey thing at home and the insert tag code when using IE?
Are those my options then?
(thanks for the how-tos, and thanks for hopefully replying to this query as well)
cheers
Best of luck with it!!
There's a difference between what you're doing (one click posting to del.icio.us) and the method described here. What this will do is generate tags in the body of your blogger posts that link to del.icio.us, so that when someone clicks one, they're taken to your del.icio.us page for that tag & shown a list of all the posts that you've bookmarked with that tag. This substitutes for the missing categories feature in blogger. Generating the tags in your posts allows your readers to link directly to the posts that you've tagged....
Step 4 instructions are incomplete. You have to go to the Greasemonkeyed page, then click either _Install this Script_ or _Original Source Location_ (both seem to be the same .js file). Then (at least on Mac Firefox) you have to explicitly copy the script into a text editor -- View > Source just reopens in Firefox.
Note the released Greasemonkey doesn't work in Deer Park Alpha2 (the next version of Firefox), and Greasemonkey TNG isn't out yet.
And here is my enhancement for the one-clink link. Hope it will help all of you.
One minor problem is that they're all showing up on delicious with this week's dates instead of the date I would prefer (the date that they were actually posted). I don't see any way around this. I suppose it'll work out in the long run with new posts. In the short run, you get what you pay for - until blogger finally decides to implement the feature correctly.
Thanks again.
Error: post_options has no properties
Source File: technoratianddeliciousta.user.js
Line: 332
Source Code:
332
What might I be doing wrong?
Get in touch again if this doesn't help!!
I noticed that on your hosted page, it shows the Install User Script as an available menu choice, but not when I point it to my script.
What can I be doing wrong?
whatever.user.js
or the browser won't know what it is & won't activate the install option.
-Craig
http://techstockblog.blogspot.com/
I think they updated Greasemonkey--it's working fine on the latest version of Mozilla. I'm loving this extension--thanks!
Any wish lists or suggestions on what would be a good way of adding that are very welcome indeed; I have put off acquainting myself with technorati time and again already, but expect it should eventually do both. Just not sure on how, whether tag duplication would be good, or if you want two separate Tags fields, and so on.
http://thegate.blogspot.com/2006/01/technorati-categories-technorategories.html
See the first paragraph of this post, from 12/2/05, where I point to a new script and a new how-to that will work w/ the Firefox update and the new Greasemonkey.
"Update 12/2/05: This method has been superceded. The Greasemonkey script for tags that I'm using & linking to from my is broken due to version upgrades of both Firefox and Greasemonkey. Ah... innovation. See my new how-to for an updated script that will work with Firefox 1.5 & Greasemonkey 0.6.4. "
Any idea what the problem could be?
You may need the new script etc, or perhaps you just need to be in the "edit html" side of the post window (instead of the rich-text editor) when you hit append tags. Try that first. If that isn't it, see the new how-to.
Not possible, as best I can tell, although I will happily ask the community to prove me wrong. The thing is, your byline elements are static & part of your template, & can't easily be changed each time you post without a 100% republish. The part that updates each time is the post content, & so the easiest way to tag is in that area.
I uploaded my script to my webserver and got my user.js to appear in my script manager on Firefox.
HOWEVER, when I use blogger and append the tag it still shows up with the [XXXchangemexxx] and I still have to erase that and manually write in my del.icio.us name!
So, why won't my script take over where the original is?
You have to edit your copy of the script that sits on your webserver before you install it. Open it in an editor and replace the **username** section with your actual username. Then save the script and reinstall it. Failing that, use Johan's script, which asks you for all the info the first time you run it.
http://blogger.com*
http://www.blogger.com*
http://www.myscript.user.js*
(by the way I shortened my script address so everyone won't know where it is)
I have tried removing the two blogger scripts leaving only mine but then I don't get any append field on my blog updater.
So, how do I get my blog site to see MY altered script and NOT the original blogger script?
Also, in the field at the left on my script manager I see two entries:
Technorati and Delicious Tags for Blogger2
myscript
Should I only see one? If so, which one.? Like I said if I get rid of the blogger stuff in the script manager and only leave my script, I get no append field wen I update my blog.
Thanks for all the help so far. This page is great!
To leave a line between the post and the tags, put a couple of hard returns at the end of your post (putting a blank line after your text) & leave your cursor on the last possible blank line when you click over to the HTML side. The tags get written in at the bottom of the content, so if there's a space there, they get written in after the space.
thanks! carolyn