[tw] Re: Can I have ribbon on a specific tiddler?

2015-02-11 Thread James
Hi Tobias,

http://tobibeer.github.io/tb5/#%24%3A%2F.tb%2Fui%2FViewTemplate%2Fribbon

I just want the ribbon to stick on the top of each tiddler.  The example 
you shown stick on the bottom of each tiddler.


On Wednesday, 11 February 2015 03:37:29 UTC+8, Tobias Beer wrote:
>
> One more question, how can I put the ribbon on top right of the 
>> tiddler with your script provided in earlier post?
>>
>
> Not sure what you mean. If you want a dynamic ribbon, you need a 
> *template* like the one I provided. There isn't any scripting going on, 
> it's plain wikitext and then some css. You sure don't want to put all that 
> inside a tiddler, although you could sure go about it differently and have 
> some...
>
> title:$:/ribbon
>
> 
>
>
> And then use it like so...
>
> {{||$:/ribbon}}
>
> ...while making use of *<>* in your *$:/ribbon* template 
> tiddler... and putting the required stylesheets into a tiddler tagged 
> *$:/tags/Stylesheet*.
>
> Best wishes, Tobias.
>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Selecting all text displayed on a single tiddler

2015-02-11 Thread Tobias Beer
You could possibly assign the output to a generic html textarea?

Best wishes, Tobias.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: CKEditor replace by class

2015-02-11 Thread Tobias Beer

>
> The CKEditor simply did not load. Apparently I needed to make a full 
> refresh (Shift+reload) of Firefox for it to actually load, a simple refresh 
> didn't cut it. Sorry for wasting your time.
>
Not sure what it is but I believe it needs some extra amount of time 
initializing (over the web / in TiddlyWiki). First looking at things, it's 
always either blank or entirely scrambled. After a bit it seems to yield 
the expected editor.

Best wishes, Tobias.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: to paste textNode as html

2015-02-11 Thread Tobias Beer

>
> you can use data urls to show internal images 
>
> var tiddler = this.wiki.getTiddler(tiddlertitle);
> img.src="data:" + tiddler.fields.type + ";base64,"+ tiddler.fields.text;
>

For a site like his, please don't use internal images unless you expect 
visitors to wait for ages so that your page. I suggest you use 
_canonical__uri along with all other required fields that hold meta-data 
that you want to show. Then you iterate over the desired images (via filter 
or other)... outputting the field data at the desired spot in your image 
viewer. However, it may not even be needed at all to use _canonical_uri 
just put the src into any field and use it appropriately. Then you are free 
to use the text for the image tiddler in whichever way you want, e.g. a 
much more sophisticated description.

Best wishes, Tobias.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Selecting all text displayed on a single tiddler

2015-02-11 Thread Stephan Hradek
I think this would be worth a plugin. This function could select the text 
of a DOM element:

function selectText( node) {
if ( document.selection ) {
var range = document.body.createTextRange();
range.moveToElementText( node  );
range.select();
} else if ( window.getSelection ) {
var range = document.createRange();
range.selectNodeContents( node );
window.getSelection().removeAllRanges();
window.getSelection().addRange( range );
}
}
// Code taken from 
http://stackoverflow.com/questions/1173194/select-all-div-text-with-single-mouse-click

This function could be assigned as a double-click handler to a div or a 
tiddler's content div.

But at the moment I don't have the time to implement it, so I share the 
idea for others to take over.



-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Can I have ribbon on a specific tiddler?

2015-02-11 Thread Tobias Beer

>
> I just want the ribbon to stick on the top of each tiddler. 
>
The example you shown stick on the bottom of each tiddler.
>

Top-left? Top-right seems to cover the toolbar
and also come with some "flexible width" problem you suggested earlier

What have you tried?

Best wishes, Tobias.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Can I have ribbon on a specific tiddler?

2015-02-11 Thread Tobias Beer
As for the example,

Tiddler Ribbon @ tb5 

I have extracted the css and turned it into a horizontal bar for small 
screens / windows.

Best wishes, Tobias. 

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Puzzled by SVG Icons

2015-02-11 Thread PMario
Hi Don,

Can you tell us, what you want to do / achieve. 

-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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Why are permalinks not enabled on all those cool TW5 Tipps & Tricks sites?

2015-02-11 Thread Tom
Good afternoon

It's probably a question for Quora, but maybe someone can explain this 
strange habitute of probably all those great TW5 Tipps & Tricks sites:

Why don't they enable the two very useful settings for visitors:

   - automatically update Browser URL with the tiddlers permalink
   - automatically update the Site Name with the actual tiddlers Title
   
Some sites even disable the possibility to generate a permalink!


For visitors, activating those settings is very useful: 
they see a great tiddler - and can easily create a local bookmark by drag & 
drop.

But almost every "TW5 Tipps & Tricks" Website does not use those settings. 
So it's annoying to create a bookmark:

   1. Open the Tiddlers extended Menu
   2. Activate the Permalink (if it's available)
   3. Drag & Drop the URL
   4. Rename the URL - probably to the Tiddlers Title...
   

Is there anything behind the scene why I should not activate those great 
feartures?

btw.: I alredy have collected 171 Tiddler-Links. Therefore I know it's 
really annoying to collect them ;-)

Thanks for any enlightenment,
kind regards,
Tom

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Puzzled by SVG Icons

2015-02-11 Thread Jeremy Ruston
Hi Don

> Which is fine, but if I want use the icon on a tag, it won't show up in
the tag manager if the type is not set

You can force an image to appear in the tag manager dropdown by giving it
the tag $:/tags/Image; that's how the core shadow images are made to
appear, too.

Best wishes

Jeremy.


On Wed, Feb 11, 2015 at 11:33 AM, PMario  wrote:

