MinibrowserPlugin & MiniBrowserList (by Eric)

4 views
Skip to first unread message

Michael.Tarnowski

unread,
Aug 12, 2008, 7:44:58 PM8/12/08
to TiddlyWiki
Hi folks - especially Eric,

I have implemented several tiddlers tagged as "bookmark" - to be views
to other internet sites (as Eric showed in www.tiddlytools.com).
Since this set of bookmaks will grow time-by-time I'am thinking of
implementing a kind of Eric's MinibrowserList - a HR-separated list
of all bookmarks. All bookmark tagged tiddlers shall be collected by
Udo's ForEachPlugin dynamicaly like:

BookmarkList tiddler:
{{{
<<forEachTiddler
where
'tiddler.tags.contains("bookmark") && !
tiddler.tags.contains("newTemplate")'
sortBy '(tiddler.title.toLowerCase())'
write 'store.getTiddlerSlice(tiddler.title,"Description")
+"\n"+store.getTiddlerSlice(tiddler.title,"URL")+"\n"+"----"+"\n"'
>>
}}}

I want to use Eric's MinibrowserPlugin (http://tiddlytools.com/
#MiniBrowserPlugin) to realize a kind of web site player to scroll all
bookmark tiddlers. Including BookmarkList in MinibrowserList by
<<tiddler BookmarkList>> does not work.
Any ideas?
Thanx and have a nice day
Michael

Eric Shulman

unread,
Aug 12, 2008, 8:25:07 PM8/12/08
to TiddlyWiki
> implementing a kind of Eric's MinibrowserList  - a HR-separated list
> of all bookmarks. All bookmark tagged tiddlers shall be collected by
> Udo's ForEachPlugin
> I want to use Eric's MinibrowserPlugin (http://tiddlytools.com/
> #MiniBrowserPlugin) to realize a kind of web site player to scroll all
> bookmark tiddlers. Including BookmarkList in MinibrowserList  by
> <<tiddler BookmarkList>> does not work.
> Any ideas?

I like this concept... so much so, that I've just updated
MiniBrowserPlugin and added a new inline script, BookmarkList, to auto-
generate a 'favorites' list for all the 'bookmark' tiddlers on
TiddlyTools.

First, get the update (v1.3.0) here:
http://www.TiddlyTools.com/#MiniBrowserPlugin
which now supports wikifying content from favorites lists so that
forEachTiddler or inline script output can be used to generate lists
on-the-fly.

Next, install this inline script
http://www.TiddlyTools.com/#BookmarkList
which contains the forEachTiddler or inline script that generates the
actual HR-separated list of bookmarks from individual tiddlers tagged
as "bookmark". Of course, you can always write your own script, or
use <<forEachTiddler>> (as you described previously) to generate the
list content.

Then, simply write the following:
<<miniBrowser BookmarkList>>

and the generated BookmarkList output will be used to populate the
'favorites' list in the MiniBrowser droplist.

enjoy,
-e

Michael.Tarnowski

unread,
Aug 13, 2008, 6:09:02 AM8/13/08
to TiddlyWiki
Fantastic this the fast solution - Thanks Eric!!!
I'am glad & proud to have inspired you to the new feature. ;-)

I implemented the new update immediately in my TW and it works fine.
Although I discovered as well in Eric's site www.tiddlytools.com as in
my site that the Minibrowser controls "forward", "backward", "stop",
and "refresh" does not work as expected: instead of skipping forward/
backward to the next/previous bookmark in the BookmarkList, the focus
is set to the next/previous tiddler, in the worst case the whole TW is
reloaded.
Michael

Eric Shulman

unread,
Aug 13, 2008, 6:50:06 AM8/13/08
to TiddlyWiki
> my site that the Minibrowser controls "forward", "backward", "stop",
> and "refresh" does not work as expected: instead of skipping forward/
> backward to the next/previous bookmark in the BookmarkList, the focus
> is set to the next/previous tiddler, in the worst case the whole TW is
> reloaded.

Those four buttons don't actually have anything to do with the
favorites droplist. Rather, they provide page navigation functions
for the MiniBrowser, similar to the browser's built-in navigation
buttons: "back" and "forward" step through the browser's history of
viewed pages, while refresh and stop control the loading of the
current URLs into the MiniBrowser's iframe.

Although there aren't any explicit "next/previous' buttons within the
MiniBrowser, you can currently achieve the results you want by simply
clicking in the favorites list and then use the arrow keys to move the
selection up/down and press enter to open the next/previous item.

-e
Reply all
Reply to author
Forward
0 new messages