[tw] Re: [TW5] BJ's VisualEditor Plugin - Syntax Highlighting in Code Snippets Created by CKEditor

2017-03-23 Thread AltugOz
Hi BJ,

Thanks and you are right! That code snippet works. However, this is because 
I made a mistake in my original post and somehow got the two code examples 
switch places. Sorry, this must have caused a lot of confusion. The html 
generated by ckeditor is the other one:

import base64
with open("t.png", "rb") as imageFile:
   str = base64.b64encode(imageFile.read())
   print str

The code snippet you tested was the one generated by highlight.js, which 
works as expected. 

So, the issue remains. There is currently no way that I am aware of, in 
which one can edit text in ckeditor that will also show up with syntax 
highlighting in the rendered tiddler. 

I understand that this is inherently due to the way ckeditor generates the 
html using its codesnippet add-on and has nothing to do with VisualEditor 
plugin. So, maybe we are out of luck in this case. 

Still I am very interested to know if there is another way to markup text 
in ckeditor (i.e. not using its code snippet add-on) that will show up as a 
syntax highlighted code snippet in Tiddlywiki, hopefully without jumping 
through too many hoops.

Best,

Altug

P.S. For completeness, I fix the description of problem in my original post 
as follows:

---
... I attached two screenshots, one with ckeditor 'editor view' and one 
with the rendered view of the resulting tiddler. Here are my observations:

1. Using ckeditor's codesnippet add-on: Syntax highlighting *works* in edit 
view, but doesn't show up in the resulting tiddler.

2. Code snippet with Wikitext markup and TW5 highlight.js plugin: The 
result is verbatim text with some html markup.

Here is the html source generated by case 1 i.e. using ckeditor and its 
codesnippet add-on:

import base64
with open("t.png", "rb") as imageFile:
   str = base64.b64encode(imageFile.read())
   print str

in comparison to what is generated using TW5 highlight.js plugin (in a 
separate tiddler where syntax highlighting works):
with open(
"t.png", "rb") as imageFile:
   str = base64.b64encode(imageFile.read())
   print str

...
---



On Thursday, March 23, 2017 at 8:03:31 AM UTC-4, BJ wrote:
>
> Hi Altug,
>
> If I go to http://tiddlywiki.com/plugins/tiddlywiki/highlight/ and paste 
> this html (i.e. your example) into a new tiddler it shows correctly. So I 
> guess that you have not got the tiddlywiki highlight plugin setup correctly.
>
> all the best
>
> BJ
>
>
> import 
> base64
>  
> with open(
> "t.png", "rb")  "hljs-keyword">as imageFile:
> str = base64.b64encode(imageFile.read())
> print str
>
>
>
> On Sunday, March 19, 2017 at 4:36:19 PM UTC+1, AltugOz wrote:
>>
>> Dear All,
>>
>> I have been using BJ's wonderful Visual Editor Plugin (
>> http://bjtools.tiddlyspot.com/#VisualEditor) to put down my notes in a 
>> WYSIWYG manner and I finally managed to get things work to my liking except 
>> for the appearance of the code snippets.
>>
>> My aim is to get a form of syntax highlighting in the resulting tiddler 
>> similar to the way done by highlight.js plugin in TW5 but using the 
>> CKEditor. I am using a custom build of CKeditor with the codesnippet add-on 
>> and also have thehighlight.js plugin installed on TW5 (5.1.13). 
>> Unfortunately I couldn't get it to work so far. I wonder whether anyone has 
>> tackled with this problem before or has suggestions on the direction to 
>> proceed.
>>
>> I attached two screenshots, one with ckeditor 'editor view' and one with 
>> the rendered view of the resulting tiddler. Here are my observations:
>>
>> 1. Using ckeditor's codesnippet add-on: Syntax highlighting *works* in 
>> edit view, but doesn't show up in the resulting tiddler.
>>
>> 2. Code snippet with Wikitext markup and TW5 highlight.js plugin: The 
>> result is verbatim text with some html markup.
>>
>> Here is the html source generated by case 1 i.e. using ckeditor and its 
>> codesnippet add-on:
>>
>> import 
>> base64
>>  
>> with open(> class="hljs-string">"t.png", "rb") 
>> as imageFile:
>> str = base64.b64encode(imageFile.read())
>> print str
>>
>> in comparison to what is generated using TW5 highlight.js plugin (in a 
>> separate tiddler where syntax highlighting works):
>> import base64
>>  
>> with open("t.png", "rb") as imageFile:
>> str = base64.b64encode(imageFile.read())
>> print str
>>
>> I am very new to html and js but those look quite different to me. Is 
>> there a way to reconcile the way CKEditor does syntax highlighting with the 
>> 'default' way TW5 does using the highlight.js plugin?
>>
>> I need to add that I have only found out about Tiddlywiki a few months 
>> ago but it has revolutionized the way I take and organize my notes! Plus 
>> the wonderful community that is active, creative and always willing to help.
>>
>> Thank you!
>>
>> Altug 
>>
>>
>>
>>
>>
>>
>>
>>
>>  
>>
>>
>>
>>