> Hi Don,
>
> Can you tell us, what you want to do / achieve.
>
> -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 http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:jeremy.rus...@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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: to paste textNode as html

2015-02-11 Thread sini-Kit


> Ok. I have found the next problem . I can`t paste 2 sliders on one page 
> because their buttons will have the same id . I solve this problem by 
> adding random number to id.
>
 But I think it is not a good idea (but it works). How can I count how many 
times macros was run?  here is the demo 
http://novye-podarki.ru/heeg46.html#test2%201
here is my code  
http://novye-podarki.ru/heeg46.html#%24%3A%2Fcore%2Fmodules%2Fwidgets%2Fimg_slider2.js

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] TW5: Data Tiddler: Naming best practices

2015-02-11 Thread Tom
Good afternoon

I try to understand TW5 Data Tiddlers and I've found the very useful 
Website inmysocks.tiddlyspot.com. 
There is a "Contact" Data Tiddler - but it is named "ContactTemp" 
(http://inmysocks.tiddlyspot.com/#ContactTemp).

Therefore I have two questions:

   1. Until now, I used the name of a Business Object without any Prefix or 
   Suffx in any programming language to define its structure.
   » Is it a good idea to add a Suffix like "Temp" in TW5?
   
   2. If I start creating structures in TW5 (Data Tiddlers, Templates): 
   should I create a new plugin right from the beginning 
   or is it easy to move all the Tiddlers into a new plugin anytime later?
   
   (I think there are Text-References e.g. [[MyTemplate]] in which probably 
   must be updated if the Tiddlers are moved into a Plugin and therefore get a 
   new "Path" or "Namespace")
   
   
Thanks a lot for any help,
kind regards,
Tom






-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: to paste textNode as html

2015-02-11 Thread BJ
within your javascript you can have a global variable and increment that, 
use -

$tw.config.imagesliderplugin.instancecount++

On Wednesday, February 11, 2015 at 7:56:14 AM UTC-6, sini-Kit wrote:
>
>
> Ok. I have found the next problem . I can`t paste 2 sliders on one page 
>> because their buttons will have the same id . I solve this problem by 
>> adding random number to id.
>>
>  But I think it is not a good idea (but it works). How can I count how 
> many times macros was run?  here is the demo 
> http://novye-podarki.ru/heeg46.html#test2%201
> here is my code  
> http://novye-podarki.ru/heeg46.html#%24%3A%2Fcore%2Fmodules%2Fwidgets%2Fimg_slider2.js
>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Why are permalinks not enabled on all those cool TW5 Tipps & Tricks sites?

2015-02-11 Thread Jed Carty
I am going to be arrogant enough to think that you are including my site in the 
tips and tricks wikis. I had never really thought about if these settings would 
be useful so I never bothered. This is actually the first feedback like this I 
have gotten about the usability of the site aside from a comment from Tobias in 
the dev group this morning. I have updated 

Re: [tw] Why are permalinks not enabled on all those cool TW5 Tipps & Tricks sites?

2015-02-11 Thread Jeremy Ruston
Hi Tom

As to why we don't have automatically updating permalinks on tiddlywiki.com,
there's more detail in this recent issue from GitHub:

https://github.com/Jermolene/TiddlyWiki5/pull/1376

Basically, when we turned on automatically updating permalinks we had lots
of reports of user confusion that refreshing the page didn't reset it to
the condition when they first visited. I have it turned on in all my
personal TiddlyWiki projects, and find it very useful.

One possible response might be to enable automatically updated permalinks
by default in the core (and thus empty.html), but disable it for
tiddlywiki.com/index.html itself. We'd thus be switching things so that
sites/users would need to more consciously opt-out of the behaviour.

Best wishes

Jeremy.







On Wed, Feb 11, 2015 at 12:28 PM, Tom  wrote:

> Good afternoon
>
> It's probably a question for Quora, but maybe someone can explain this
> strange habitute of probably all those great TW5 Tipps & Tricks sites:
>
> Why don't they enable the two very useful settings for visitors:
>
>- automatically update Browser URL with the tiddlers permalink
>- automatically update the Site Name with the actual tiddlers Title
>
> Some sites even disable the possibility to generate a permalink!
>
>
> For visitors, activating those settings is very useful:
> they see a great tiddler - and can easily create a local bookmark by drag
> & drop.
>
> But almost every "TW5 Tipps & Tricks" Website does not use those settings.
> So it's annoying to create a bookmark:
>
>1. Open the Tiddlers extended Menu
>2. Activate the Permalink (if it's available)
>3. Drag & Drop the URL
>4. Rename the URL - probably to the Tiddlers Title...
>
>
> Is there anything behind the scene why I should not activate those great
> feartures?
>
> btw.: I alredy have collected 171 Tiddler-Links. Therefore I know it's
> really annoying to collect them ;-)
>
> Thanks for any enlightenment,
> kind regards,
> Tom
>
>  --
> 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 http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:jeremy.rus...@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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: CKEditor replace by class

2015-02-11 Thread BJ
ckeditor lazy loads its files, so the first time the editor is used there 
is a delay while these files are retrieved. Also ckeditor (as a default) 
loads the editor instances into iframes. My working assumption is that the 
(first use) iframe is taking longer to become ready because of this, and, 
for some (unknown) reason, the parent window is not waiting for it to be 
ready. - this would explain why sometimes there is a 'unknow' script error 
thrown. - the error comes from the iframe and for security the browser 
strip the error message (hence it is 'unknow') - probably the parent is 
sending a message to the iframe which causes it to reference some object 
that has yet to be loaded/ready.

I can think of a few ways to avoid this behavior (simplest is to use a 
local copy of the lib as you hint at) but not how to solve it (I cannot 
find a bug report for this on the net - so maybe it is tw5 specific)

