Singpolyma

Technical Blog

For New Blogger : Blogger del.icio.us categorising, pinging, and trackback helper

Posted on

I have made some minor bug fixes to this script, as well as made it so that it saves the trackback URLs when you save a draft.

Some time ago I married Johan's del.icio.us and pinging script with my own trackback script into one new script. That script does not work on the new version of Blogger, and the trackback feature has been glitchy for some time. Outgoing trackback is still something we need on the new version of Blogger, and the pinging services provided by this script might even be useful on other blogging services. Del.icio.us posting? Now that we have labels? Well, Freshtags, my calendar widget, and just tag management in general, will work better if you use del.icio.us. If you disagree, this part of the script is optional.

This script does not overwrite the old script. Running both simultaneously will look dumb on the Blogger Classic interface (there will be duplication), but will not break anything. If you only run on the new Blogger, please remove the old script (if you have it installed).

Install the new script

Userscripts.org entry

90 Responses

Ariel

This is the update I've been looking for! Question, though: What do I need to do to make the del.icio.us tag field show up? I'm getting the trackback field, but no place for tag input. Thanks in advance.

Singpolyma

@Ariel – the del.icio.us link draws tags from the 'labels' field of the new Blogger :) no more need for a separate field!

Ariel

the del.icio.us link draws tags from the 'labels' field

That's genius. So will clicking on the labels take readers to the del.icio.us pages, as previously?

Ariel & Lindsay

I should probably clarify a little more. With the previous hack, I liked having the del.icio.us tags appended to the posts, and got a fair bit of traffic from del.icio.us as people launched from one post and then clicked around the index, related tags, etc. Any way that can still be done, in preference to Blogger labels? I have a pretty massive del.icio.us index for my blog which would take a lot of time to bring over.

Thanks again!

Singpolyma

To make the links point to your del.icio.us account, as previously, change the label-link generating code in your template to this:

<b:if cond='data:post.labels'>
<div class='tags'> Tags:
<ul>
<b:loop values='data:post.labels' var='tag'>
<li><a expr:href='"http://del.icio.us/USERNAME/" + data:tag.name' rel='tag'><data:tag.name/></a></li>
</b:loop>
</ul>
</div>
</b:if>

Ariel

Great! A tip that may be useful… I've found that by changing the "Tags" or "Labels" text to "Read more:" I get many more pageviews.

Brian

I've got it installed and the option to enter a trackback URL now appears on my Blogger (new Blogger) post page… but after I publish my posts I'm not seeing the trackbacks displayed in the posts I'm referencing. Is there something I might be doing wrong?

Tragy

I'm trying to use this script on New Blogger, but I can't have good results for the trackback feature… I can see the textbox where I put the urls to ping, but when I click Publish, nothing happens…

I write from spain, so my blogger account is using spanish language… I don't know if it's cause of this…

Any tips to follow?

Stephen Paul Weber

The ping is supposed to happen on the next page, it should show status. Are you using blogger FTP? I have not tested on the Spanish blogger, not sure if that's it. Does your Javascript console log any errors?

Tragy

I was fool… Since I'm not using del.icio.us, I was thinking that I had to click on cancel everytime I post, cause I don't have any name to enter on the diagbox… Now I know that I have to click OK on all diags, and it works fine…

Yeah, I look like a noob… :(

Sorry for bothering you… And nice work with your code, it works 100% :)

Paul

Doesn't seem to work for me. I get the new Trackback URL field, but when I click publish, I don't see the status line that it worked, and when I edit the post, the trackback URL is gone (field is empty again).

Stephen Paul Weber

@Paul — this script has not been tested with Blogger blogs not at blogspot.com. If you give me the contents of the JS error console (Firefox or similar) I may be able to fix it for you. The trackback box does not store the URLs, so that's normal.

The Old Vic

Hi,
I wonder if you can help – I am getting the same problem as Paul above. I have installed Greasemonkey and the widget for the new blogger. I get the new window called trackback but nothing happens. I put the address in the window plus /trackback but no trackback takes place as far as I can tell. Any advice would be much appreciated. Vic

Stephen Paul Weber

@The Old Vic – I have the same thing to say. If you blog is not at *.blogspot.com it may not work because I have no way of testing it in that environment. Send me the JavaScript console contents if you can and maybe I can debug.

Tor

Hey, thanks. I've been in a cryogenic chamber for six months, and am just now needing to deal with all this.

Paul

Oh, I'm sorry. How do I just install this to my blogspot blog?

I am just trying to have trackback to give credit to other blog that I have copied stuff.
Where would I paste this code in the html template?
Also I don't have or use delicious…

thanx
–Paul

JB

Ok, this is a really newbie question. I just got into the Trackback concept recently, so since I use the new blogger, I've been looking for something that works with it. I've found this script, so I've installed it (after greasemonkey) and it seems to be OK. When I post (or edit) a new article, the TrackBack field is there. Ok, now the stupid question: what should I put in that box? I've noticed that when I click on the TrackBack blue word, it asks me for my del.icio.us user. I don't know if this is necessary.

