Link Extractor Bookmarklet

11 views
Skip to first unread message

richk...@gmail.com

unread,
Jul 27, 2006, 1:18:56 PM7/27/06
to TiddlyWiki
First, I remember downloading tiddlywiki first over a year ago and just
came across again just a few days ago. Jeremy did a fantastic job on
the original, and the progress since then has been huge. Hats off to
Jeremy and the dev community.

One thing I've come across is that there's a lot of editing required to
bring external links into a tiddler, with all the brackets and
copy/paste and such. The following bookmarklet takes all the links on
a webpage and formats them into tiddler links that you can more easily
copy and paste into a tiddler. Saves a few steps.

Here goes:

javascript:var%20lk=document.links,s="";for(var%20i=0;i<lk.length;i++)s+="[["+lk[i].innerText+"|"+lk[i].href+"]]<br>";document.write(s)

(I'm a google groups newbie-- i hope this shows up as a draggable link)

Rich

Reply all
Reply to author
Forward
0 new messages