-- 
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 

Re: [tw] Voicing Futures ...

2017-03-23 Thread Arlen Beiler
Hi Jeremy,
It sounds like I didn't come across very clearly. I apologise. Hopefully
this will help clarify.

Even the server and online versions download everything in few files and
the core idea again is one file.

I think here you are referring to the configuration where the server serves
a full TW HTML file to the browser. That’s not the only configuration that
is supported.


I was actually referring to noteself and TW5 in the sky as well. Tank would
be an exception. Perhaps I should look that one up again.


I don’t understand the comparison to Mediawiki. TiddlyWiki doesn’t have the
same goals as MediaWiki. Why would it? We already have MediaWiki, so I’m
not interested in re-inventing it. TiddlyWiki is trying to do something
different.


I'm comparing it to MediaWiki because that is what I know. I would like to
find a way to implement multi-user. Maybe I should broaden my horizons :)

So I don't think our browser conundrum is going to be too much of a hold
up. It will only change the way things work, but they can still work just
as fast.

I think we’re coming from the same place here: the plethora of different
configurations that TiddlyWiki supports means that we can be confident that
it can be adapted to keep working into the far future.


That was actually the thrust of the entire email. Obviously it didn't come
across very clearly. My apologies :)

I was basically trying to say that is is very single file oriented (whereas
MediaWiki is very database oriented) therefore it is easy to switch
platforms (browsers themselves aren't going anywhere). Anything can serve
one file -- especially one that can generate itself.

The NodeJS system can generate almost anything. So between those two we
should be good.

Best wishes to you too :) I appreciate all the effort you've put into
Tiddlywiki :)

-- 
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/CAJ1vdSSmv_K4OgBtrYD65mU8H7S4eyccAEaagMAMTWjVTNiULQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Add CSS to html tags in edittemplate?

2017-03-23 Thread David Gifford
Thanks Mat, and thanks Ste

On Thursday, March 23, 2017 at 7:24:53 PM UTC-6, Mat wrote:
>
> Yes, the I believe the codemirror plugin does this (and more). You find it 
> in the plugin library.
>
> In general, you can't style content in a textarea but there are tricks 
> like this;
>
> http://codersblock.com/blog/highlight-text-inside-a-textarea/
>
> <:-)
>

-- 
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/915cb4fa-a022-47cb-a2f9-79c31656408d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Add CSS to html tags in edittemplate?

2017-03-23 Thread Mat
Yes, the I believe the codemirror plugin does this (and more). You find it 
in the plugin library.

In general, you can't style content in a textarea but there are tricks like 
this;

http://codersblock.com/blog/highlight-text-inside-a-textarea/

<:-)

-- 
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/5fd1423c-cb3a-44c4-9291-1c5948889bb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [NEW plugin] TW5 Search and Replace

2017-03-23 Thread David Szego
Danielo, really nice work. Can I suggest you turn it into an editor button 
to reveal/hide the existing UI? It would be less intrusive than the 
always-present bar you have now.

Cheers,
David.

On Thursday, 23 March 2017 08:40:24 UTC-4, Danielo Rodríguez wrote:
>
> Glad it finally worked
>

-- 
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/bba046a9-79f6-485e-b1d2-5aca9fc380af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Core drag-and-drop improvements

2017-03-23 Thread Mat
Updating my error report from a few days ago.  Can anybody confirm these 
problems:

Win10
- drag tagpill into sidebar does not work in Edge or IE. (It works in FF 
and Chrome!)
- red JS error in Edge when attempting to use drag'n drop all togehter. 
Error message "Element not found"

Prevously, the tagpill part also didn't work for FF, for me. In other 
words, the problems now seem limited to Edge or IE, which are historically 
not the best browsers for TW anyway. 

<:-)

-- 
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/5eea19f3-11c5-429c-83f5-db41cb9a969b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Anyone interested in a Bay Area (San Francisco) TiddlyWiki MeetUp -- late afternoon / evening March 26 or March 28?

2017-03-23 Thread Ste Wilson
I have but not had much of chance to dabble with it yet. 
Looks interesting and useful. 

-- 
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/622fd61b-f765-4f1e-a391-2b3a4d69c296%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Add CSS to html tags in edittemplate?

2017-03-23 Thread Ste Wilson
Wasn't there a code mark up plug in.. Have a look in the Reddit list riz set 
up. 

-- 
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/2bd7fb6e-38cc-4f9a-9493-070877c8568c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] New Tiddlers have no type set

2017-03-23 Thread Captain Packers
Is there a new tiddler template somewhere where the default can be set?

On Thursday, March 23, 2017 at 4:12:09 PM UTC-4, Captain Packers wrote:
>
> I'm just wondering why some have a type set and some don't. Will this vary 
> from browser to browser and platform to platform (I'm running node.js 
> tiddlywiki on Android, windows, and Unbutu systems and syncing the tiddlers 
> to Google Drive).
>
> On Thursday, March 23, 2017 at 3:55:28 PM UTC-4, Jed Carty wrote:
>>
>> That shouldn't cause any trouble anywhere, so unless you actually see a 
>> problem from it I don't think you need to worry.
>>
>

