Måns, I see your point and appreciate Tobias code very much - but I don't want to touch 500 tiddlers to change manually ;-) Michael
On 1 Sep., 22:25, Måns <humam...@gmail.com> wrote: > Hi Michael > > >.... But since I have > > already a collection of nearly 500 tiddlers tagged with bookmark I > > prefer Måns' solution. > > My solution is just fighting symptoms - Tobias' solution *replaces* > Eric's Bookmark technique. > It will use your tiddlers tagged with Bookmark and display (almost) > the exact same thing as you'd expect from Eric's plugin. > > I would/will personally use Tobias' solution, as it is more versatile > in that it also can be used in tiddlers *not* tagged with bookmark, > and you can easily make your changes to the iframes dimensions etc - > in the html-part: > <html> > > > > <iframe src="$1" title="$2" height="600" width="100%"> > > > </iframe> > > > </html> > > Tobias has made a most elegant and trustworthy solution - let's > embrace it :-) > Great job Tobias!! > Thanks for sharing it. > > Regards Måns Mårtensson > > > > > > 1) Create a tiddler called "Bookmark" containing... > > > > <<tiddler {{ > > > var tid=store.getTiddler('$1'); > > > tid&&tid.tags.contains("Bookmark")?'Bookmark##OUT':'';}} with: {{ > > > > '<<tiddler Bookmark##SHOW with: "'+ > > > store.getTiddlerText('$1::URL')+'" "'+ > > > store.getTiddlerText('$1::Description')+ > > > '">\>';}}>>/% > > > > !OUT > > > $1 > > > !SHOW > > > <html> > > > <iframe src="$1" title="$2" height="600" width="100%"> > > > </iframe> > > > </html>{{big{[[go to $2|$1]]}}} > > > !END%/ > > > > 2) Right before... > > > <div class='viewer' macro='view text wikified'></div> > > > > ...add the following to your ViewTemplate... > > > <div macro='tiddler Bookmark with: {{tiddler?tiddler.title:"";}}'></ > > > div> > > > > 3) Provide the following slices in any tiddler tagged "Bookmark" > > > /% > > > Description:Some Site > > > URL:http://somesite.com > > > %/ > > > > ...et voilà, done! > > > > Note how you can also invoke a bookmark in any tiddler not tagged > > > Bookmark like so: > > > > <<tiddler Bookmark##SHOW with: "http://somesite.com" "Some Site">> > > > > Enjoy, Tobias. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.