Debugging this involves loading a dev version of the ckeditor and putting 
in some debug. Ckeditor is on the same level of complexity as tw5, so it 
may take me a lot of effort to track down the cause.

The issue is annoying but not serious, so it is on hold at the moment.

On Wednesday, February 11, 2015 at 2:41:03 AM UTC-6, Tobias Beer wrote:
>
> The CKEditor simply did not load. Apparently I needed to make a full 
>> refresh (Shift+reload) of Firefox for it to actually load, a simple refresh 
>> didn't cut it. Sorry for wasting your time.
>>
> Not sure what it is but I believe it needs some extra amount of time 
> initializing (over the web / in TiddlyWiki). First looking at things, it's 
> always either blank or entirely scrambled. After a bit it seems to yield 
> the expected editor.
>
> Best wishes, Tobias.
>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: CKEditor replace by class

2015-02-11 Thread Duarte Farrajota Ramos


On Wednesday, 11 February 2015 03:26:59 UTC, BJ wrote:
>
>
> There some issues - its not really WYSIWYG as it does not use the 
> tiddlywiki styles!
>
I am ok with that, it is close enough to the final result. Thanks for the 
tips.

This is most likely totally unrelated to the visual editor plugin itself 
and probably more to do with tiddlywiki in general, but one thing I noticed 
is that images inserted with html markup that use relative paths don't seem 
to display well in tiddlers.
I have my tiddlywiki html file and an image jpg file on the same folder, if 
I link to it inside CKEditor with something like  
or  it displays correctly while I am editing inside 
CKEditor, but once I save the tiddler the image is not found, then if I 
edit it again it displays correctly while inside CKEditor text area.
Using a complete file:/// uri seems to work fine but that is not very 
portable, wiki markup [img[image.jpg]]displays correctly too

Does tiddlywiki not support support this with HTML markup or am I doing 
something wrong?

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] TW5: Data Tiddler: Naming best practices

2015-02-11 Thread Jed Carty
I have been a bit inconsistent in my naming schemes, I am slowly getting around 
to updating everything. The ContactTemp tiddler holds the information currently 
entered in the new contact form before the actual contact tiddler is created. 
It doesn't need to be persistent which is why I put temp in the title. It 
doesn't actually follow the naming 
conventions I am trying to use and I should update it at some point.

As for plug-ins, they are only really useful for non-javascript things if you 
are going to be sharing them. I don't know if there is a benefit to packing 
tiddlers together otherwise. Namespaces don't really mean anything for 
tiddlywiki at the moment aside from this with names prefixed by $:/ are system 
tiddlers that don't show un in normal searches and tiddlers prefixed by 
$:/temp/ or $:/state/ are ignored when upgrading our importing tiddlers into a 
wiki. 

If a tiddler called Contacts is packed in a plugin it is still referenced by 
[[Contacts]] unless you change the content of the tiddler, in which case the 
modified one takes precidence, but deleting the modified version brings back 
the original. For this reason in many plugins the tiddlers in the plugin have 
$:/plugin/(username)/(pluginname)/ added as a prefix to avoid naming conflicts, 
but this is done by the plugin author and isn't required. 

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Puzzled by SVG Icons

2015-02-11 Thread Tobias Beer

>
> You can force an image to appear in the tag manager dropdown by giving it 
> the tag $:/tags/Image; that's how the core shadow images are made to 
> appear, too.
> 
>

Added here: Adding A Tag Icon @ tb5 


Best wishes, Tobias. 

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Can I create a TW based product with a CC licence?

2015-02-11 Thread Danielo Rodríguez
Hello,

Basically that is my Question. Can I create a tool based on TiddlyWiki with 
a Creative Commons licence?
Is it compatible with MIT licence? Does MIT licence have any advantage? 
Should I do something special to use the CC licence?

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Selecting all text displayed on a single tiddler

2015-02-11 Thread Danielo Rodríguez
Maybe you can just use the current keyboard widget to trap the key combination 
and address it to a widget of your choice. 

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: CKEditor replace by class

2015-02-11 Thread BJ
it works for me with the type text/x-htmlp (created as per the installation 
instructions) but not with text/html (which is in an iframe), you can test 
with a tiddler with type text/vnd.tiddlywiki and insert the html .
you can also look at the html that is produced from ckeditor by changing 
the type to text/plain.

On Wednesday, February 11, 2015 at 9:58:47 AM UTC-6, Duarte Farrajota Ramos 
wrote:
>
>
>
> On Wednesday, 11 February 2015 03:26:59 UTC, BJ wrote:
>>
>>
>> There some issues - its not really WYSIWYG as it does not use the 
>> tiddlywiki styles!
>>
> I am ok with that, it is close enough to the final result. Thanks for the 
> tips.
>
> This is most likely totally unrelated to the visual editor plugin itself 
> and probably more to do with tiddlywiki in general, but one thing I noticed 
> is that images inserted with html markup that use relative paths don't seem 
> to display well in tiddlers.
> I have my tiddlywiki html file and an image jpg file on the same folder, 
> if I link to it inside CKEditor with something like  src=".\image.jpg" /> or  it displays correctly 
> while I am editing inside CKEditor, but once I save the tiddler the image 
> is not found, then if I edit it again it displays correctly while inside 
> CKEditor text area.
> Using a complete file:/// uri seems to work fine but that is not very 
> portable, wiki markup [img[image.jpg]]displays correctly too
>
> Does tiddlywiki not support support this with HTML markup or am I doing 
> something wrong?
>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] TW5: Data Tiddler: Naming best practices

2015-02-11 Thread Danielo Rodríguez
In my opinion there is a big advantage in moving customizations into plugins. 
The very first one is that you can easily remove them, share them with your own 
tiddlywikys and basically give them a context where everything that is related 
is packed into a single thing. There are other advantages like you can edit the 
shadow tiddlers, for example for experiment, and if you mess something out you 
just have to delete your edited tiddler and you have the original one back. 

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Can I create a TW based product with a CC licence?