-- 
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/0b238d5b-43e8-44d4-9ac8-2e8405d4c94e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] New Tiddlers have no type set

2017-03-23 Thread Captain Packers
I'm just wondering why some have a type set and some don't. Will this vary 
from browser to browser and platform to platform (I'm running node.js 
tiddlywiki on Android, windows, and Unbutu systems and syncing the tiddlers 
to Google Drive).

On Thursday, March 23, 2017 at 3:55:28 PM UTC-4, Jed Carty wrote:
>
> That shouldn't cause any trouble anywhere, so unless you actually see a 
> problem from it I don't think you need to worry.
>

-- 
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/42032130-7d5c-49e3-b0bc-1a047343deab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] New Tiddlers have no type set

2017-03-23 Thread Jed Carty
That shouldn't cause any trouble anywhere, so unless you actually see a 
problem from it I don't think you need to worry.

-- 
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/7eafb9d5-ebab-49d0-a096-9ad6a3f03d64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5]is it possible to remove all empty fields from tiddlers?

2017-03-23 Thread David Szego

On Thursday, 23 March 2017 04:52:59 UTC-4, Siniy-Kit wrote:
>
> ... open TW5 by notepad and use find and replace to delete myfield=""
>

Not a bad solution at all, probably took you a whole 30 seconds total. 

-- 
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/9bca5d58-5173-45c1-8655-4afec93723de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] New Tiddlers have no type set

2017-03-23 Thread Captain Packers
I recently noticed that when I create new tiddlers, the Type is no longer 
being set to text/vnd.tiddlywiki by default. How can I correct that? Do I 
need to?

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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2503d9a8-3652-4491-b820-a5c65954809b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: AutoPill (beta) - Parser to automatically turn any word into a tag pill (if it's a tag)

2017-03-23 Thread @TiddlyTweeter
I'm not ignoring it. Its just the particular implementation is not so 
useful to me. BUT I am very interested in how to automate taggery. Both 
FROM extant TW Tags and TO freshly create new Tags.

My particular use case is being into Twitter. I often author using 
#hashtags in text. The little gizmo that you looked at before from 
tesseract was part written in reply to me about how to automate creation of 
TW Tags from Twitter posts written in TW with #hashtags. A few interesting 
cases came up like #Buddhist & #buddhist (equivalent on Twitter) end up in 
TW as both "buddhist" & "Buddhist" tags. 

The mechanism to only deal with strings starting with a delimiter I do 
think has value. A possible issue with your implementation is Taggitis? :-).

NOT that this is that much to do with what you are doing, but I thought it 
worth mentioning.

Best wishes, and interest
Josiah

On Thursday, 23 March 2017 16:07:05 UTC+1, David Szego wrote:
>
> Bump ... Much more usable version, go give it a try if you haven't 
> already, or update the .js Tiddler if you've been playing with it.
>
> Cheers,
> David.
>

-- 
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/55080556-9273-49dd-9636-22df4b29bd7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] for genealogy and LDS microfilm records

2017-03-23 Thread David Szego


Hi all,

I've been using TW5 to index a couple of thousand scans I have of 
microfilms from familysearch.org and the LDS.

What I've done is taken various common layouts of these birth, marriage and 
death records, and created view & edit template-Tiddlers. 

These allow you to enter one record entry per Tiddler, in a fixed and 
standardized format.
Each field is then a Tiddler field which you can search/filter on.


Example view:



















Example edit:



There is also a handy sidebar for managing records, with a drop-down to 
create a new record of any type.

If this is of use to anyone, let me know and I can go into details.

Available here:

http://david.szego.me/genealogy.html#Birth%20-%20Beinhaker%20Arnold%20Zsigmond%20Zinger%20Antone%20-%20Grunfeld%20Hermin%20Jakab%20Samek%20Hani%20-%201898-99%20Jablonica%20(2):%5B%5BBirth%20-%20Beinhaker%20Arnold%20Zsigmond%20Zinger%20Antone%20-%20Grunfeld%20Hermin%20Jakab%20Samek%20Hani%20-%201898-99%20Jablonica%20(2)%5D%5D%20Records

Cheers,
David.

-- 
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/3c22e831-4c29-4778-a20e-c4b877e35a2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Don't get along with ExternalImages and NodeJS

2017-03-23 Thread 'Daniel S.' via TiddlyWiki
Hello, 

it seems that its not possible to achieve what i want with just tiddlywiki 
and nodejs. Since nodejs cannot serve local files, its not possible to see 
external images in tiddlywiki when they are located on your hdd. So i have 
to either externalize my images on a webserver or to work without nodejs 
and local images. 

Very unfortunate but thank you very much. 