Thanks a lot in advance and sorry for such a newbie question.

Stephen Paul Weber

The del.icio.us information is ONLY for if you want to tag your posts on del.icio.us — nothing to do with trackback

Chris

Thanks for writing this script, but as you can probably guess I have a problem. It's the same as what Brian posted on 6/16.

I installed GreaseMonkey successfully. And I installed the script. I'm using New Blogger. I can see the Trackback box on my post template. I insert the trackback URL. I get a success message. I see the link in del.icio.us. But when I look at the blog I'm citing, nothing is displayed. My trackback doesn't appear.

Am I doing something wrong?

Thank you for your time.

Stephen Paul Weber

@Chris — if you are not putting the trackback URL it may or may not give an error. Make sure you are using the trackback URL, NOT the post URL (unless they are the same, which is rare). If nothing is displayed still that may have to do with haw their blog is configured to display things.

UsuárioCompulsivo

Backlinks e Trackbacks no Blogger (Parte 4)…

Continuando a série Backlinks e Trackbacks no Blogger, vou mostrar como enviar Trackbacks para blogues que não suportam Backlinks, usando o Mozilla Firefox*.Os Backlinks do Blogger, são totalmente aut……

LC

Thanks a ton for this SPW. A huge help to those who need to issue trackbacks out to others and are stuck at Blogger.

Anacher Forester

Stephen,

I've been using this script to great effect for some months now. Unfortunately, Blogger tweaked their system on April 18 and now The trackback box is now 3x as wide. It obscures most of the editing functions. Also, it seems to disable the "Preview" function. What gives?

-AF

Andy Beard

I have just been told that there is a problem now with a new update to Blogger that messes up the layout.

p.s. It is great to see the pingback from one of the people scraping me listed here and not my own article.

Anacher Forester

Stephen,

Any luck thus far in debugging your trackback script for Blogger? It worked so amazingly well for me until that Blogger update two weeks ago. I haven't been able to find a comparable script anywhere. :? (

Cheers,

AF

Anacher Forester

Uggh. Sorry for the comments in triplicate. Firefox crashed on me and my first comment did not show up once let alone twice!

-AF

Stephen Paul Weber

There was indeed a layout problem caused by some changes to Blogger – I have fixed them. If you reinstall the script you should be good :)

Anacher Forester

Hullo again Stephen,

FYI, another Blogger update earlier this month seems to have made this script a little buggy again. It's the same issue as last time.

Cheers,

AF

Wildy

Hi.

I installed the new script and now I don't get a trackback field at all. Any ideas?

I mean the script is enabled, and is for the correct blogger but I don't see the field. Did you remove it by chance?

Jenn

I was very excited to find this script but I've just installed it and don't see the trackback box. I have Blogger's backlinks enabled – does that matter?

Graham White

I'm getting "Component is not available" on the firefox error console with this script now, the error is from line 398. Wondering if I could have done something silly or if there's an easy fix before I look at debugging in more depth?

Graham White

Bonus, solved the problem. I forgot to mention I was getting the same issue where the trackback box wasn't being show, this was because the script was barfing!

The solution seems to be that greasemonkey have reserved the name onclick so if you rename the onclick function and the one line that calls it, this script works nicely again. For me that means changing line 360 to myonclick, and line 397 to myonclick too.

Graham White

You're welcome! Thanks for the script, works nicely!

Wildy

Does anyone else find the trackback box obscures the buttons on the editor when it autosaves?

Graham White

Yes, I find the same problem. I tend to work around it by disabling Greasemonkey while I write a blog post, then turning it back on again when I want to submit. Would be nice to have it fixed though. Perhaps the simplest fix might be to move the trackback box to the bottom of the page perhaps but I've not looked into what causes this one. Oh, for the record I'm using Firefox 3.0.1 but it happened on FF2 as well.

Stephen Paul Weber

@Wildy Blogger keeps changing their CSS slightly, causiong this problem :P If you or someone else fixes it I'll gladly apply the patch to the script :)

icang

wew,thanks for this script, it did help a lot , since blogger.com doesnt provide way to trackbacking. i notice that the trackback url will show my blog title not my post title ,is there anyway to change it so it will use the post title instead of blog title,thanks in advance

Anonymous

Hi Steve, thanks a lot for this. It works great but noticed a small bug: When typing a post, Blogger automatically saves the draft post every so often. When this happens, the trackback box moves to cover part of the formatting tools, so I'm forced to disable the script, then re-enable it for the box to go where it should, but when Blogger saves again, the box goes back and covers the toolbar. This make sense? I'm using FF 3.0.1 if it matters.

Graham White

Mr Anonymous, other people have reported this problem too (see above). I spent some time trying to solve the issue yesterday but I've so far been unable to determine what's causing the shift in position of the google RTF box. The only cludgy fix I could come up with was to increase the top padding of the RTF box itself to ensure it's always moved down the page slightly. If I find a decent fix I'll post it (as should anybody else) and I'm sure Steve will update the script.

rayagung