2015-02-11 Thread PMario
Hi Danielo,

I'm not a Lawyer, so the following text represent my understanding / 
opinion and may be wrong.

--- Some Info ---

TiddlyWiki uses the 3 clause BSD license [1]. It is a very permissive 
license. So you can do almost everything if the 3 clauses are met. Since 
the license text is hardcoded into TW, you basically don't need a separate 
tiddler with the license. .. But a link that mentions it from your license 
will help.

MIT license [2] is even more permissive. 
 - With BSD you *must include *the copyright notice.
 - With MIT you *shall *include the copyright notice. 

So you can include any MIT licensed SW into TW and declare your Software is 
BSD licensed, because that's allowed. ... but you can not change BSD to 
MIT, if you use 3rd party BSD software.  If you are the copyright 
holder (you wrote the SW) you can do whatever you want :)

CC - Creative Commons [3] is a set of licenses and tools [4] to create 
them. CC can be used for software and prose text.
With CC you can create very permissive licenses eg: CC-BY [5] and you can 
create very restrictive license eg: CC-BY-NC-SA [6]

Creative Commons licenses are easy to build.

CC .. Creative Commons
BY .. Attribution — You must give appropriate credit 

NC .. NonCommercial — You may not use the material for commercial purposes 
. 
SA .. ShareAlike — If you remix, transform, or build upon the material, you 
must distribute your contributions under the same license 
 as the original. 

-- Your question: Can I create a tool based on TiddlyWiki with a 
Creative Commons licence?

Yes. You can create a tool based on TiddlyWiki, as long as you keep the BSD 
license for TW itself. 
Plugins may have there own licenses eg: BSD, MIT, CC-BY ... shown in the 
control panel

Your own content can be CC-.. whatever you like. 

So you can create a prominent link to a License Tiddler with contains the 
info about the used licenses. 

eg: 

 - TiddlyWiki uses a BSD license 

 - Plugin licenses can be seen at the $:/ControlPanel
 - If not stated otherwise the content of this TW is available under the 
Creative 
Commons Attribution-ShareAlike License 

;

The above is just an example. 

-

Wikipedia uses CC-BY-SA

---

With TW it is possible that every tiddler can have its own license. .. This 
isn't very convenient, .. but it's possible. 

hope that helps
have fun!
mario

[1] http://en.wikipedia.org/wiki/BSD_licenses
[2] http://en.wikipedia.org/wiki/MIT_License
[3] http://creativecommons.org/ 
[4] http://creativecommons.org/choose/
[5] http://creativecommons.org/licenses/by/4.0/
[6] http://creativecommons.org/licenses/by-nc-sa/4.0/
[7] BSD template: http://opensource.org/licenses/BSD-3-Clause

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: to paste textNode as html

2015-02-11 Thread sini-Kit
I don`t found any information about "instancecount" there is no this word 
in tiddlywiki. where can I see how it to use.

среда, 11 февраля 2015 г., 18:33:28 UTC+3 пользователь BJ написал:
>
> within your javascript you can have a global variable and increment that, 
> use -
>
> $tw.config.imagesliderplugin.instancecount++
>
> On Wednesday, February 11, 2015 at 7:56:14 AM UTC-6, sini-Kit wrote:
>>
>>
>> Ok. I have found the next problem . I can`t paste 2 sliders on one page 
>>> because their buttons will have the same id . I solve this problem by 
>>> adding random number to id.
>>>
>>  But I think it is not a good idea (but it works). How can I count how 
>> many times macros was run?  here is the demo 
>> http://novye-podarki.ru/heeg46.html#test2%201
>> here is my code  
>> http://novye-podarki.ru/heeg46.html#%24%3A%2Fcore%2Fmodules%2Fwidgets%2Fimg_slider2.js
>>
>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Puzzled by SVG Icons

2015-02-11 Thread Andrew
Is there a way to get a tag icon to automatcally change to foreground or 
background color like the text does with contrast? Yellow and light blue for 
example. Or, is there a way to manually configure it?

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Can I create a TW based product with a CC licence?

2015-02-11 Thread PMario
IMO There is one more thing, that is important. 

If you published your content with a very permissive eg: BSD license you 
are pretty much nailed to it. ... Since the internet doesn't forget 
anything. ...

an example: 

 - If you publish your content with MIT 
 - I download it. I have it
 - The next day you publish it with CC-BY-SA ... That's possible --- BUT
 - I do own a valid MIT licensed version, with which I can do what I want. 

So it's very easy to make a license more permissive but the other way 
around is hard.

have fun!
mario


-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: CKEditor replace by class

2015-02-11 Thread Duarte Farrajota Ramos
Yes that is it, it's working fine now. Should have read the whole 
instructions.
Took me a while to figure out I had to manually type the content type into 
the text field because in won't show up on the list automatically

Thanks for the help.

