Help - Search - Members - Calendar
Full Version: Using Movable Type to manage your bookmarks
Movable Type Community Forum > Additional Resources > Tips and Tricks
virtuelvis
Many blogs use some sort of blogrolling service to allow someone to put links in the sidebar. I wanted something like that, but didn't want to rely on fetching data from an external source, so I figured Movable Type could do the job.

I created two small bookmarklets that send a category trackback ping to my blog, using the title and URL of the site I'm currently visiting.

Bookmarklets and full instructions available here.

The bookmarklet can easily be modified so it allows users of non-trackback-enabled blogging tools to send pings to entries in your blog.
nolageek
QUOTE (virtuelvis @ May 22 2003, 01:46 PM)
Many blogs use some sort of blogrolling service to allow someone to put links in the sidebar. I wanted something like that, but didn't want to rely on fetching data from an external source, so I figured Movable Type could do the job.

I created two small bookmarklets that send a category trackback ping to my blog, using the title and URL of the site I'm currently visiting.

Bookmarklets and full instructions available here.

The bookmarklet can easily be modified so it allows users of non-trackback-enabled blogging tools to send pings to entries in your blog.

Once I put in my trackback URL, how do install the bookmarklets? Not working for me.
virtuelvis
QUOTE (nolageek @ May 22 2003, 04:03 PM)
Once I put in my trackback URL, how do install the bookmarklets?  Not working for me.

The bookmarklets must be installed manually by using your browser "Add Bookmark" function, since string escaping prevents it from being expressed within the constraints of a normal {a href="..."}

And, oh - the bookmarklet doesn't really work with MSIE at the moment.

I'm considering writing a combination of the bookmarklet and a small PHP script, so it'll work in MSIE as well - I'll return with more information.
nolageek
QUOTE (virtuelvis @ May 22 2003, 05:09 PM)
QUOTE (nolageek @ May 22 2003, 04:03 PM)
Once I put in my trackback URL, how do install the bookmarklets?  Not working for me.

The bookmarklets must be installed manually by using your browser "Add Bookmark" function, since string escaping prevents it from being expressed within the constraints of a normal {a href="..."}

And, oh - the bookmarklet doesn't really work with MSIE at the moment.

I'm considering writing a combination of the bookmarklet and a small PHP script, so it'll work in MSIE as well - I'll return with more information.

Oh. That explains it. Unfortunately I'm within the 96% of my users that use IE. tongue.gif

VIncent
virtuelvis
QUOTE (nolageek @ May 22 2003, 06:45 PM)
Oh.  That explains it.  Unfortunately I'm within the 96% of my users that use IE.  tongue.gif

We're fast moving offtopic here, but if you have the opportunity, you should try either Opera 7 or Mozilla Firebird, as they offer both speed and feature improvements over MSIE.
nolageek
QUOTE (virtuelvis @ May 22 2003, 07:27 PM)
QUOTE (nolageek @ May 22 2003, 06:45 PM)
Oh.  That explains it.  Unfortunately I'm within the 96% of my users that use IE.  tongue.gif

We're fast moving offtopic here, but if you have the opportunity, you should try either Opera 7 or Mozilla Firebird, as they offer both speed and feature improvements over MSIE.

I dont like opera (bannerware schmannerware) and I have mozilla... but I tend to use IE for most of my surfing. Not sure why. There's just something about Mozilla I don't like.

Vincent
nolageek
Is it possible to make a bookmarklet for IE for this?
gramcracker
Try the new Firebird v0.6. It's excellent. Tabbed browsing or not, try the find-while-you-type feature.
nolageek
I know. But I *shudder* don't like Firebird. smile.gif

Plus, neither of these bookmarkets are automatically filling in the fields, so everytime I try to add a bookmark, I have to type everything in.. plus the javascript text fiends wont let me copy and paste the URL into the URL box. Bah.

This is what I'm using in my Bookmark Properties:

CODE
Name: Add Bookmark to Nolagay Links (Entertainment)
Location: javascript:var tburl="(http://nolagay.com/cgi-bin/mt/mt-tb.cgi/3)";var tbd="<html><head></head><body><p>Add bookmark:</p><form method='post' action='"+tburl+"'><p><strong>Title:</strong><input size='20' type='text' name='title' value='"+document.title+"' /><br /><strong>URL:</strong><input size='20' type='text' name='url' value='"+location.href+"' /><br /><strong>Excerpt:</strong><textarea name='excerpt' rows='3' cols='30'></textarea><input type='submit' value='submit' /></form></body></html>";var x="w=window.open('','','width=300,height=200');w.document.write(\""+tbd+"\");w.document.close();";void(eval(x));


Note that I've tried using both
CODE
tburl="(http://nolagay.com/cgi-bin/mt/mt-tb.cgi/3)"

and
CODE
tburl="http://nolagay.com/cgi-bin/mt/mt-tb.cgi/3"


I'm using Firebird 0.6

Windows 98

Thanks!

Vincent
drew
do you know of a way to edit the title or excerpt once it's in the system? i tried editing the xml file directly, but it gets overwritten each time with the trackback info originally captured. the MT admin area only lets you delete the trackback, and clicking it takes you to the referring url.

works great though!
thanks
virtuelvis
QUOTE (drew @ Jun 6 2003, 04:27 PM)
do you know of a way to edit the title or excerpt once it's in the system?

I don't think there's a way to edit it manually after it's entered the system. You could, however delete this part of the bookmarklet:

CODE
w.document.forms[0].submit()


That way, the trackback won't be auto-submitted, so you can edit it before sending it to the system.
drew
thanks for the reply.

it's not such a big deal to just delete the ping and then re-ping it with more thought as to how it'll display.
virtuelvis
I've now created a version of the bookmarklet that should work in IE as well:

CODE
javascript:function nw(){var tburl="your_trackback_url_here";var w=window.open('','','width=250,height=200');w.document.open();w.document.write('<form method="post" action="'+tburl+'"><p>Title<input type="text" value="'+document.title+'" name="title"><br>URL<input type="text" value="'+location.href+'" name="url"><br><input type="submit" value="Send trackback"></form>');w.document.close()}void(nw());


Just replace the tburl variable so it uses your trackback URL
nolageek
QUOTE (virtuelvis @ Jun 9 2003, 06:27 PM)
I've now created a version of the bookmarklet that should work in IE as well:

Yippie! Thankya Thankya Thankya Thankya Thankya Thankya


Vincent
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.