-- 
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/54ff3fe5-a28b-421b-9116-7ffab234d8b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Don't get along with ExternalImages and NodeJS

2017-03-23 Thread Xavier Cazin
Hello Daniel,

Did you have a look at
http://tiddlywiki.com/prerelease/#tiddlywiki.files%20Files, and especially
the Example section ? As stated there, the processing of tiddlywiki.files
files has been ehanced recently. I'm only experienced with simple forms of
tiddlywiki.files, but its avanced features may help you achieve what you
want.

Best regards,
Xavier.

-- Xavier Cazin

On Thu, Mar 23, 2017 at 12:03 PM, 'Daniel S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> Hi Guys,
>
> i know there have been a lot of questions about this topic here in the
> forum but i still don't get whats possible and how to achieve it in regard
> to ExternalImages and NodeJS.
>
> Situation: I am running Tiddlywiki with NodeJS and i want to only use
> external images (due to performance reasons). But i don't know how to do
> it. I tried to create an Image Tiddler with a canonical uri which points to
> the absolute path of the image but the Image Tiddler doesn't show anything.
> I also created a folder mynewwiki/tiddlers/images and tried to set the
> canonical uri on a relative path but that doesn't work either.
>
> I think there is a misunderstanding from my side how this works in
> general. So maybe you can help me with that.
>
>
> Best regards.
>
> --
> 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/61dfd3b8-094b-45f7-93ce-c3b102ecce9d%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/CADeSwYM-VhX%2BfYe8rDrUvi1gR-8tGq%3DCd%3DqVqOTBgGA_jDuQSQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: AutoPill (beta) - Parser to automatically turn any word into a tag pill (if it's a tag)

2017-03-23 Thread David Szego
Bump ... Much more usable version, go give it a try if you haven't already, 
or update the .js Tiddler if you've been playing with it.

Cheers,
David.

-- 
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/873c7c25-4442-4841-84da-464ce932465c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Dynamic Photo Album

2017-03-23 Thread BJ
if you use firefox or chrome there is an extension called tiddlyclip that 
can create a 'canonical' tiddler for a photo with a single click, 
http://tiddlyclip.tiddlyspot.com/#Creating%20Local%20Media%20Links
cheers
BJ

On Tuesday, March 21, 2017 at 5:27:52 PM UTC+1, Jon Cramer wrote:
>
> Hello All,
>
> I am currently working on a project using TiddlyWiki for a college course 
> at SUNY Polytechnic Institute. I will be creating a dynamic photo album of 
> my daughter's first 4 years by adding dynamic navigation. Users will be 
> able to filter by Age, Activity, and Season based on tags, and have the 
> ability to navigate photos using first, previous, next, last controls. 
>
> I am looking for a way to import multiple photos at once to save some 
> time. If anyone has an idea of how I would do this I would greatly 
> appreciate some feedback. Thanks in advance!
>
> Jon
>

-- 
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/b3c689d2-42fd-4c77-98f0-54eae2c8d385%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Add CSS to html tags in edittemplate?

2017-03-23 Thread David Gifford
Hi all

I am adding a lot of html tags in certain tiddlers. Is there a plugin or 
CSS I could add so that any markup text, that is, text between < and > 
could be viewed as a different color in the text field when editing a 
tiddler?

-- 
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/17de1d95-9897-49ff-8971-a963efbb520e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Anyone interested in a Bay Area (San Francisco) TiddlyWiki MeetUp -- late afternoon / evening March 26 or March 28?

2017-03-23 Thread Jan Johannpeter
Hi Stephen and Steven,
I won't make it to the bay-area either but I Share your interest for the
educational/scientific Use of TW.
Would be nice to stay in Contact about that topic. Have you had a Look at
slidesnstories.Tiddlyspot.com?
Jan
Stephen Wilson  schrieb am Mi. 22. März
2017 um 09:53:

> Not in the bay area but using tiddlywiki in education if you wanted to
> correspond about that.
>
> stephenteacher.tiddlyspot.com/
>
> Stephen
>
>
> On Wednesday, 22 March 2017 00:05:51 UTC, Steven Schneider wrote:
>
> Hi folks, a bit of a long shot, but...I'll be in San Francisco next week
> and would be interested in meeting up with any TiddlyWiki users. I'll be
> arriving in Sunday afternoon around 3. I could also meet up with folks on
> Tuesday 3/28 after 3, before my 9pm departure.
>
> I'm especially interested in meeting folks interested in developing open
> educational resources using TiddlyWiki, including open source "writeable"
> textbooks, or any other University uses. I've been directing the
> DesignWriteStudio  for a while. The Studio
> provides support for those interested in learning how to use TiddlyWiki,
> and tries to forge collaborations with educators or others who find TW
> interesting (I realize I'm preaching to the choir in this group...).
>
> So -- if anyone has some sort of co-working space (I might stay at the 
> StartUpBaseCamp
> Hotel , which comes with work
> space) with decent wifi and feels like sitting around a table talking
> TiddlyWiki on either Sunday or Tuesday in the Bay Area -- let me know!
>
> //steve.
>
> --
> 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/27fb504a-10fe-4796-9524-02f46f757e2b%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/CALdpFy0_%3DYhy8dG74832qhY3Oeqa1iMunQ2nxzVy-Fwv%2Baf%3Dgg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Don't get along with ExternalImages and NodeJS

2017-03-23 Thread PMario
On Thursday, March 23, 2017 at 12:03:06 PM UTC+1, Daniel S. wrote:
>
> I think there is a misunderstanding from my side how this works in 
> general. So maybe you can help me with that. 
>

The tiddlywiki --server command is no general purpose file server. That's 
why your images are not served. There are some open pull requests to 
improve the "asset" serving behaviour, but they are not merged yet. ... 
There is no info atm, if they ever will 

-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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4ec5a92a-eac3-47ea-bdb9-f2f6b7e5076c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Dynamic Photo Album

2017-03-23 Thread @TiddlyTweeter
Ciao Jon

I think Jed & Atul are right that using an external program is likely the 
best way to go.

I would like to add: Depending on what type of graphic files they are they 
may contain useful meta-data (title, subject, date of shot etc. anything 
you want, really) that can help you generate all you need.

FWIW, for something like this I would initially use an EXIF editor to embed 
needed data into the photos themselves. Then use an EXIF data extractor to 
pull it out that into some form, like XLSX, that can be imported as one 
record per photo. All the Tiddler fields would then be ready populated with 
what you need.

Likely the critical factor is HOW MANY are there? Whether its worth gong 
through this process rather than doing them one by one.  

Best wishes
Josiah

On Tuesday, 21 March 2017 17:27:52 UTC+1, Jon Cramer wrote:
>
> Hello All,
>
> I am currently working on a project using TiddlyWiki for a college course 
> at SUNY Polytechnic Institute. I will be creating a dynamic photo album of 
> my daughter's first 4 years by adding dynamic navigation. Users will be 
> able to filter by Age, Activity, and Season based on tags, and have the 
> ability to navigate photos using first, previous, next, last controls. 
>
> I am looking for a way to import multiple photos at once to save some 
> time. If anyone has an idea of how I would do this I would greatly 
> appreciate some feedback. Thanks in advance!
>
> Jon
>

-- 
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/de693eb8-4f96-4765-b6c8-effb6de98595%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [NEW plugin] TW5 Search and Replace

2017-03-23 Thread Danielo Rodríguez
Glad it finally worked

-- 
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/43fe2215-46c9-42ba-8228-64e77407d848%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Core drag-and-drop improvements

2017-03-23 Thread Thomas Elmiger
Hi Jeremy

I have only a minor issue with the demo: When I point on the left of a list 
item and drag, it works as expected – when I point on the right side of an 
element it *jumps* to the right when I start dragging so that it feels much 
less smooth. 

Great features!
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/ee68f748-ae7b-4483-a59c-466d6204c954%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] BJ's VisualEditor Plugin - Syntax Highlighting in Code Snippets Created by CKEditor

2017-03-23 Thread BJ
Hi Altug,

If I go to http://tiddlywiki.com/plugins/tiddlywiki/highlight/ and paste 
this html (i.e. your example) into a new tiddler it shows correctly. So I 
guess that you have not got the tiddlywiki highlight plugin setup correctly.

all the best

BJ


import 
base64
 
with open(
"t.png", "rb") as imageFile:
str = base64.b64encode(imageFile.read())
print str



On Sunday, March 19, 2017 at 4:36:19 PM UTC+1, AltugOz wrote:
>
> Dear All,
>
> I have been using BJ's wonderful Visual Editor Plugin (
> http://bjtools.tiddlyspot.com/#VisualEditor) to put down my notes in a 
> WYSIWYG manner and I finally managed to get things work to my liking except 
> for the appearance of the code snippets.
>
> My aim is to get a form of syntax highlighting in the resulting tiddler 
> similar to the way done by highlight.js plugin in TW5 but using the 
> CKEditor. I am using a custom build of CKeditor with the codesnippet add-on 
> and also have thehighlight.js plugin installed on TW5 (5.1.13). 
> Unfortunately I couldn't get it to work so far. I wonder whether anyone has 
> tackled with this problem before or has suggestions on the direction to 
> proceed.
>
> I attached two screenshots, one with ckeditor 'editor view' and one with 
> the rendered view of the resulting tiddler. Here are my observations:
>
> 1. Using ckeditor's codesnippet add-on: Syntax highlighting *works* in 
> edit view, but doesn't show up in the resulting tiddler.
>
> 2. Code snippet with Wikitext markup and TW5 highlight.js plugin: The 
> result is verbatim text with some html markup.
>
> Here is the html source generated by case 1 i.e. using ckeditor and its 
> codesnippet add-on:
>
> import 
> base64
>  
> with open( class="hljs-string">"t.png", "rb") 
> as imageFile:
> str = base64.b64encode(imageFile.read())
> print str
>
> in comparison to what is generated using TW5 highlight.js plugin (in a 
> separate tiddler where syntax highlighting works):
> import base64
>  
> with open("t.png", "rb") as imageFile:
> str = base64.b64encode(imageFile.read())
> print str
>
> I am very new to html and js but those look quite different to me. Is 
> there a way to reconcile the way CKEditor does syntax highlighting with the 
> 'default' way TW5 does using the highlight.js plugin?
>
> I need to add that I have only found out about Tiddlywiki a few months ago 
> but it has revolutionized the way I take and organize my notes! Plus the 
> wonderful community that is active, creative and always willing to help.
>
> Thank you!
>
> Altug 
>
>
>
>
>
>
>
>
>  
>
>
>
>

-- 
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/ab86ac62-07cf-49b4-a596-204848a8f0a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Dynamic Photo Album

2017-03-23 Thread Jed Carty
unfortunately I think that the answer to how to do this is to use some 
external program like Atul suggested. Perl and bash could both create 
either .tid files with _canonical_uri or a singe json file containing all 
of them that you could then import, but writing the script would require a 
bit of coding knowledge.

-- 
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/db12a642-352f-46ed-9cc7-479021ea9b33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Don't get along with ExternalImages and NodeJS

2017-03-23 Thread 'Daniel S.' via TiddlyWiki
Hi Guys,

i know there have been a lot of questions about this topic here in the 
forum but i still don't get whats possible and how to achieve it in regard 
to ExternalImages and NodeJS.

Situation: I am running Tiddlywiki with NodeJS and i want to only use 
external images (due to performance reasons). But i don't know how to do 
it. I tried to create an Image Tiddler with a canonical uri which points to 
the absolute path of the image but the Image Tiddler doesn't show anything. 
I also created a folder mynewwiki/tiddlers/images and tried to set the 
canonical uri on a relative path but that doesn't work either. 

I think there is a misunderstanding from my side how this works in general. 
So maybe you can help me with that. 


Best regards.

-- 
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/61dfd3b8-094b-45f7-93ce-c3b102ecce9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Core drag-and-drop improvements

2017-03-23 Thread Xavier Cazin
H
​i Jeremy,
​

>
> After playing with it for a while, a request for an additional
> functionality arose: being able to restrict the dragged tiddlers to be
> accepted in certain droppable areas while being refused in others. I guess
> I could use a state parameter with the <$draggable> widget, and
> whitelist/blacklist parameters with the <$droppable> widget.
>
>
> That’s my thinking too. I think we need two capabilities:
>
> * Adding a “type” attribute to the draggable widget, and an “acceptType”
> attribute to the droppable widget
> * Adding a filter to the droppable widget that is applied to incoming
> tiddlers so that they can be checked (eg only accepting tiddlers with a
> given tag)
>

​Yes!​


> Also, for the record, being able to use drag and drop on phones and
> tablets would be nice :-)
>
>
> I did find this shim that implements the HTML5 drag and drop APIs on
> mobile browsers, both iOS and Android:
>
> https://github.com/timruffles/ios-html5-drag-drop-shim
>
> Does the demo work for you?
>
> http://timruffles.github.io/ios-html5-drag-drop-shim/enter-leave/
>