On Wednesday, 11 February 2015 18:44:12 UTC, BJ wrote:
>
> it works for me with the type text/x-htmlp (created as per the 
> installation instructions) but not with text/html (which is in an iframe), 
> you can test with a tiddler with type text/vnd.tiddlywiki and insert the 
> html .
> you can also look at the html that is produced from ckeditor by changing 
> the type to text/plain.
>
> On Wednesday, February 11, 2015 at 9:58:47 AM UTC-6, Duarte Farrajota 
> Ramos wrote:
>>
>>
>>
>> On Wednesday, 11 February 2015 03:26:59 UTC, BJ wrote:
>>>
>>>
>>> There some issues - its not really WYSIWYG as it does not use the 
>>> tiddlywiki styles!
>>>
>> I am ok with that, it is close enough to the final result. Thanks for the 
>> tips.
>>
>> This is most likely totally unrelated to the visual editor plugin itself 
>> and probably more to do with tiddlywiki in general, but one thing I noticed 
>> is that images inserted with html markup that use relative paths don't seem 
>> to display well in tiddlers.
>> I have my tiddlywiki html file and an image jpg file on the same folder, 
>> if I link to it inside CKEditor with something like > src=".\image.jpg" /> or  it displays correctly 
>> while I am editing inside CKEditor, but once I save the tiddler the image 
>> is not found, then if I edit it again it displays correctly while inside 
>> CKEditor text area.
>> Using a complete file:/// uri seems to work fine but that is not very 
>> portable, wiki markup [img[image.jpg]]displays correctly too
>>
>> Does tiddlywiki not support support this with HTML markup or am I doing 
>> something wrong?
>>
>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: to paste textNode as html

2015-02-11 Thread BJ


On Wednesday, February 11, 2015 at 1:03:46 PM UTC-6, sini-Kit wrote:
>
> I don`t found any information about "instancecount" there is no this word 
> in tiddlywiki. where can I see how it to use.
>
> you need to add this in your code :

var Widget = require("$:/core/modules/widgets/widget.js").widget;
//code to add
$tw.config.imagesliderplugin = {};
$tw.config.imagesliderplugin.instancecount = 0;
//end of code to add
var AddUpWidget = function(parseTreeNode,options) {
this.initialise(parseTreeNode,options);

};

then use like this:

var Qslid = $tw.config.imagesliderplugin.instancecount++;

 

> среда, 11 февраля 2015 г., 18:33:28 UTC+3 пользователь BJ написал:
>>
>> within your javascript you can have a global variable and increment that, 
>> use -
>>
>> $tw.config.imagesliderplugin.instancecount++
>>
>> On Wednesday, February 11, 2015 at 7:56:14 AM UTC-6, sini-Kit wrote:
>>>
>>>
>>> Ok. I have found the next problem . I can`t paste 2 sliders on one page 
 because their buttons will have the same id . I solve this problem by 
 adding random number to id.

>>>  But I think it is not a good idea (but it works). How can I count how 
>>> many times macros was run?  here is the demo 
>>> http://novye-podarki.ru/heeg46.html#test2%201
>>> here is my code  
>>> http://novye-podarki.ru/heeg46.html#%24%3A%2Fcore%2Fmodules%2Fwidgets%2Fimg_slider2.js
>>>
>>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Puzzled by SVG Icons

2015-02-11 Thread Don Robertson

What I am trying to do is to get my icons to work the same way the 
tiddlywiki core icons work. 



Adding the tag $:/tags/Image makes it show up in the Tag manager. Think I 
knew that at some time ... %-|


Andrew: Don't see why this shouldn't work with any svg, but I got some 
icons from https://icomoon.io/app/#/select. Open the svg file in a text 
editor and remover the extraneous stuff. eg 



http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>

Then go through the rest of the code looking for 
 fill="#44"

Delete that. There could be a few of them depending on the image.

The tiddlywiki core svg's have  
class="tc-image-home-button tc-image-button" 

in the svg tag - eg


Some of mine do have it - but some don't, and they all seem to be working 
on my browser. 

Open a new tiddler, past the whole lot into it and give it a name. That 
should be it.

Add the tag as above, either don't set the type, or set it to 
text/vnd.tiddlywiki.

Save. 

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Why are permalinks not enabled on all those cool TW5 Tipps & Tricks sites?

2015-02-11 Thread Tom
Good evening Jed and Jeremy,

thanks a lot for your answers!, 
I assumend that some TW5 content providers just use TW as it is - and that 
nice TW features like automatic updated permalinks sometimes behaves 
strange for visitors. Now I know what to teach my visitors if they are 
worried :-)

Jed, your page is very useful because you offer a lot of practical, smart 
and working examples. Many TW sites are broken somewhere - and debugging is 
hard while trying to understand the basic concepts... And many sites use 
different Terms for the same thing (e.g. Structuring, Templates, Skeletons, 
DataTiddler or mix Widgets, AddOns, PlugIns, Macros and Scripts) - 
therefore it's great to have one place where everything look like it is 
used and named the way it was designed :-)

Kind regards,
Tom

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Selecting all text displayed on a single tiddler

2015-02-11 Thread Jed Carty
I am going to go with the solution Tobias gave for now since it is quick 
and easy to implement.

Stephan,

That does seem like it would be a good plugin. Learning how to implement 
that may be my next javascript learning project.

Danielo,

I have no idea how I would do that. Would it require creating a new widget 
message?

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Monthly View

2015-02-11 Thread RickL
This sounds like a solution, and is a bit like something I have used before 
- although mine was much more manual.  If you have a chance to create a 
sample I would like very much to see it.

Thanks

On Monday, February 9, 2015 at 2:08:32 PM UTC-5, Jed Carty wrote:
>
> Ahh, yes. I didn't understand what you wanted.
>
> Yes, you could make something that works the way you want without too much 
> trouble. It would use a calendar layout similar to what I made to list 
> things, then you would make a tiddler called yoga, or biking or whatever, 
> then you would add a tag for each day you did that activity and in each day 
> you would list every tiddler tagged with that day.
>
> If you wanted to have the same activity multiple times per day than you 
> would make your tiddler and give it a field named for each day, like 
> feburary_9, and then in that field put the number of times you did that 
> activity and then in the list you could display the name followed by the 
> number of times.
>
> The layout would probably be a dropdown menu that lists the activity types 
> already added with an option to add a new type, you select it from the 
> dropdown menu, select the date and enter the number of times then click add 
> and it would be added to the calendar. Is that the sort of thing you want? 
> It sounds like something that I could use too so making it wouldn't be a 
> problem.
>
> This probably doesn't help you at the moment, I will see about putting 
> something together later today or tomorrow.
>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Monthly View

