Last night I added the Yahoo MyWeb button to the end of each post. The screenshot shows where you can find it (next to the “Listen to this post” link). Clicking this button lets users tag and save posts they find useful to their Yahoo MyWeb space. Don’t like how we categorized something? That’s fine, you can tag it however you want in your space and search it in the future through your MyWeb space.
I’ve been asked a few times how I added this to each post so I thought I’d whip up the instructions for the different blog engines we are currently using. Those instructions are below and I also add information on some other blogging clients. This post will be updated as I add more instructions for other blogging clients or links to others who have shared the instructions.

Wordpress
1. In the WP admin area, navigate to the “Presentation” tab.
2. Choose “Theme Editor”
3. Choose “Post Template”
4. Find the feedback section of the code that looks like this:
and add the following MyWeb JavaScript code directly after this:
<script language=“javascript”>
yactions.buildButton( ’save’, ‘My_Web’ );
</script>
5. Click “Update file” and the MyWeb button should now appear on every post.

Blogger
1. Login to your blogger account.
2. Choose the “Template” tab.
3. Find the post-body code that looks like this:
<Item Page>
and immediately after this code, add the MyWeb button code.
4. Choose to “Save Template Changes”
5. Republish your entire blog so all posts are updated with the button.
6. See example here

Pivot
1. Login to the admin area.
2. Click the “Administration” link.
3. Click the “Templates” link.
4. Choose the on the entry_standard.html template or the template you used for the main posting area.
5. Find the following code:
and immediately BEFORE the [[comments]] tag, add the MyWeb button code. In my Pivot blog example I wrapped the code in p align right so the button would show up along the right side at the bottom of each post like this:
<p align=“right”>
<script language=“javascript” src=“http://sm.feeds.yahoo.com/Buttons/V1.0/yactions.js”></script>
<script language=“javascript”>
yactions.buildButton( ’save’, ‘My_Web’ );
</script>
</p>
[[comments]] [[commentform]]
6. Save changes.
7. Rebuild All Files by clicking on the “Maintainence” link and then choosing “Rebuild All Files”

TypePad
Researching/recording how this can be done. If you know how to do this using this system, please post in the comments area so this can be updated.

MovableType
Researching/recording how this can be done, if it can be done. If you know how to add this using this system, please post in the comments area so this can be updated.

Radio Userland
Researching/recording how this can be done. If you know how to add this using this system, please post in the comments area so this can be updated.
No JavaScript Allowed
Some blog systems, mostly third party free hosted blogs, do not allow any JavaScript inserted into their templates. Some don’t even allow any template customization, so most likely there is no way without some special hack to add the Yahoo MyWeb, or any other type of JavaScript. The reason they do this is to avoid subjecting their users to malicious code, but unfortunately this also cripples a lot of useful code. These free third party blog systems include:

Yahoo 360
I’ve added a comment on the Yahoo blog asking them to please add this as a function. Seems like it should be a given for their own blog system, yes? If you know some other way to do this, then please use the comments/trackback and share.

Opera
Know how to do this? Please use the comments/trackback and share.

MSN Spaces
Know how to do this? Please use the comments/trackback and share.

AOL Journals
Know how to do this? Please use the comments/trackback and share.
Your blog system not listed?
There are 100+ different blog systems out there at least, so to receive instructions for your blog system you have two choices:
1) provide me with a test account so I can work out how to do it, and/or
2) provide the instructions in the comments or via trackback.
I always enjoy checking out new blog systems, especially if they are written in PHP. Happy coding to you!

[…] Update 10/28/05 8:54am PST: Added step-by-step instructions for how to add the MyWeb button to various blog systems. New! yactions.buildButton( ’save’, ‘My_Web’ ); […]
on October 28th, 2005 at 10:51 am | #Link Comment