​Indeed, the demo works very smoothly on every browsers I have got
installed on my Android 5.1 phone!

Have a good day
​-- Xavier​.

-- 
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/CADeSwYOKXiZiMJS9dXqk-n5mF54yiic3By-_yzEMU_0axqc4qw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Core drag-and-drop improvements

2017-03-23 Thread Jeremy Ruston
Hi Xavier

Thanks for the feedback

> After playing with it for a while, a request for an additional functionality 
> arose: being able to restrict the dragged tiddlers to be accepted in certain 
> droppable areas while being refused in others. I guess I could use a state 
> parameter with the <$draggable> widget, and whitelist/blacklist parameters 
> with the <$droppable> widget.

That’s my thinking too. I think we need two capabilities:

* Adding a “type” attribute to the draggable widget, and an “acceptType” 
attribute to the droppable widget
* Adding a filter to the droppable widget that is applied to incoming tiddlers 
so that they can be checked (eg only accepting tiddlers with a given tag)

> Also, for the record, being able to use drag and drop on phones and tablets 
> would be nice :-)

I did find this shim that implements the HTML5 drag and drop APIs on mobile 
browsers, both iOS and Android:

https://github.com/timruffles/ios-html5-drag-drop-shim

Does the demo work for you?

http://timruffles.github.io/ios-html5-drag-drop-shim/enter-leave/