2015-02-11 Thread RickL
I see how this works, and it would be nice - if I wanted another list.  I 
already have lists,  but I want to see them in Monthly View format.  I have 
thought about using a tag for each day then tagging the activity with the 
specific date tag.  Then I would need a simple way to gather those into the 
monthly format. I have been experimenting with filters but can't get 
anything to work.  I am hoping Jed's suggestion in the following post will 
be the solution.

On Monday, February 9, 2015 at 4:13:35 PM UTC-5, Tobias Beer wrote:
>
> Hi Rick,
>  
>
>> If you planned to prepare a specific dish and it was a favorite, you 
>> would likely prepare more than once per month.  Why would one want multiple 
>> copies of the same recipe with different titles?
>>
>
> That is precisely my point and question. If you end up with journal 
> entries having the same name, you're essentially not using journal entries 
> properly... they do need unique names... and so they actually do ask you if 
> you wish to overwrite the existing tiddler.
>
> You could have a tiddler tagged *journal* titled *2015-02-09* in the text 
> of which you link to *[[my special recipe]]* or which you also give the 
> tag *[[my special recipe]]*. However, you would not call the tiddler *[[my 
> special recipe]]*, if you will be making the same dish again and also tag 
> that one as *Journal*.
>
> Instead, what you might want is something like a conditional 
> viewtemplate...
>
> title: $:/.my/ui/ViewTemplate/journal-entries
> tag: $:/tags/ViewTemplate
> list-after: $:/core/ui/ViewTemplate/body
>
> <$list filter="[all[current]tagging[]tag[journal]sort[created]]">
> <$view field="created" format="date" template="-0MM-0DD"/>:
> <$link><$view field=title/>
> 
>
> I created a demo here: Related Journal Entries @ tb5 
> 
>
> Best wishes, Tobias.
>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: CKEditor replace by class

2015-02-11 Thread BJ
I have now updated the plugin to automatically create the type for the 
editor. If you update to the new version on http://bjtools.tiddlyspot.com 
you will find the type on the dropdown list of types.
cheers
BJ

On Wednesday, February 11, 2015 at 1:08:56 PM UTC-6, Duarte Farrajota Ramos 
wrote:
>
> Yes that is it, it's working fine now. Should have read the whole 
> instructions.
> Took me a while to figure out I had to manually type the content type into 
> the text field because in won't show up on the list automatically
>
> Thanks for the help.
>
> On Wednesday, 11 February 2015 18:44:12 UTC, BJ wrote:
>>
>> it works for me with the type text/x-htmlp (created as per the 
>> installation instructions) but not with text/html (which is in an iframe), 
>> you can test with a tiddler with type text/vnd.tiddlywiki and insert the 
>> html .
>> you can also look at the html that is produced from ckeditor by changing 
>> the type to text/plain.
>>
>> On Wednesday, February 11, 2015 at 9:58:47 AM UTC-6, Duarte Farrajota 
>> Ramos wrote:
>>>
>>>
>>>
>>> On Wednesday, 11 February 2015 03:26:59 UTC, BJ wrote:


 There some issues - its not really WYSIWYG as it does not use the 
 tiddlywiki styles!

>>> I am ok with that, it is close enough to the final result. Thanks for 
>>> the tips.
>>>
>>> This is most likely totally unrelated to the visual editor plugin itself 
>>> and probably more to do with tiddlywiki in general, but one thing I noticed 
>>> is that images inserted with html markup that use relative paths don't seem 
>>> to display well in tiddlers.
>>> I have my tiddlywiki html file and an image jpg file on the same folder, 
>>> if I link to it inside CKEditor with something like >> src=".\image.jpg" /> or  it displays correctly 
>>> while I am editing inside CKEditor, but once I save the tiddler the image 
>>> is not found, then if I edit it again it displays correctly while inside 
>>> CKEditor text area.
>>> Using a complete file:/// uri seems to work fine but that is not very 
>>> portable, wiki markup [img[image.jpg]]displays correctly too
>>>
>>> Does tiddlywiki not support support this with HTML markup or am I doing 
>>> something wrong?
>>>
>>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: CKEditor replace by class

2015-02-11 Thread Duarte Farrajota Ramos
Much better now, installation is a breeze.
Also just copied my personal config.js into $:/
plugins/bj/visualeditor/config.json so I got my own fully customized version

Thanks for the update, great addon


On Thursday, 12 February 2015 01:26:53 UTC, BJ wrote:
>
> I have now updated the plugin to automatically create the type for the 
> editor. If you update to the new version on http://bjtools.tiddlyspot.com 
> you will find the type on the dropdown list of types.
> cheers
> BJ
>
> On Wednesday, February 11, 2015 at 1:08:56 PM UTC-6, Duarte Farrajota 
> Ramos wrote:
>>
>> Yes that is it, it's working fine now. Should have read the whole 
>> instructions.
>> Took me a while to figure out I had to manually type the content type 
>> into the text field because in won't show up on the list automatically
>>
>> Thanks for the help.
>>
>> On Wednesday, 11 February 2015 18:44:12 UTC, BJ wrote:
>>>
>>> it works for me with the type text/x-htmlp (created as per the 
>>> installation instructions) but not with text/html (which is in an iframe), 
>>> you can test with a tiddler with type text/vnd.tiddlywiki and insert the 
>>> html .
>>> you can also look at the html that is produced from ckeditor by changing 
>>> the type to text/plain.
>>>
>>> On Wednesday, February 11, 2015 at 9:58:47 AM UTC-6, Duarte Farrajota 
>>> Ramos wrote:



 On Wednesday, 11 February 2015 03:26:59 UTC, BJ wrote:
