[tw] Solved: How can the title be transcluded to a macro parameter as a wikilink.

2016-06-27 Thread Jan

Hi!
That was a toil...
The esult is quite different from my startingpoint. If anyone is 
interested...

Voilà:

\define createFilmlist()
<$set name="myFilms" filter="[list[$:/StoryList]tag[Film]]" >
<$button>{{$:/core/images/save-button}} speichern <$action-setfield 
$tiddler="$(listeneu)$" $field="film" $value=<> tags="clip" 
text="<>" clip=""/>

<$action-sendmessage $message="tm-notify" $param="StorySaved"/>


\end

Titel:<$edit-text tiddler="Filmliste" 
tag="input" field="titel" default="Geben Sie einen Titel ein!"/>

<$set name="listeneu" value={{Filmliste!!titel}}>
<>


cheers jan

Am 27.06.2016 um 16:41 schrieb Jan:
Hello I want to create a button which automatically creates a new 
tiddler as a child of


<$list filter="[all[current]tag[Film]]">
<$button>
<$action-sendmessage $message="tm-new-tiddler" title="Set a new 
title!" tags="clip" source={{!!title}} />

Add a new child

 


--
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5771C962.3020809%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Your TWederation! [The official TWederation brainstorm thread]

2016-06-27 Thread RichardWilliamSmith
Hi Mark,

I'm not very much further along the curve than anyone else. The question of 
how to search ipfs is one that I have wondered about myself and one which I 
intend to ask of their community soon - i imagine it will have to behave 
something like torrent trackers currently do, or otherwise 'spider' the 
ipfs network in some new way.