Best wishes

Jeremy

> 
> Cheers,
> 
> -- Xavier Cazin
> 
> On Mon, Mar 20, 2017 at 11:53 PM, Jeremy Ruston  > wrote:
> Many thanks for the feedback. I’ve posted an update to 
> http://tiddlywiki.com/prerelease  with a 
> few changes:
> 
> * Added support for dragging items to the end of lists
> * Added support for using drag and drop to reorder toolbar buttons in Control 
> Panel, Appearance, Toolbars
> * Added some macros for draggable lists:
> ** based on a list field: 
> list-links-draggable(tiddler,field:"list",type:"ul",subtype:"li",class:"",itemTemplate)
> ** based on a tags field, with sorting via the companion list field: 
> list-tagged-draggable(tag,itemTemplate)
> * Fixed: Lack of [[quoting]] for tiddler titles dragged into a text box, 
> reported by Mat
> * Fixed: Crash with dragging text snippets, reported by Mario
> 
> I’d welcome any thoughts about other opportunities to improve other areas of 
> the UI with drag and drop.
> 
> Best wishes
> 
> Jeremy
> 
> 
> 
>> On 20 Mar 2017, at 16:45, Alex Hough > > wrote:
>> 
>> Excellent!
>> Well done Jeremy and BJ!
>> 
>> 
>> 
>> Alex
>> 
>> On 20 March 2017 at 12:25, Matthew Lauber > > wrote:
>> Ooh, I have some things to build with this Thanks Jeremy!
>> 
>> Matt
>> 
>> On Sunday, March 19, 2017 at 3:51:21 PM UTC-4, Jeremy Ruston wrote:
>> I’m very happy to announce much better core support for drag-and-drop in 
>> 5.1.14, with quite a few new features for end users:
>> 
>> * drag and drop the entries in the “open” sidebar list to rearrange the 
>> ordering of the open tiddlers
>> * drag tiddler titles into the “open” sidebar list to open those tiddlers at 
>> a chosen position in the story river
>> * drag and drop the entries in a tag dropdown to rearrange the ordering of 
>> the tagged items
>> * drag tiddler titles into the open tag dropdown to add that tag to those 
>> tiddlers
>> * drag a tag pill to drag all of the tiddlers that carry that tag. This 
>> feature can be used to drag multiple tiddlers between wikis in separate 
>> windows, or to drag multiple items in the scenarios above
>> 
>> I’ve posted a prerelease so that you can try the new functionality; I’d 
>> welcome any feedback:
>> 
>> http://tiddlywiki.com/prerelease 
>> 
>> I’ve yet to add any documentation for the components that make up these new 
>> features:
>> 
>> * <$draggable> widget
>> * <$droppable> widget
>> * insertbefore filter operator
>>  
>> You can see the detailed changes in the commit log:
>> 
>> https://github.com/Jermolene/TiddlyWiki5/commit/eba1c3c160c63ac3dfc15f55df086971a832d657
>>  
>> 
>> 
>> Drag-and-drop has been on the todo list for a long time. BJ released an 
>> enhancement of the list widget that supported drag and drop a year or two 
>> ago, and it had been my itntention to engineer it into the core. As it has 
>> turned out, the eventual implementation is more granular, adding a handful 
>> of new primitives that can be combined together and with existing components 
>> to produce various effects.
>> 
>> 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+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 