>
>
> There some issues - its not really WYSIWYG as it does not use the 
> tiddlywiki styles!
>
 I am ok with that, it is close enough to the final result. Thanks for 
 the tips.

 This is most likely totally unrelated to the visual editor plugin 
 itself and probably more to do with tiddlywiki in general, but one thing I 
 noticed is that images inserted with html markup that use relative paths 
 don't seem to display well in tiddlers.
 I have my tiddlywiki html file and an image jpg file on the same 
 folder, if I link to it inside CKEditor with something like >>> src=".\image.jpg" /> or  it displays correctly 
 while I am editing inside CKEditor, but once I save the tiddler the image 
 is not found, then if I edit it again it displays correctly while inside 
 CKEditor text area.
 Using a complete file:/// uri seems to work fine but that is not very 
 portable, wiki markup [img[image.jpg]]displays correctly too

 Does tiddlywiki not support support this with HTML markup or am I doing 
 something wrong?

>>>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Monthly View

2015-02-11 Thread Jed Carty
Sorry, I ended up being busier than I expected. I put together an example 
of what I was talking about here 
http://inmysocks.tiddlyspot.com/#2014%20September:Running%20Yoga%20Biking%20%5B%5BMake%20Calendar%20Entry%5D%5D%20%5B%5B2014%20September%5D%5D

You can add activity types, then you select the one you want, give the date 
and the number of times and it will list it in the calendar. You will still 
have to manually change the calendar to fit each month, but that is only 
once a month and should be pretty straight forward if you look at the 
tiddler.

Does this fit what you want? I imagine that putting some effort into making 
a better presentation may be worthwhile, but it if you wait for me to do 
that it will probably be a while.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5: Data Tiddler: Naming best practices

2015-02-11 Thread Jed Carty
Another potentially important thing to remember for naming tiddlers, if a 
tiddlers name is prefixed with $:/temp/ or $:/state/ than changing it 
doesn't trigger the wiki telling you to save your changes. This is useful 
for things like select widgets where selecting a different option doesn't 
normally change the content of the wiki.

This only counts for indirect changes, like using a widget to set a field, 
if you open the editor for a tiddler named with $:/temp/ it will act just 
like any other tiddler as far as the wiki telling you it has been changes 
goes.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Monthly View

2015-02-11 Thread Jed Carty
Well that went a bit farther than I expected tonight.

I made a simple css class to display the months in a more reasonable way 
and added a feature that lets you see how many days each thing is listed 
under. If there are multiples of the same thing under a day that isn't 
counted yet because it requires some more complex stuff than the calc macro 
can do at the moment. If I ever get the MathyThing plugin working the way I 
want that will take care of it. Once version 5.1.8 comes out I will add the 
ability to page through months the way I have set up in the gallery demo I 
made.

I still have no way to automatically generate the calendar, but I am sure 
that someone already worked out the magic needed for that.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Can I create a TW based product with a CC licence?

2015-02-11 Thread Ed Dixon
My take on this is pretty much the same as Mario's would just add it is 
important to make sure you attribute the content from its source if other 
than your own, understand that regardless of what you may add to the 
material you can not change that license, that license is also applied to 
your efforts,  and also make it apparent preferably using the proper cc 
logos and emblems for that particular cc license that the material is cc 
and where it is available. TiddlyWiki's license does not override or change 
the cc license of the material it contains. But, as Mario said I am no 
lawyer either, but maybe that helps?  

Can not wait to see what you may be working on can you make any of the 
upcoming hangouts?

On Wednesday, February 11, 2015 at 12:08:33 PM UTC-7, PMario wrote:
>
> IMO There is one more thing, that is important. 
>
> If you published your content with a very permissive eg: BSD license you 
> are pretty much nailed to it. ... Since the internet doesn't forget 
> anything. ...
>
> an example: 
>
>  - If you publish your content with MIT 
>  - I download it. I have it
>  - The next day you publish it with CC-BY-SA ... That's possible --- BUT
>  - I do own a valid MIT licensed version, with which I can do what I want. 
>
> So it's very easy to make a license more permissive but the other way 
> around is hard.
>
> have fun!
> mario
>
>
>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Why are permalinks not enabled on all those cool TW5 Tipps & Tricks sites?

2015-02-11 Thread Tobias Beer
Hi Tom,
 

> Why don't they enable the two very useful settings for visitors:
>
>- automatically update Browser URL with the tiddlers permalink
>- automatically update the Site Name with the actual tiddlers Title
>
> Is what I am wondering, too, and why I opened...

#1376 — set url to current tiddler on tw.com 


...even though I had heard of those rumors about confusion.

I truly don't see based on what someone would have the expectation of 
bookmarking a startpage when one was clearly diving into a "site". Also, 
when I reload a page, I expect to see the page as it was and not some 
startpage.

You may want the "I always want to start clean" behavior for your own wiki, 
but for a website that seeks to benefit its visitors via addressing a 
currently viewed "page", I don't get it. We can sure discuss what the 
current "page" is. Personally, I'm in favor of it by default being the last 
tiddler rather than the entire story... if only for that much cleaner url.

Basically, when we turned on automatically updating permalinks we had lots 
> of reports of user confusion that refreshing the page didn't reset it to 
> the condition when they first visited. I have it turned on in all my 
> personal TiddlyWiki projects, and find it very useful.


I hope someone is registering all the votes of people who reasonably expect 
the behavior of most every (conventional) website. Because this is where 
the true™ confusion is!

As suggested in this comment 
, 
I do expect that — when I click the home button or visit the start page — 
to not see any hashes behind the base-url. For this, I have made another 
ticket for further discussion:

*#1498 — no hashes on home page*
https://github.com/Jermolene/TiddlyWiki5/issues/1498

