Thanks for the recommendations, Eric.
What I would like to do is to have the bookmarks that use a screen
shot to help jog the memory. So I've added a "screen" field to your
bookmark template, and have modified the Bookmark listing code like
this:
begin ==============================================
// I start by populating out with table headers and one hand-
crafted entry:
var out = ["|! Screen |! Info |", "| [img(150px,auto)[test|
screens/takenote.png]] | text |" ] ;
var tids=store.getTaggedTiddlers("bookmark");
for (var i=0; i<tids.length; i++) {
var t=tids[i].title;
var d=store.getTiddlerSlice(t,"Description");
var u=store.getTiddlerSlice(t,"URL") ;
var s=store.getTiddlerSlice(t,"Screen") ;
var strx = "| [img(150px,auto)[%0|screens/%3]] |
[[%0]] - %1\n%2 |".format([t,d,u,s]) ;
//document.write(strx + "<br>") ;
out.push(strx) ;
// out.push("| [img(150px,auto)[%0|screens/%3]] | [[%0]] - %1\n
%2|".format([t,d,u,s]));
}
//return out.join("\n----\n");
return out.join("\n");
end ==============================================
The images show up, and the piping between them, but the tiddler only
joins up the header and the first hand-crafted one into a table. All
the rest of the entries look like this (literally) :
| image | text.... |
That is, doesn't interpret the pipes as part of the table structure.
But if I output the text via document.write, then paste it into
another tiddler, it looks fine!
Any suggestions where I might be going wrong?
Thanks!
Mark
On Jan 25, 8:05 pm, Eric Shulman <[email protected]> wrote:
> > I checked the Tiddly Vault, and was surprised that there doesn't seem
> > to be much in the way of applications to track web bookmarks. I've
> > been doing it my own way, but thought there might be something better
> > out there.
>
> Try these:
> http://www.TiddlyTools.com/#MiniBrowserPlugin
> http://www.TiddlyTools.com/#BookmarkPackage
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
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=en
-~----------~----~----~----~------~----~------~--~---