[tw] Re: [TW5]is it possible to remove all empty fields from tiddlers?

2017-03-23 Thread Siniy-Kit
Thank you Jed, your <$list filter='[!is[system]]'> works good. But I had 
14000 tiddlers in my tw5 (61mb weight)
so this macros say "good bye" and only I can do - open TW5 by notepad and 
use find and replace to delete myfield=""

 

среда, 22 марта 2017 г., 14:36:13 UTC+3 пользователь Jed Carty написал:
>
> Yes, but be very careful with this!! The version that works on all 
> tiddlers may cause unexpected problems if you have a large wiki do to 
> rendering issues.
>
>
> This will list all the fields in the current tiddler that are empty, it 
> works well:
>
>
> <$list filter='[fields[]]' variable=fieldName>
> <$list filter='[!has]'>
> <>
> 
> 
>
>
> This will remove all empty fields from the current tiddler, it works:
>
> <$button>doo EET!!
> <$list filter='[fields[]]' variable=fieldName>
> <$list filter='[!has]'>
> <$action-deletefield $field=<>/>
> 
> 
> 
>
>
> This will remove all the empty fields in all tiddlers, if it ever renders:
>
> <$button>doo EET glow BALL eye!!
> <$list filter='[!is[system]'>
> <$list filter='[fields[]]' variable=fieldName>
> <$list filter='[!has]'>
> <$action-deletefield $field=<>/>
> 
> 
> 
> 
>
> it takes a few seconds to render on tiddlywiki.com, and then a few 
> seconds to actually finish, but it seems to work. When I used '[all[]]' as 
> the outer filter instead of '[!is[system]]' it changed some plugin tiddlers 
> so I don't trust that. And I wouldn't trust this much ether unless you have 
> some way to test that it didn't break anything.
>

-- 
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/fce60149-3c95-4994-93d1-d12e2961870c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Voicing Futures ...

2017-03-23 Thread Jeremy Ruston
Hi Arlen

> 
> The tiddlywiki architecture is inherently single file.

I’d respectfully disagree with that statement.