hello there,
i am a newbie here, i just wanna ask about to put a script for trackback to use in my blogger.
Im still confuse about that..
please tell me how more detail
thanx

Stephen Paul Weber

@rayagung not sure what you're asking exactly. This post in about a Greasemonkey script that allows you to ping other blogs with trackbacks from inside the Blogger interface. If you want to *receive* trackbacks, check out haloscan.

Anonymous

Hi. I installed the script just fine, and the trackbacks go through and say Trackback Complete, but they don't show up on the other person's blog. I've got my blog at blogspot.com. What do you suppose is wrong?

Eric Rasmusen

Hi. Thanks for writing this. It installs just fine, and send the trackbacks and says Trackback Complete, but then nothing shows up on the other person's blog, even after I reload the page. What might be wrong? Could it be a problem that I have haloscan set up for incoming trackbacks?

Stephen Paul Weber

@Eric what you use for incoming won't affect this script. Try sending a manual trackback to the same URL using haloscan. If that works, the script is broken, if it doesn't, the problem is on their end.

Anonymous

Thanks a bunch. Relieved to be able to trackback now.

Anonymous

hi there! I use the new Blogger and I installed Greasmonkey but then I installed the old script by mistake – how do I remove it so that I can install the new script? (you say above that if we use the new Blogger, we should remove the old script…)

Stephanie Gerson

hello! thanks so much for this script, but I'm having a few problems with it, and I couldn't find answers on your site:

1) on some sites, my trackbacks simply do not show up. why would that be?

2) when my trackback does show up on someone else's blog, instead of linking to my blog post, it links to a feed for my blog. see here, so strange:

http://www.zeusjones.com/blog/2008/message-v-subject-execution-v-idea/#comment-19570

3) sometimes the trackback just gives an error, that it was "spam" instead of "complete."

clearly I'm having lots of problems with this ;( feel free to respond here, via email, or via twitter (@stequoianie), though I'm sure you must be very busy!

Log of Archiver

Sending Trackback with Blogger…

Sending a trackback or pingback with Blogger is a highly requested feature. Stephen Weber had once wrote a Greasemonkey script to enable trackback in both old and new versions of Blogger with the adde……

Stephen Paul Weber

@Stephanie if the site doesn't support trackback, or if they have their theme setup to not display trackbacks, it might not show up. Not sure why it would link to your blog feed, blogger may have changed something that affects the way the GM script detects your blog URL. If you get marked as SPAM by the relying party, that's not really the script's fault.

Mr. George

I've tried to use it, and it says succesful, but nothing happens on the other website. I even tried a trackback to this, unsuccesful again…

DoFollow Blog

At first this script didn't work on my blog, but after trying to found the problems, I found that this script didn't work on newest version of blogger editor. Hope u can solve it.

Thank you

DoFollow Blog

Ouch.. still didn't work on my blog. there is no status description after I publish my post. And when I look to the blog that I'm trackback I didnt see my link there.

Stephen Paul Weber

It may be that they've made changes to the interface. If you or someone else writes a patch I'll probably incorporate it.

RE the trackback, are you sure you put in the trackback URL, not the URL to the blog post? Those are basically never the same thing.

Anonymous

11/13/2009: tested with the NEW blogger editor, not work. OLD blogger editor works. I submitted a trackback here. No result yet.

Matt

I found that the 11/13/2009 this script "seems" to work with the blogger's OLD editor for posts, not with the new editor. Sent trackback here, no result yet.

Matt

And, tested with another wordpress blog, Yes, the "new script" here works with the "old" blogger editor 11/13/2009. Thank you for publishing it!

Abhigyan

Hi Stephen,

I don't know exactly what I'm doing wrong here. I have installed Greasemonkey on Firefox as well as your latest script. But when I publish a post, I am not getting anything at all. Some people have reported getting a non-working trackback text area, but I am not even getting that. Any help would be appreciated. I really want to use trackbacks on bloggeer.

Thanks

Anonymous

Ditto what Abhigyan said – no trackback box is showing up, even after installing Greasemonkey & the script.

GoogleTech

I'm having the same issue – no trackback box is showing up at all. I've got the script installed and enabled in Greasemonkey… any solutions?

Stacey

Hi Stephen,

I just found your trackback script for blogger. I installed GreaseMonkey and then installed your script but nothing is happening. I must seriously be missing some steps. I tried looking for detailed step by step instructions but can find none on your blog. Could you please assist me? My blog is at http://petwithallergies.blogspot.com.

Thanks in advance for your assistance. I will also try emailing you directly.

Stacey

Stephen Paul Weber

@Stacey @GoogleTech @Anonymous Blogger has probably changed something so that the place the script was hooking in before is no longer there. I am on vacation right now, but will look at the code first chance I get (hopefully).

MoDeR pLaNeT :)

Trackback on Blogger blog…

For anyone trying to enable trackbacks that are sent from your blog to other blogs I recommend reading blog from Singpolyma who made a useful trackback script that uses Greasemonkey and works for Blog……

Leave a Response