If you have Eric's Inline Javascript plugin, then this code will do a
quick and dirty job:
<script>
var txt = store.getTiddlerText("URL_LIST") ;
var ara = txt.split("\n") ;
var out = "" ;
for(var i=0;i<ara.length;i+=2)
out += "[[" + ara[i+1]+"|"+ara[i]+"]]\n" ;
return out ;
</script>
Where "URL_LIST" is the name of your tiddler with the alternating urls
and descriptions. Obviously this could be parameterized to use the
<<tiddler>> inclusion macro.
I haven't tried the FF plugin, but it sort looks like you should be
able to make it produce a wikified output.
Mark
On Nov 23, 6:31 am, Amzg <[email protected]> wrote:
> On Nov 22, 4:00 pm, BC <[email protected]> wrote:
>
> > Incidentally, if like me, you tend to have too many tabs open all at
> > once and don't want to bookmark them, the Copy All Urls Firefox add-on
> > works great for tiddly bookmarking
> > also:https://addons.mozilla.org/en-US/firefox/addon/934
>
> HA! That is GREAT!! Bookmark-LISTS are much more suitable in TW than
> FF because it is a lot easier to edit such a list in TW and, via
> framedLinksPlugin, take a peek at a bookmark.
>
> ...and how about this little addition;
>
> Create a tiddler titled URLlist, and put the following [1] in it:
> <<newJournal title:'URLs - YY0MM0DD' tag:'URLs' label:'Ctrl+Alt+C then
> paste' >>
>
> Pressing the resulting button gives a new tiddler where to paste the
> URL list, and it is automatically named with todays date and tagged
> with URLlist.
>
> You can then use a <<tiddler [[URLlist]]>> macro to put the resulting
> button e.g in the sidebar, perhaps accompanied by a slider to show the
> URLlist (via e.g TagglyTagging [2] or a forEachTiddler).
>
> Now, the resulting list from that firefox addon is pretty messy. It
> would be great if it somehow could be turned into pretty wikilinks,
> i.e from the current format;
>
> URL1
> Name1
> URL2
> Name2
>
> into
>
> [[Name1|URL1]]
> [[Name2|URL2]]
>
> Any thoughts?
>
> :-)
>
> [1] from
> here:http://groups.google.com/group/tiddlywiki/browse_thread/thread/1a6372...
> [2]http://mptw.tiddlyspot.com/#TagglyTagging
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=.