The hash for static resources changes whenever the content changes, of 
course, so there is at least the possibility to keep all previous versions 
- just as we currently do with git objects (the tw repo, for example, 
contains all of Jeremy's commits from the very beginning). Inidividual 
nodes will retain whatever they find useful but it's true that there is no 
cast-iron guarantee of permanence, just as there is currently no guarantee 
that a given torrent file will be available, even if there is a tracker for 
it.

Sites which regularly change will be published to a namespace where eg; 
/index.html will always point to the current version, but it should 
still be possible for me to send you a link to a particular 
site/page/resource and be sure that you will see exactly what I see, even 
if the page changes. If you bookmark a site and look for it later, you 
don't rely on it still being hosted in the same place, only on it still 
existing somewhere on the network (so, for example, archive.org will no 
longer need to maintain a 'mirror' of original pages, but will be able to 
collect and store original assets themselves and reloading the page in 10 
years from archive.org will be exactly the same experience as accessing the 
original pages.

Databases and db backed sites are another issue, but part of the same 
'problem' with the current architecture which is all hub-and-spoke, 
server-client and imho we will soon start to move en masse from databases 
to blockchains and things built on them. If you are interested in this then 
I recommend the work of Vinay Gupta, who does a good job of boiling it down 
for non-technical audiences (eg; https://vimeo.com/153600491)
 

> With twederation, does the hash imply that each tiddler should get it's 
> own unique ID (something that I think is going to be necessary somehow to 
> avoid title crashes).
>

If you were storing the tiddlers as separate files, each one would get a 
hash unique to it's total contents and it would change on each save but 
whether and how the internals of tw would see/calculate the hash, I don't 
know. This gives tiddlers unique id's, provided they differ in at least 
some respect but it doesn't work very well as a handle for the content, 
because it's constantly changing.

Anyway, as you can tell, I find all this stuff very interesting. So 
interesting that I have allowed myself to drift very far from the intent of 
Mat's thread. Apologies. I will report back to the community about ipfs if 
and when I have something more concrete to demonstrate, but I maintain the 
belief that tiddlywiki is even more interesting in the context of ipfs than 
it is over http.

Sorry for stealing your thread, Mat, I will also find time to try out the 
current twederation implementation - your excitement is very infectious.

Regards,
Richard

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e3e3b408-d8e4-44a2-bd4e-78190d6412ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Is it possible to make a Copy2Clipboard widget?

2016-06-27 Thread infurnoape


Regretably, due to browser security, the execCommand copy only seems to work on 
visibly selected content. So, a hidden div won't work. I am trying to 
understand how the suggested widget and how params are passed to the modal 
display would relate to tiddler identification and systematic selection?


Happy Connecting. Sent from my Sprint Samsung Galaxy S® 5

 Original message 
From: Jeremy Ruston  
Date: 6/27/16  8:28 AM  (GMT-07:00) 
To: TiddlyWiki  
Subject: Re: [tw] [TW5] Is it possible to make a Copy2Clipboard widget? 

Hi Andrew
On Sat, Jun 25, 2016 at 6:02 PM, andrew harrison 
 wrote:
Any suggestions on how to select rendered output without using an element id?
A reasonable approach would be to render the chosen tiddler into a hidden DIV 
which is then removed once the content has been successfully copied.
Ideally, the message handler allow variables to be set for the rendering, just 
as we do for the rendering of modals. Here's the code for rendering the content 
of modals:
https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/utils/dom/modal.js#L87-L92

And here's the code for invoking that function with the extra parameters passed 
with the tm-modal message:
https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/startup/rootwidget.js#L26

Best wishes
Jeremy.




 
On Sat, Jun 25, 2016 at 4:00 AM, Jeremy Ruston  wrote:
Hi Rustem, Infurnoape,
Good news, I hadn’t realised that things had moved on.
Infurnoape’s plugin works in all the browsers I tried. It’s certainly something 
I’d like to see in the core.
I’d prefer an implementation that allowed rendered output to be copied to the 
clipboard, not just raw tiddler content. It would also be more robust if it 
didn’t rely on getElementById; all of that is fixable, happily.
Best wishes
Jeremy

On 25 Jun 2016, at 07:58, R <8pa...@gmail.com> wrote:
Nice. Doesn't fit my use case but proves it can be done :D

On Fri, Jun 24, 2016 at 7:16 PM, infurnoape  
wrote:


Check out how I did this plugin. http://copy.tiddlyspot.com
Happy Connecting. Sent from my Sprint Samsung Galaxy S® 5

 Original message 
From: Rustem <8pa...@gmail.com> 
Date: 6/24/16  6:03 PM  (GMT-07:00) 
To: TiddlyWiki  
Cc: jeremy.rus...@gmail.com 
Subject: Re: [tw] [TW5] Is it possible to make a Copy2Clipboard widget? 

Is it time to revisit the issue? Seems to be supported by all major browsers. 
http://caniuse.com/#feat=clipboard
Would be nice to have a "copy" button appear on hover over any  piece.

On Tuesday, January 6, 2015 at 11:26:22 AM UTC-8, Jeremy Ruston wrote:Hi Andrew
I'd also love to have a "copy to clipboard" button. The HTML5 Clipboard API is 
proceeding very slowly, with very patchy browser support. There's no 
implementation of copy to clipboard that I know of.
Right now the best prospect for an implementation is within TiddlyDesktop, 
where we can rise above browser limitations.
Best wishes
Jeremy

On Mon, Jan 5, 2015 at 7:05 AM, andrew harrison  wrote:
  Everyone else online is using ZeroClipboard because of security restraints 
but that is a hack in itself and I expect will stop working eventually. In 
addition, it only works online.
  The W3C is going to be implementing the Clipboard API for HTML 5 
(http://dev.w3.org/2006/webapi/clipops/clipops.html) but it still doesn't seem 
to work yet. I can't find any working examples online.
  The following code is what I have been using in TWC but it only seems to work 
in Internet Explorer but not in Tiddlywiki 5 because Javascript is stripped. I 
could spend time writing a widget for just IE but is it worth it?
  Can anyone tell me what direction I should go? The alternative is 
painstakingly selecting text and hitting Ctrl + C or right click to copy, or in 
the case of touch screen by long pressing and messing with those selector 
arrows. 3 or more steps vs 1 step. I am trying to aim for something that copies 
to clipboard online, offline, server side, client side, mouse, touch screen, 
and browser independent. Is that to much to wish for?Copy


-- 

You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+...@googlegroups.com.

To post to this group, send email to tiddl...@googlegroups.com.

Visit this group at http://groups.google.com/group/tiddlywiki.

For more options, visit https://groups.google.com/d/optout.




-- 
Jeremy Ruston
mailto:jeremy...@gmail.com





-- 

You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.

To post to this group, send email to 

Re: [tw] Re: TiddlyWiki European Meetup 2016

2016-06-27 Thread Mat
Jeremy - or anyone else who might know;

I'm hoping to stay within walking distance from the event place. Do you 
happen to know any accommodations in the vicinity? The ideal would be a B 
but some boring hotel is also fine.

Thanx!

<:-)



On Monday, June 13, 2016 at 9:54:57 AM UTC+2, Jeremy Ruston wrote:
>
> Hi Danielo 
>
> > What is the best way to go to Oxford? I suppose there is no airport, so 
> I have to flight to London and then what? 
>
> Oxford is just over 60 miles from Central London, but such good transport 
> links that in practical terms it’s a suburb of London. In particular, there 
> are  low cost coaches (big buses) that regularly run into Central London 
> (called “The Oxford Tube”, confusingly)  and to each of the airports. 
>
> There are four London airports: Heathrow, Gatwick, Stansted and Luton. 
> Heathrow is the closest to Oxford but also tends to have the most expensive 
> flights. The cheapest flights tend to be to Luton and Stansted. Journey 
> times by coach: 
>
> Heathrow-Oxford: 1h30m 
> Luton-Oxford: 1h46m 
> Gatwick-Oxford: 2h30m 
> Stansted-Oxford: 3h10m 
>
> The coaches from Heathrow and Gatwick are served by 
> http://www.nationalexpress.com/ 
>
> The coaches from Luton and Stansted are served by 
> http://airline.oxfordbus.co.uk/ 
>
> There is also the option of flying to Birmingham, which is a city north of 
> London, with a 2hr coach operated by Oxford Bus. 
>
> Hope that helps, let me know if you have any other questions, 
>
> Best wishes 
>
> Jeremy 
>
>
>
>
>
>
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "TiddlyWiki" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to tiddlywiki+...@googlegroups.com . 
> > To post to this group, send email to tiddl...@googlegroups.com 
> . 
> > Visit this group at https://groups.google.com/group/tiddlywiki. 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/75cb546c-8ee6-44c7-b60a-115c746db007%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/13d9b387-e5b7-4c86-a6da-1f675b646c76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Simple template for modals

2016-06-27 Thread FrD
Hi,

I've tried a lot but I can't figure out how to solve the problem with 
tiddlers having spaces in their titles (it concerns the image tiddlers).

I would be grateful if someone could have a look at the wikitext and point 
me to a possible solution ...

Thanks in advance

FrD

Le lundi 27 juin 2016 14:49:04 UTC+2, FrD a écrit :
>
> Hi Jan,
>
> Yes I think so. I've just tried with an external image. Just put :
> <$image source="http:// ..."/>
> in a tiddler and use the name of that tiddler.
> It also works with images on he file system :
> <$image source="./image.jpeg"/> for instance.
>
> I've found a bug : there is a problem with tiddlers having a white space 
> in their name.
> I'll investigate ...
>
> FrD
>
> Le lundi 27 juin 2016 14:26:35 UTC+2, Jan a écrit :
>>
>> Hi FrD
>> Very necessary feature, nice styling - I like galleries where the picture 
>> is shown in maximum Size and nearly everythig else is dimmed. To my the 
>> images could be enlarged even more. (But it is far better than my attempt 
>> to do a Lightbox http://slidesnstories.tiddlyspot.com/.)
>> An important question for me is whether it also works with paths to 
>> external Images?
>> Jan
>>
>>
>>
>> Am 27.06.2016 um 13:39 schrieb FrD:
>>
>> Hi,
>>
>> This is a work in progress, but I've made some templates to display a 
>> simple slideshow in a modal window :
>>
>> http://simplemodaltemplate.tiddlyspot.com/
>>
>> Any feedback welcome
>>
>> FrD
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddlywiki+...@googlegroups.com.
>> To post to this group, send email to tiddl...@googlegroups.com.
>> Visit this group at https://groups.google.com/group/tiddlywiki.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/85fc4d23-08ea-41d4-9858-ee13907ed180%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2d79f07d-db8e-4696-9e63-d5e7e4d651c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Your TWederation! [The official TWederation brainstorm thread]

2016-06-27 Thread 'Mark S.' via TiddlyWiki
Hi Richard,

Since you seem to be ahead on the learning curve, these are the questions 
that occur to me ...

How do you know what hash to ask for, and what happens when the original 
content (aka "site") changes? How many different versions of the hashed 
site would you retain? If "pulling" members of the ipfs don't retain early 
versions of the content, then how is it significantly different than what 
we have now, where content may be replaced at any time. 

Lot's of sites these days are database-driven. Which means there's really 
no "site" to be saved, captured, and shared. Each individual has a unique 
experience (think Amazon). Can the problem the ipfs was supposed to fix 
(e.g. "We're losing the internet") even be fixed in a world in which static 
sites are rapidly disappearing?

With twederation, does the hash imply that each tiddler should get it's own 
unique ID (something that I think is going to be necessary somehow to avoid 
title crashes).

Thanks,
Mark


On Saturday, June 25, 2016 at 7:17:18 PM UTC-7, RichardWilliamSmith wrote:
>
> And as for using ipfs for a distributed node-like implementation online, 
>> that would be awesome. There would unfortunately be problems with 
>> read-write privileges and the like. I imagine it would be easiest to make 
>> something that could dynamically build a wiki from a set of distributed tid 
>> files on page load, but you could do the same thing using http. 
>> Fundamentally http(s) is also a way to access a distributed file system so 
>> that aspect of it doesn't necessarily allow any novel applications.
>>
>
> The novel applications come (imo) from the fact that ipfs is 
> content-addressable - you ask for tiddlers by their hash, not a location. 
> It also has signed namespaces that you can use as a pub location for 
> pub/sub and built-in versioning. As far as I understand it, the best way to 
> explain ipfs is something like "bit-torrent, with git on top, with the web 
> on top of that" and there are no servers, only peers in a swarm. If you 
> publish something, then I view it and then you go offline, other people can 
> still get what you published from me, and yet there's no way I can tamper 
> with it. There are also proposals for an incentivisation layer (filecoin) 
> that would let you pay a small amount to guarantee your content to remain 
> hosted, though in practise anything of interest to more than a few people 
> will remain live anyway. All of this, of course, is far from ready for 
> widespread adoption and, as I say, I have a lot to learn about it all.
>
> RR
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2932540b-1799-4442-ac60-5ea54e62b56b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Simple template for modals

2016-06-27 Thread FrD
Hi J Mc

Well I don't know if it's possible. I doubt it because of the access to the 
filesystem but I'm not sure.
And if it is possible it probably would need higher skills in javascript !

The templates are in wikitext and I didn' mean to extand them with js.

To import in an easy way you can use drag and drop ; it works well in TW.

FrD

Le lundi 27 juin 2016 17:23:11 UTC+2, J Mc a écrit :
>
> Hi FrD,
> is it possible to point to a local directory of images and retrieve them 
> automatically rather than pointing to each separate image?
>
> On Monday, June 27, 2016 at 12:39:12 PM UTC+1, FrD wrote:
>>
>> Hi,
>>
>> This is a work in progress, but I've made some templates to display a 
>> simple slideshow in a modal window :
>>
>> http://simplemodaltemplate.tiddlyspot.com/
>>
>> Any feedback welcome
>>
>> FrD
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/31555742-be0d-4a45-8669-fe77e39162b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Auto generate contents around a tiddler.

2016-06-27 Thread Thomas McLeod
This is awesome! Knowing what to search for also led me to this post:


https://groups.google.com/d/msg/tiddlywiki/JTHkT9TvhUY/Rba-seHL3MMJ

This is the perfect implementation. Thanks! - TM


On Monday, June 27, 2016 at 3:16:58 AM UTC-7, PMario wrote:
>
> Hi Thomas, 
>
> Did you have a look at the tiddler (i) info button? 
>
>
>- http://tiddlywiki.com/#HelloThere  
>- open the "more: info" tiddler toolbar
>- select the "Reference" tab
>
> -m
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/82255079-aa63-4d64-a08e-77f6bedb3516%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Is it possible to make a Copy2Clipboard widget?

2016-06-27 Thread Josiah
Ciao Andrew & Jeremy

I know nothing about how to do it. What I DO know is that a native copy 
mechanism that captures full rendered HTML is invaluable.

Personally I would love to see an add-on that cloned the rendered HTML of a 
macro output tiddler to a new tiddler. It would open a lot of possibilities 
that are currently cumbersome. 

For instance, that I could create a digest via a filter or list action of 
some tiddlers that I could then edit and add comments to before emailing.

I have played with http://copy.tiddlyspot.com/ and found it very useful 
already.

Best wishes
Josiah  

On Monday, 27 June 2016 17:28:10 UTC+2, Jeremy Ruston wrote:
>
> Hi Andrew
>
> On Sat, Jun 25, 2016 at 6:02 PM, andrew harrison  > wrote:
>
>> Any suggestions on how to select rendered output without using an element 
>> id?
>>
>
> A reasonable approach would be to render the chosen tiddler into a hidden 
> DIV which is then removed once the content has been successfully copied.
>
> Ideally, the message handler allow variables to be set for the rendering, 
> just as we do for the rendering of modals. Here's the code for rendering 
> the content of modals:
>
>
> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/utils/dom/modal.js#L87-L92
>
> And here's the code for invoking that function with the extra parameters 
> passed with the tm-modal message:
>
>
> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/startup/rootwidget.js#L26
>
> Best wishes
>
> Jeremy.
>
>
>
>
>
>  
>
>>
>> On Sat, Jun 25, 2016 at 4:00 AM, Jeremy Ruston > > wrote:
>>
>>> Hi Rustem, Infurnoape,
>>>
>>> Good news, I hadn’t realised that things had moved on.
>>>
>>> Infurnoape’s plugin works in all the browsers I tried. It’s certainly 
>>> something I’d like to see in the core.
>>>
>>> I’d prefer an implementation that allowed rendered output to be copied 
>>> to the clipboard, not just raw tiddler content. It would also be more 
>>> robust if it didn’t rely on getElementById; all of that is fixable, happily.
>>>
>>> Best wishes
>>>
>>> Jeremy
>>>
>>>
>>> On 25 Jun 2016, at 07:58, R <8pa...@gmail.com > wrote:
>>>
>>> Nice. Doesn't fit my use case but proves it can be done :D
>>>
>>> On Fri, Jun 24, 2016 at 7:16 PM, infurnoape >> > wrote:
>>>
 Check out how I did this plugin. 
 http://copy.tiddlyspot.com

 Happy Connecting. Sent from my Sprint Samsung Galaxy S® 5


  Original message 
 From: Rustem <8pa...@gmail.com > 
 Date: 6/24/16 6:03 PM (GMT-07:00) 
 To: TiddlyWiki  
 Cc: jeremy...@gmail.com  
 Subject: Re: [tw] [TW5] Is it possible to make a Copy2Clipboard widget? 

 Is it time to revisit the issue? Seems to be supported by all major 
 browsers. http://caniuse.com/#feat=clipboard
 Would be nice to have a "copy" button appear on hover over any  
 piece.

 On Tuesday, January 6, 2015 at 11:26:22 AM UTC-8, Jeremy Ruston wrote:
>
> Hi Andrew
>
> I'd also love to have a "copy to clipboard" button. The HTML5 
> Clipboard API is proceeding very slowly, with very patchy browser 
> support. 
> There's no implementation of copy to clipboard that I know of.
>
> Right now the best prospect for an implementation is within 
> TiddlyDesktop, where we can rise above browser limitations.
>
> Best wishes
>
> Jeremy
>
>
> On Mon, Jan 5, 2015 at 7:05 AM, andrew harrison <
> andrew.j@gmail.com> wrote:
>
>> Everyone else online is using ZeroClipboard because of security 
>> restraints but that is a hack in itself and I expect will stop working 
>> eventually. In addition, it only works online.
>> The W3C is going to be implementing the Clipboard API for HTML 5 (
>> http://dev.w3.org/2006/webapi/clipops/clipops.html) but it still 
>> doesn't seem to work yet. I can't find any working examples online.
>> The following code is what I have been using in TWC but it only seems 
>> to work in Internet Explorer but not in Tiddlywiki 5 because Javascript 
>> is 
>> stripped. I could spend time writing a widget for just IE but is it 
>> worth 
>> it?
>> Can anyone tell me what direction I should go? The alternative is 
>> painstakingly selecting text and hitting Ctrl + C or right click to 
>> copy, 
>> or in the case of touch screen by long pressing and messing with those 
>> selector arrows. 3 or more steps vs 1 step. I am trying to aim for 
>> something that copies to clipboard online, offline, server side, client 
>> side, mouse, touch screen, and browser independent. Is that to much to 
>> wish 
>> for?
>>
>> Copy
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google 
>> Groups "TiddlyWiki" group.
>> To unsubscribe from this group 

Re: [tw] [TW5] Is it possible to make a Copy2Clipboard widget?

2016-06-27 Thread Jeremy Ruston
Hi Andrew

On Sat, Jun 25, 2016 at 6:02 PM, andrew harrison <
andrew.j.harriso...@gmail.com> wrote:

> Any suggestions on how to select rendered output without using an element
> id?
>

A reasonable approach would be to render the chosen tiddler into a hidden
DIV which is then removed once the content has been successfully copied.

Ideally, the message handler allow variables to be set for the rendering,
just as we do for the rendering of modals. Here's the code for rendering
the content of modals:

https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/utils/dom/modal.js#L87-L92

And here's the code for invoking that function with the extra parameters
passed with the tm-modal message:

https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/startup/rootwidget.js#L26

Best wishes

Jeremy.







>
> On Sat, Jun 25, 2016 at 4:00 AM, Jeremy Ruston 
> wrote:
>
>> Hi Rustem, Infurnoape,
>>
>> Good news, I hadn’t realised that things had moved on.
>>
>> Infurnoape’s plugin works in all the browsers I tried. It’s certainly
>> something I’d like to see in the core.
>>
>> I’d prefer an implementation that allowed rendered output to be copied to
>> the clipboard, not just raw tiddler content. It would also be more robust
>> if it didn’t rely on getElementById; all of that is fixable, happily.
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>> On 25 Jun 2016, at 07:58, R <8pa...@gmail.com> wrote:
>>
>> Nice. Doesn't fit my use case but proves it can be done :D
>>
>> On Fri, Jun 24, 2016 at 7:16 PM, infurnoape <
>> andrew.j.harriso...@gmail.com> wrote:
>>
>>> Check out how I did this plugin.
>>> http://copy.tiddlyspot.com
>>>
>>> Happy Connecting. Sent from my Sprint Samsung Galaxy S® 5
>>>
>>>
>>>  Original message 
>>> From: Rustem <8pa...@gmail.com>
>>> Date: 6/24/16 6:03 PM (GMT-07:00)
>>> To: TiddlyWiki 
>>> Cc: jeremy.rus...@gmail.com
>>> Subject: Re: [tw] [TW5] Is it possible to make a Copy2Clipboard widget?
>>>
>>> Is it time to revisit the issue? Seems to be supported by all major
>>> browsers. http://caniuse.com/#feat=clipboard
>>> Would be nice to have a "copy" button appear on hover over any 
>>> piece.
>>>
>>> On Tuesday, January 6, 2015 at 11:26:22 AM UTC-8, Jeremy Ruston wrote:

 Hi Andrew

 I'd also love to have a "copy to clipboard" button. The HTML5 Clipboard
 API is proceeding very slowly, with very patchy browser support. There's no
 implementation of copy to clipboard that I know of.

 Right now the best prospect for an implementation is within
 TiddlyDesktop, where we can rise above browser limitations.

 Best wishes

 Jeremy


 On Mon, Jan 5, 2015 at 7:05 AM, andrew harrison  wrote:

> Everyone else online is using ZeroClipboard because of security
> restraints but that is a hack in itself and I expect will stop working
> eventually. In addition, it only works online.
> The W3C is going to be implementing the Clipboard API for HTML 5 (
> http://dev.w3.org/2006/webapi/clipops/clipops.html) but it still
> doesn't seem to work yet. I can't find any working examples online.
> The following code is what I have been using in TWC but it only seems
> to work in Internet Explorer but not in Tiddlywiki 5 because Javascript is
> stripped. I could spend time writing a widget for just IE but is it worth
> it?
> Can anyone tell me what direction I should go? The alternative is
> painstakingly selecting text and hitting Ctrl + C or right click to copy,
> or in the case of touch screen by long pressing and messing with those
> selector arrows. 3 or more steps vs 1 step. I am trying to aim for
> something that copies to clipboard online, offline, server side, client
> side, mouse, touch screen, and browser independent. Is that to much to 
> wish
> for?
>
> Copy
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to tiddlywiki+...@googlegroups.com.
> To post to this group, send email to tiddl...@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>



 --
 Jeremy Ruston
 mailto:jeremy...@gmail.com

>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to tiddlywiki+unsubscr...@googlegroups.com.
>>> To post to this group, send email to tiddlywiki@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/tiddlywiki.
>>> To view this discussion on the web visit
>>> 

[tw] How can the title be transcluded to a macro parameter as a wikilink.

2016-06-27 Thread Jan

Hello,
 I want to create a template-button which automatically creates a new 
tiddler as a child of a tiddler.

My attempt was this:

<$list filter="[all[current]tag[Film]]">
<$button>
<$action-sendmessage $message="tm-new-tiddler" title="Set a new title!" 
source={{!!title}} />

Add a new child



In the result, in the field source there is just the text of the title. 
I would need to have it in [[brackets]]. Can anyone tell me code/trick 
to achieve this?


Thanks!
Jan

--
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/57714577.2050007%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Simple template for modals

2016-06-27 Thread J Mc
Hi FrD,
is it possible to point to a local directory of images and retrieve them 
automatically rather than pointing to each separate image?

On Monday, June 27, 2016 at 12:39:12 PM UTC+1, FrD wrote:
>
> Hi,
>
> This is a work in progress, but I've made some templates to display a 
> simple slideshow in a modal window :
>
> http://simplemodaltemplate.tiddlyspot.com/
>
> Any feedback welcome
>
> FrD
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/025e85cc-a274-4220-a71e-c95969bdfd34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Simple template for modals

2016-06-27 Thread Thomas Elmiger
Hi FdR,

Looks nice, but is difficult to handle on an iPhone (SE). 

Good luck!
Thomas 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3c4d29f3-258d-4c47-aed5-90327b9bbfa6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Simple template for modals

2016-06-27 Thread Thomas Elmiger
FrD – sorry!

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f085daee-6063-4188-8be9-f3ba018f21a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TWC] dGSD config question

2016-06-27 Thread Robert Edwards
Hi everyone -- I'm beginning to pull my hair out. Somewhere within dGSD is 
a config tiddler with checkboxes to enable/disable showing full names of 
projects & areas associated with actions, vs just showing [P] if there is a 
project and/or [A] if there's an area. I've been looking for this setting 
for three days. If anyone could point me to it I will be very grateful!

A more complex question -- I've also been playing with css to try to 
prevent linebreaks after actions before the project or area. dGSD has 
linebreaks; mgtd does not. I prefer the mgtd behavior. So far I've been 
unsuccessful in suppressing the linebreaks though. But my css knowledge is 
limited so that's no big surprise. Any suggestions welcomed.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6ee38530-c772-48a1-b7f6-f5d96d281137%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Simple template for modals

2016-06-27 Thread FrD
Hi Jan,

Yes I think so. I've just tried with an external image. Just put :
<$image source="http:// ..."/>
in a tiddler and use the name of that tiddler.
It also works with images on he file system :
<$image source="./image.jpeg"/> for instance.

I've found a bug : there is a problem with tiddlers having a white space in 
their name.
I'll investigate ...

FrD

Le lundi 27 juin 2016 14:26:35 UTC+2, Jan a écrit :
>
> Hi FrD
> Very necessary feature, nice styling - I like galleries where the picture 
> is shown in maximum Size and nearly everythig else is dimmed. To my the 
> images could be enlarged even more. (But it is far better than my attempt 
> to do a Lightbox http://slidesnstories.tiddlyspot.com/.)
> An important question for me is whether it also works with paths to 
> external Images?
> Jan
>
>
>
> Am 27.06.2016 um 13:39 schrieb FrD:
>
> Hi,
>
> This is a work in progress, but I've made some templates to display a 
> simple slideshow in a modal window :
>
> http://simplemodaltemplate.tiddlyspot.com/
>
> Any feedback welcome
>
> FrD
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+...@googlegroups.com .
> To post to this group, send email to tiddl...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/85fc4d23-08ea-41d4-9858-ee13907ed180%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/238b5155-eb3d-4af7-a18d-9299a762a065%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Simple template for modals

2016-06-27 Thread Jan

Hi FrD
Very necessary feature, nice styling - I like galleries where the 
picture is shown in maximum Size and nearly everythig else is dimmed. To 
my the images could be enlarged even more. (But it is far better than my 
attempt to do a Lightbox http://slidesnstories.tiddlyspot.com/.)
An important question for me is whether it also works with paths to 
external Images?

Jan



Am 27.06.2016 um 13:39 schrieb FrD:

Hi,

This is a work in progress, but I've made some templates to display a 
simple slideshow in a modal window :


http://simplemodaltemplate.tiddlyspot.com/

Any feedback welcome

FrD
--
You received this message because you are subscribed to the Google 
Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to tiddlywiki+unsubscr...@googlegroups.com 
.
To post to this group, send email to tiddlywiki@googlegroups.com 
.

Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/85fc4d23-08ea-41d4-9858-ee13907ed180%40googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/57711B72.5000207%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Simple template for modals

2016-06-27 Thread FrD
Hi,

This is a work in progress, but I've made some templates to display a 
simple slideshow in a modal window :

http://simplemodaltemplate.tiddlyspot.com/

Any feedback welcome

FrD

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/85fc4d23-08ea-41d4-9858-ee13907ed180%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Reveal widget inside a table pops up in the wrong place

2016-06-27 Thread Bob Flandard
Hello,

When the pop-up buttons in the table are clicked, the pop-up is in the 
wrong place (or at least not where I'd like it to be). Whereas the buttons 
not in a table work as expected.

Please paste the following code into a tiddler to see the effect I'm trying 
to describe.

What I'm trying to achieve is arranging the buttons in columns with a title 
below each button. A table works well except for the pop-up in the wrong 
place issue.

How could this issue be resolved?

Much thanks, Bob  

\define text-popup(text)
<$button popup=<> >Pop me up!

<$reveal type="popup" state=<> animate=
"yes">


! This is the popup
$text$



\end

"""
blah










blah
"""

<>
<>

|<>|<>|
| pop-up1 | pop-up2 |


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f6a3f880-9d1e-4c80-80ad-0cb44ca9f0cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Auto generate contents around a tiddler.

2016-06-27 Thread PMario
Hi Thomas, 

Did you have a look at the tiddler (i) info button? 


   - http://tiddlywiki.com/#HelloThere  
   - open the "more: info" tiddler toolbar
   - select the "Reference" tab

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/302d8691-0833-4737-9851-9689590f98a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Your TWederation! [The official TWederation brainstorm thread]

2016-06-27 Thread Josiah
Ciao RichardWS

IPFS interests me as part-and-parcel of the broad issue of TW deliberately 
not being server dependent. I think its suffered, not because of any of its 
limitations, but because the dominance of server dependent models in 
software design on networking & communications, and poor protocols, made it 
much harder to get steps.

So ANY initiatives that show how to assert non-server dominated steps that 
can help TW better interact are worthy of full examination IMO. What is 
doable is I think a very OPEN question.

Best wishes
Josiah

On Sunday, 26 June 2016 04:17:18 UTC+2, RichardWilliamSmith wrote:
>
> And as for using ipfs for a distributed node-like implementation online, 
>> that would be awesome. There would unfortunately be problems with 
>> read-write privileges and the like. I imagine it would be easiest to make 
>> something that could dynamically build a wiki from a set of distributed tid 
>> files on page load, but you could do the same thing using http. 
>> Fundamentally http(s) is also a way to access a distributed file system so 
>> that aspect of it doesn't necessarily allow any novel applications.
>>
>
> The novel applications come (imo) from the fact that ipfs is 
> content-addressable - you ask for tiddlers by their hash, not a location. 
> It also has signed namespaces that you can use as a pub location for 
> pub/sub and built-in versioning. As far as I understand it, the best way to 
> explain ipfs is something like "bit-torrent, with git on top, with the web 
> on top of that" and there are no servers, only peers in a swarm. If you 
> publish something, then I view it and then you go offline, other people can 
> still get what you published from me, and yet there's no way I can tamper 
> with it. There are also proposals for an incentivisation layer (filecoin) 
> that would let you pay a small amount to guarantee your content to remain 
> hosted, though in practise anything of interest to more than a few people 
> will remain live anyway. All of this, of course, is far from ready for 
> widespread adoption and, as I say, I have a lot to learn about it all.
>
> RR
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3530d83f-a20a-4c2d-88d3-bfe31df25749%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Auto generate contents around a tiddler.

2016-06-27 Thread Thomas McLeod
I do a lot of referencing to specific people or events when I use TW. I 
would love to know if there is a plugin or solution that will automatically 
generate a list on the tiddler of any inbound links.

For example:

JumpAround
Mentions:
TiddlerMention1: ...and then I said JumpAround...
TiddlerMention2: ...everyone yelled JumpAround...

The above would be links to the anchor where those are located or at least 
to pages where they are referenced. Thoughts? - TM

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3983ed40-6fcd-497b-91b7-6804f5eac140%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.