TiddlyWiki 5 has a chicken and egg architecture: the Node.js configuration is 
the chicken; the egg that it produces is the standalone single file 
configuration. But note the relationship: the Node.js configuration creates the 
single file configuration, not the other way around.

So, the archetypal form of TiddlyWiki is the Node.js configuration.

The key characteristic that is shared by both configurations is the idea of 
keeping all data in memory (quite a popular architecture in this decade). But 
that’s something that can be changed: the store is pluggable and can be 
replaced.


> This is why it is so hard to get multi-user configured properly. You would 
> have to virtually dismantle tiddlywiki and put it together differently to get 
> anything as static as Wikipedia. 

That sounds like a non-sequitor. There are a number of missing pieces for the 
multi user configuration where TW runs in the browser, as have been 
acknowledged and listed elsewhere. You seem to be referencing the architecture 
whereby individual static pages are generated (rather than shipping a full TW 
to the browser). I’m not aware of any major omissions there.

> Even the server and online versions download everything in few files and the 
> core idea again is one file.

I think here you are referring to the configuration where the server serves a 
full TW HTML file to the browser. That’s not the only configuration that is 
supported.

> If you load a tiddlywiki, the chances are that the entire thing will slowly 
> get loaded as you browse if it was Wikipedia.

Here I think you’re talking about lazy loading?

I don’t understand the comparison to Mediawiki. TiddlyWiki doesn’t have the 
same goals as MediaWiki. Why would it? We already have MediaWiki, so I’m not 
interested in re-inventing it. TiddlyWiki is trying to do something different.

> There are many options going forward, and almost all of them are very single 
> file oriented when setup correctly.

I don’t quite understand why you think that “almost all of them are very single 
file oriented”?

> So I don't think our browser conundrum is going to be too much of a hold up. 
> It will only change the way things work, but they can still work just as fast.

I think we’re coming from the same place here: the plethora of different 
configurations that TiddlyWiki supports means that we can be confident that it 
can be adapted to keep working into the far future.

Best wishes

Jeremy.

> 
> My thoughts,
> -Arlen
> 
> On Mar 22, 2017 3:21 PM, "@TiddlyTweeter"  > wrote:
> Ciao Danielo  
> 
> Thanks for your response.
> 
> On Wednesday, 22 March 2017 12:51:15 UTC+1, Danielo Rodríguez wrote:
> 
> Very good questions. I think they should be added to the official FAQ. Would 
> you mind to open an issue to the official NoteSelf Repo?
> 
> Sure. If it is helpful. 
>  
> 3 - personally I'm interested in the PouchDB / CouchDB combo for E-pubs but 
> your github does not explain how to integrate the functions of PouchDB in a 
> standard TW that would enable that (not that you SHOULD--only if you 
> interested in that).
> 
> That is because I'm not interested on giving support to standalone usages of 
> TiddlyPouch. They require some technical skills that I don't have time to 
> properly explain to normal users. Any advanced user otherwise should be able 
> to just go to TiddlyPouch repo and grab it to their own needs.
> 
> In the context of the current thread I am very appreciative of your answer. I 
> think its obvious, in a way, that one person following an interest can't 
> easily support carrying forward of their work other than in a very delimited 
> way. They just don't have the time.
> 
> But, also, from my point of view it also looks like, in some ways, good 
> things in TW that might well support wide use by non-specialists, get used by 
> a few, and never reach a critical mass. I'm observing this phenomena and 
> thinking about it. 
> 
> Its amazing the number of WAYS that TW can be got to work. But actually 
> forming an overview of them, one that you could communicate to others, is not 
> so easy.
> 
> Just thoughts
> 
> Best wishes
> Josiah
> 
> -- 
> 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/cff0047d-ebf4-4072-97e4-b094190886fe%40googlegroups.com
>  
> 

[tw] Re: Dynamic Photo Album

2017-03-23 Thread Atul Grover
Hi Jon,

Are you planning to import the photos from an external folder or are you 
dragging the photos in TW?

FMLK...(from my limited knowledge). If you are dragging the photos then TW 
will automatically import the images as svg.

In case you are linking them from external folder then 
1. Open an excel sheet
2. Add details of the tiddlers with links to the images in the text field
3. Drop the excel sheet into TW using xslt plugin

Atul








On Tuesday, March 21, 2017 at 9:57:52 PM UTC+5:30, Jon Cramer wrote:
>
> Hello All,
>
> I am currently working on a project using TiddlyWiki for a college course 
> at SUNY Polytechnic Institute. I will be creating a dynamic photo album of 
> my daughter's first 4 years by adding dynamic navigation. Users will be 
> able to filter by Age, Activity, and Season based on tags, and have the 
> ability to navigate photos using first, previous, next, last controls. 
>
> I am looking for a way to import multiple photos at once to save some 
> time. If anyone has an idea of how I would do this I would greatly 
> appreciate some feedback. Thanks in advance!
>
> Jon
>

-- 
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/7a8f8a24-913e-4a6d-9a5b-b18c8c3bbb0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.