One possible response might be to enable automatically updated permalinks 
> by default in the core (and thus empty.html), but disable it for 
> tiddlywiki.com/index.html itself.


The exact opposite is what needs to be done — *empty.html* is for the user 
to configure who may not need or want some auto-perma-thingy. Personally, I 
always turn it on with every single wiki. TiddlyWiki.com, however, is 
expected to behave like a conventional site, even if a Tiddlywiki... so, to 
not turn on some form of perma-linking is thoroughly limiting, confusing 
and challenging.

Imagine someone asking: Yeah, so now how do I share this "tiddler page" in 
Twitter, Facebook or Google Plus? Ah, so you say in some tiddler that 
somewhere there's some "permathingy" button for me to discover. Well, I 
guess for most that may be 10 steps ahead of their expectations or 
experience.

Best wishes, Tobias.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] using icon-fonts

2015-02-11 Thread Tobias Beer
Anyone yet done some deeper experimenting with using an icon font 
 for...

   - tiddler icons / tag buttons
   - command buttons

?

Would that perhaps be a (more) viable approach for the core as well, seeing 
as how rather costly that handful of core svg's are compared to something 
like FontAwesome  ... speeking in sheer 
filesize and perhaps also usability (in css).

Best wishes, Tobias.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: CKEditor replace by class

2015-02-11 Thread Tobias Beer
Hi BJ,

I just noticed that — while you can't put any macros — you can actually put 
widgets alongside html (in source mode). What you don't see is some 
placeholder in CKEditor that hints at you that it's there.

Now I am wondering whether CKEditor does allow for something like 
"widgets"... so we could at least see a placeholder with the widget code 
and upon clicking we'd be editing that core widget.

Perhaps a CKEditor plugin could be written that allows to insert and edit a 
number of TiddlyWiki widgets, even with placeholders for the corresponding 
attributes?

Best wishes, Tobias.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5: Data Tiddler: Naming best practices

2015-02-11 Thread Tobias Beer
Hi Tom,

One essential aspect of TiddlyWiki you must always keep in mind is that the 
*title* of a tiddler is its *ID*.

So, if you want to work with some template (or temporary state tiddler), 
then you should sure place it somewhere where it can act as such, 
namewise... preferably a SystemTiddler 
, e.g.

   - $:/temp/MyTemporaryBusinessObjectTemplateForEditingOneOfThisKind
   - $:/.tom/templates/MyBusinessObjectTemplateForCloning
   - $:/.tom/macros/MyBusinessObjectMacro

Something I still need to get started with is creating a plugin. Here you 
are advised to place your components in a namespace under your plugin...

   - $:/plugins/githubusername/myplugin/templates/foo
   - $:/plugins/githubusername/myplugin/macros/bar

As for StateTiddlers , you could 
create them under something like...

   - $:/temp/tom-businessobject-foo

The crucial thing is that you make sure of using a unique name where you 
rely upon it, so you could even create your temp tiddler under the above 
plugin namespace, if you want to be 100% sure.

Best wishes, Tobias.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5: Data Tiddler: Naming best practices

2015-02-11 Thread Tobias Beer

>
> Namespaces don't really mean anything for tiddlywiki at the moment aside 
> from this with names prefixed by $:/ are system tiddlers that don't show un 
> in normal searches and tiddlers prefixed by $:/temp/ or $:/state/ are 
> ignored when upgrading our importing tiddlers into a wiki.
>

I think you should reconsider this statement and think outside the Jed-Box. 
At some point, people will mix and mingle contents and plugins and macros 
from different sources and then, all of a sudden, proper namespacing is the 
most crucial aspect for things to keep working!

If a tiddler called Contacts is packed in a plugin it is still referenced 
> by [[Contacts]] unless you change the content of the tiddler, in which case 
> the modified one takes precidence, but deleting the modified version brings 
> back the original.


Shipping a tiddler called "Contacts" with a plugin is a really bad idea, 
because there's a big chance that it's going to be overwritten or far too 
generic to be unique to whichever function you associate with it.
 

> For this reason in many plugins the tiddlers in the plugin have 
> $:/plugin/(username)/(pluginname)/ added as a prefix to avoid naming 
> conflicts, but this is done by the plugin author and isn't required.


So, yes... it is quite "required"... if we want to ensure interoperability. 
There is a whole range of design decisions and developing patterns that are 
a consequence of this very basic requirement, a "caption" field being just 
a basic example.

Best wishes, Tobias.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Can I create a TW based product with a CC licence?

2015-02-11 Thread Tobias Beer
Hi Mario,

Thanks a lot for this most comprehensive wrap-up of a complicex topic.

Best wishes, Tobias.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Macro output includes line break if I use tiddler text as input

2015-02-11 Thread Danielo Rodríguez
Hello,

I have a problem I don't know how to solve. I have a macro that should use 
some text as input to simply put it inside other text. This text is hold in 
a tiddler text field. But if I call the macro like this:

<$macrocall $name="bash-script" $output="text/plain" 
database={{$:/status/selected-db}}/>

Y get a carriage return in the output. The macro is something like this

```
nohup sqlplus -s $username/$pass@$database$>$HOME/reports/$(basename 
$0).csv<< EOF &
```

What can I do? I tried using transclude widget as input with inline mode, 
and also text widget. If I use any of those I get true instead of the text 
it should receive.

Thanks in advance.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Can I create a TW based product with a CC licence?

2015-02-11 Thread Tobias Beer

>
> My take on this is pretty much the same as Mario's would just add it is 
> important to make sure you attribute the content from its source if other 
> than your own, understand that regardless of what you may add to the 
> material you can not change that license, that license is also applied to 
> your efforts
>

That last statement doesn't seem to be (generally) true. Nothing prevents 
using public content in closed source, unless explicitly prohibited.

Best wishes, Tobias.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.