[tw5] Re: List Fields : How to get the "Position" of an item in a list field

2021-04-04 Thread Adithya B
A related question:

Is there any existing solution to take user input and put a list of 
tiddlers into a field? Something with dropdown/autocomplete like the 
tag-picker dialog?


On Saturday, April 3, 2021 at 11:38:09 PM UTC-6 TW Tones wrote:

> Mohammadd,
>
> I just saw this now. The Count operator or count widget, with an allbefore 
> can be used to count the items before a position in a list to get the N for 
> the Nth.
>
> [{!!list}allbefore[string]count[]] or something similar. add[1] if needed.
>
> Tones
>
>
> On Tuesday, 23 March 2021 at 22:16:08 UTC+11 Mohamed Amin wrote:
>
>> Thanks @Mat this is a clever workaround solution.
>>
>> @Tones, thanks for your reply, but I couldn't get your idea, how can I 
>> use "range operator" to calculate the number "N" that I'll use in the 
>> "nth[N]" operator?
>>
>>
>> On Tuesday, March 23, 2021 at 12:34:00 PM UTC+2 TW Tones wrote:
>>
>>> Mats suggestion is one I use.
>>>
>>> Another trick is to use count to get the total number T of items then 
>>> use a range operator from 1 to N, in which the current tiddler will be the 
>>> item number.
>>>
>>> However you then need to retrieve the nth[N] item from the list.
>>>
>>> Regards
>>> Tones
>>>
>>> On Tuesday, 23 March 2021 at 21:24:41 UTC+11 Mat wrote:
>>>
 You can use this to find the position of an item in a list

 +[allbeforecount[]add[1]]

 e.g 

 {{{ one two three four five +[allbefore[four]count[]add[1]]  }}} > 4

 Not sure it's the optimal solution, I just made it up.

 <:-)
  


 On Tuesday, March 23, 2021 at 10:57:48 AM UTC+1 Mohamed Amin wrote:

> Hi,
>
> Is there a way to get the position of an item in a "list field"?
>
> More info:
> Recently I've discovered the "nth" filter operator 
> , and one of the use case I 
> immediately think about was to "iterate" through items in multiple 
> related 
> "list fields"
>
> Take the following example (not a real one, just to get the idea 
> clear):
> If a family needs to manage its friends, each family member's Tiddler 
> will have the following fields:
> 1- friend-names : "list field" contains ALL friends
> 2- friendships-start-date : "list field" where the "position" of the 
> date determine the friend's names
> 3- friendships-meter : "list field" where the "position" of the % 
> determine the friend's names
>
> Ex.
> friend-names : [[alex]]  [[andy]]
> [[john]] [[evan]]
> friendships-start-date :  [[Mar2015]]   [[Dec2017]][[Nov2016]]
>  [[Feb2011]]
> friendships-meter [[70]]  [[30]]  
>  [[60]][[90]]
>
> Now I can use the filter "[contain:friend-name[alex]]" to get all 
> family members who is a friend with "alex".
> And if I know the <> of "alex" in the "friend-names" field, 
> I can get the rest of the data corresponding to it for the currentTiddler 
> using a filter like:
> "[all[current]get[friendships-meter]enlist-input[]nth]" 
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7ec09788-4b96-4167-8c39-ee47b4650d41n%40googlegroups.com.


[tw5] Re: Is this out to lunch? Using a "Data Entry" tiddler as a transclude template

2021-04-04 Thread Charlie Veniot
Arg, I just fixed a wee problem with empty rows and empty columns not 
showing in transclusion of data tiddler.

An empty row/column makes for a space between cells of content.

So TestTiddlerDataTransclusion snapshot replaced by this attached one.

On Sunday, April 4, 2021 at 5:28:42 PM UTC-3 Charlie Veniot wrote:

> G'day all,
>
> As I plug away at the TiddlySheets idea brewing in me old sponge (related 
> thread ) ...
>
> A few definitions first:
>
>- "*Sheets Editor*" is a tiddler to create and edit "Sheets."  Think 
>of "Sheets Editor" as analogous to the Google Sheets App (or to, ugh, MS 
>Excel): it has all of the smarts to enter content and layout/format the 
>content
>- Any "*Sheet*" tiddler is a data tiddler, containing everything 
>(content info, layout info, meta data, etc.), analogous to a Google Sheet 
>Document (or an Excel document/file)
>
> *(Refer to attached screenshots.)*
>
> I wondered: how would I go about displaying any sheet in any other tiddler 
> (whether in the story river, or sidebar, or anywhere else)?
>
> And how do I show that content with the layout setup via the Sheets Editor 
> ? And how do I go about that without duplicating all of the smarts in the 
> Sheets Editor?
>
> Solution: modify the Sheet Editor tiddler so that it can fulfill two 
> roles: 
>
>- "Editor" of data tiddlers
>- Display template for transclusion of those data tiddlers
>
> Because I am so "transclusion-minded", that immediately feels like the 
> right way to go for me.  How would you go about it? 
>
> Cheers !
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a3cb5907-46bb-4bee-b486-b03763a690e1n%40googlegroups.com.


Re: [tw5] Re: List of tiddlers in field

2021-04-04 Thread Sebastián Ortega
Many thanks Eric, it worked!

[image: image.png]

--
Sebastián


On Sun, 4 Apr 2021 at 18:56, Eric Shulman  wrote:

> On Sunday, April 4, 2021 at 9:07:38 AM UTC-7 mehequeda...@gmail.com wrote:
>
>>   <$list filter="[all[current]get[fields]]">
>>
> <$macrocall $name="tag" tag=<>/>
>>   
>> 
>>
>> [image: shot.jpg]
>> I know it's due to the filter I'm using but I can't manage to find the
>> right one by myself.
>>
>
> In your use-case, "fields" is the name of a single tiddler field that
> contains a space-separated *list* of fieldnames, and the get[fields] filter
> is just returning the entire value of that field as a single text string.
> To get each entry from the "fields" list as a separate item, you can use
> the enlist operator, like this:
>
> <$list filter="[all[current]enlist{!!fields}]">
>
> enjoy,
> -e
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/18iq5Byg-Uc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/66f5a59f-8131-456b-bd7d-4eee05d2917cn%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAH9hHPj9yWfqxAyeUXSWhFVGQOaXQbeYVPv5xQuojkaUuQ_kzA%40mail.gmail.com.


Re: [tw5] --Load / plugins / tiddlywiki.info

2021-04-04 Thread James Anderson
Thanks Joshua and Jeremy.

Ended up going with what Jeremy suggested:

"""
tiddlywiki --load .\notes.hta --savewikifolder .\temp\blog
"""

then

"""
tiddlywiki  .\temp\blog --output .\blog --build css
tiddlywiki  .\temp\blog --output .\blog --build index
tiddlywiki  .\temp\blog --output .\blog --build framework
...
"""

I keep a separate TiddlyWiki folder that overrides a few things I want when 
exporting  (palette and theme changes) and copy it over the exported 
Tiddlywiki.

Thanks again,

James

On Monday, 29 March 2021 at 09:01:39 UTC+1 jeremy...@gmail.com wrote:

> Hi James
>
> Maybe I am just misremembering, but i thought having the plugins in the 
> file you load is ok. Is that not the case?  do they need to be in the 
> Node.js instance of TW? Is there any way around this?
>
>
> TiddlyWiki under Node.js will only load plugins on the server that are 
> either listed in the tiddlywiki.info file, or are in the "plugins" folder 
> of the wiki folder.
>
> So, it sounds like a better workflow might be to use two separate TW runs: 
> one to use the "savewikifolder" command to save your HTA wiki as a proper 
> wiki folder (complete with the plugins), and then a second one to boot that 
> wiki folder and run your blog commands.
>
> Best wishes
>
> Jeremy
>
>
>
> Thanks,
> James
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/84c4c1eb-ca9b-46fa-9937-2d8adfbcc158n%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5b14b4e6-5bd6-4963-916a-3288f9211586n%40googlegroups.com.


[tw5] Re: TiddlySheets? (idea tease)

2021-04-04 Thread Charlie Veniot
G'day Julio,

Thanks!  However, hold on to your ears...

I'm about 30 minutes away from a new post of an interesting concept that 
may be right out to lunch, related to this same project but wildly 
interesting of itself regardless.

Which I'll have to slap in the same video, I think.  Ugh.  Gonna be some 
work.

On Sunday, April 4, 2021 at 4:06:55 PM UTC-3 j.te...@gmail.com wrote:

> Howdy CJ,
>
> Oh wow, interesting project (idea) you have there!
> That concept looks marvellous.
> Will be attentive to when you produce the video.
>
> Many blessings,
> Julio
>
> On Saturday, April 3, 2021 at 10:15:31 PM UTC-4 cj.v...@gmail.com wrote:
>
>> G'day,
>>
>> I love a little gem called TreeSheets  
>> for the very infrequent times I want to quickly cobble together some 
>> information that is hiearchical and/or fits well into rows and columns.
>>
>> Very infrequent?  Understatement.  I almost uniquely am awash in a 
>> tsunami of non-linear/hyperlinked/intertwingled thinking: everything is 
>> connected to everything else within oh-so-few degrees of separation.
>>
>> Hence my appreciation for TiddlyWiki.  For this kid, nothing else touches 
>> TiddlyWiki.  Recording all of them thoughts and the links between them, 
>> organizing it all is like trying to herd a mass of puppies and kittens.  
>> Can't do it without TiddlyWiki.
>>
>> A recurring thought that always smacks me silly at any moment: how would 
>> I do "this" or "that" with TiddlyWiki?
>>
>> The latest:  how would I do TreeSheets with TiddlyWiki?
>>
>> Although only in the early beginnings, what I have built so far (see 
>> attached screenshots) has me thinking: sure this might someday do what 
>> TreeSheets can do, but for now, I'm thinking other useful purposes:
>>
>>- dashboards
>>- reports
>>- content layout (like old-school html tables of old)
>>- picture puzzles?
>>- yet another Kanban?
>>- anything else?
>>
>> I have a "Sheet Editor" tiddler, and each sheet created by, and edited 
>> in, the editor keeps the data for any sheet in a data tiddler.
>>
>> Each row can be moved up/down, and each column can be moved left/right.  
>> Ability to move an individual cell from one location to another is on my 
>> mind.
>>
>> Each cell should be able to (eventually) contain anything.  At the 
>> moment: text transcluded from some tiddler, OR textarea field (content 
>> saved to the data tiddler for no fuss no muss.)  A sheet inside a cell?  
>> Hmm.
>>
>> I think I'm going to try to put a little show'n tell video about this 
>> thing.
>>
>> For now, attached snapshots for anybody interested.
>>
>> BTW:  If this has already been done, please let me know so I don't 
>> re-invent the wheel !!!
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4aac0687-01ed-46f2-ae01-be0417e31f10n%40googlegroups.com.


[tw5] Re: Presenting: The TiddlyGoo project - integrate your wiki with the web

2021-04-04 Thread Mat
@Saq, those are very good points and you have done  fantastic job at 
digging out good starting points for further dev. I have added a note  here 
  for the *main *plugin, i.e 
the SheetsIN plugin, which concerns the API for, specifically, accessing 
and importing to TW from Google Sheets. But for Google Drive, how can you 
(or anyone) tell that my solutions use an API planned to be deprecated and 
JSONP? Do the scripts, e.g this 
main 
one, use the v2 Google Drive API? (I have no idea how to tell.)

Assuming your post is correct, may I repost it in the TiddlyGoo website?

Unfortunately, the JS coding is beyond me so I can't really do much with 
your info BUT I hope people will benefit from my solutions and that at some 
point someone which the know how will see the benefit in making even better 
solutions for this. I think it makes a lot of sense to piggyback on Googles 
many services. Your tangential note about storage back-ends on Amazon S3 
and, next, Google Drive sounds hopeful! 

<:-)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/be1b1419-0523-4d38-9a55-ec24385f057an%40googlegroups.com.


[tw5] Re: TiddlySheets? (idea tease)

2021-04-04 Thread jtech108
Howdy CJ,

Oh wow, interesting project (idea) you have there!
That concept looks marvellous.
Will be attentive to when you produce the video.

Many blessings,
Julio

On Saturday, April 3, 2021 at 10:15:31 PM UTC-4 cj.v...@gmail.com wrote:

> G'day,
>
> I love a little gem called TreeSheets  for 
> the very infrequent times I want to quickly cobble together some 
> information that is hiearchical and/or fits well into rows and columns.
>
> Very infrequent?  Understatement.  I almost uniquely am awash in a tsunami 
> of non-linear/hyperlinked/intertwingled thinking: everything is connected 
> to everything else within oh-so-few degrees of separation.
>
> Hence my appreciation for TiddlyWiki.  For this kid, nothing else touches 
> TiddlyWiki.  Recording all of them thoughts and the links between them, 
> organizing it all is like trying to herd a mass of puppies and kittens.  
> Can't do it without TiddlyWiki.
>
> A recurring thought that always smacks me silly at any moment: how would I 
> do "this" or "that" with TiddlyWiki?
>
> The latest:  how would I do TreeSheets with TiddlyWiki?
>
> Although only in the early beginnings, what I have built so far (see 
> attached screenshots) has me thinking: sure this might someday do what 
> TreeSheets can do, but for now, I'm thinking other useful purposes:
>
>- dashboards
>- reports
>- content layout (like old-school html tables of old)
>- picture puzzles?
>- yet another Kanban?
>- anything else?
>
> I have a "Sheet Editor" tiddler, and each sheet created by, and edited in, 
> the editor keeps the data for any sheet in a data tiddler.
>
> Each row can be moved up/down, and each column can be moved left/right.  
> Ability to move an individual cell from one location to another is on my 
> mind.
>
> Each cell should be able to (eventually) contain anything.  At the moment: 
> text transcluded from some tiddler, OR textarea field (content saved to the 
> data tiddler for no fuss no muss.)  A sheet inside a cell?  Hmm.
>
> I think I'm going to try to put a little show'n tell video about this 
> thing.
>
> For now, attached snapshots for anybody interested.
>
> BTW:  If this has already been done, please let me know so I don't 
> re-invent the wheel !!!
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/88c712a2-913a-44d1-96cd-0a0131e58a21n%40googlegroups.com.


Re: [tw5] Re: Display tags in Tiddlers

2021-04-04 Thread Jax Kovak
Eric, thanks so much! I wasn't sure about the short form of the list tag
being used like that. Excellent! I have my list! Many thanks!

Kind regards

JK


On Sun, 4 Apr 2021 at 18:09, Eric Shulman  wrote:

> On Sunday, April 4, 2021 at 9:46:38 AM UTC-7 isd196...@gmail.com wrote:
>
>> Hey PMario, thanks for that, but I'm confused on how to use this.
>> Currently I can use
>> <$list filter="[tag[People]sort[title]]"/>
>> to get a list of the People in the People Tag group, but I can't see how
>> to add the <> to it so that each item is listed as a Tag. Could you
>> clarify please?
>>
>
> By ending the $list with /> you are using the "short-form" of the widget
> which, by default, outputs the titles of the matching tiddlers, as links.
> To display other output (e.g., the title as a tag pill) you need to use the
> full <$list>... syntax, where the content is the <> macro,
> like this:
>
> <$list filter="[tag[People]sort[title]]"> <> 
>
> Note that inside the body of the $list widget, the value of currentTiddler
> is set to the title of each matching tiddler and the <> macro defaults
> to showing the "currentTiddler" as a tag pill.
>
> enjoy,
> -e
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/uAM0RDmpfrE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/0882f2c6-49b1-49a2-87c0-e6f953e3599fn%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAFm1UBM3E1jEC-EDcp-qS_5s1ER9UiirZvSgPPdeMt%3Dx4wBrdQ%40mail.gmail.com.


Re: [tw5] Re: Refnotes plugin: Development version

2021-04-04 Thread Mohammad Rahmani
Hi Odin,
 Actually I am working on the update! I will add some more templates!
 The new design will simplify adding your own template. If you note when
there is a missing template the default template is used.

 I will notify you here of a new update for testing!



Best wishes
Mohammad


On Sun, Apr 4, 2021 at 9:17 PM Odin  wrote:

> Hi Mohammad,
>
> I looked around the new update of the plugin. I see that the default
> templated has code in it, but the others are empty. It isn't clear to me
> how to fill in the templates and/or create new templates for the plugin to
> use. How would I create a new template?
>
> Op zaterdag 3 april 2021 om 21:22:48 UTC+2 schreef Mohammad:
>
>> Refnotes is a plugin jointly developed with Mark S. Recently there were
>> some requests to add features like different output styles and support for
>> other reference types like conference papers, websites, theses, ...
>>
>> I have pushed a beta version in a development branch on GitHub. Those
>> interested can download and test. Feature requests, comments and feedback
>> are welcome!
>>
>> The 1.6.0 beta added some view templates to display bibtex entries.
>>
>> https://github.com/kookma/TW-Refnotes/tree/development
>>
>>
>> Best wishes
>> Mohammad
>>
>> *References*
>>
>>1. https://groups.google.com/g/tiddlywiki/c/HLru0XFEnyI/m/awlXB3kkDwAJ
>>2. https://groups.google.com/g/tiddlywiki/c/zHxkQyESUSg/m/_ipcmq5iAgAJ
>>3. https://groups.google.com/g/tiddlywiki/c/sGldiq8BY0w/m/BMA2WXhMBAAJ
>>4. https://groups.google.com/g/tiddlywiki/c/lRDzKpps3UA/m/T6jvOb_MFgAJ
>>5. https://groups.google.com/g/tiddlywiki/c/UcJHW-HHPJU/m/QtMIHkARBQAJ
>>6. https://groups.google.com/g/tiddlywiki/c/zHxkQyESUSg/m/_ipcmq5iAgAJ
>>
>>
>>
>> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/dc70c3b0-b0c7-4970-a5ca-129f0a2a553bn%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMBKMg-dDgjhUYmSYu1c9dr0nwrUfEzXNJmjDfX9820wvA%40mail.gmail.com.


Re: [tw5] Fetching tiddlers from one wiki to another

2021-04-04 Thread Saq Imtiaz
Hi Jeremy,

A little background: I have a couple of ideas in mind for projects to do 
with education with some of the organizations I work with, for which I am 
considering TiddlyWiki. One of them would be very similar to the syncing 
educator and student notebooks project that was based on TiddlyWiki classic 
over 10 years ago. The other involves providing a sandbox for exploration 
and developing skills to do with using and potentially creating/customizing 
digital tools to aid one's own learning. While TiddlyWiki sounds like a 
good fit, it will also be essential that it is hard for the students to 
break the tool itself.

Both projects, if they proceed, will entail quite a bit of custom coding to 
get the user experience just right, so as a first step I wanted to 
understand what was possible today in terms of browser restrictions and 
loading content dynamically in TW5. As mentioned in my original post, I 
realize the use case for this particular prototype is very narrow. However 
I find that sharing ideas and prototypes is rarely a bad idea as it can 
often inspire other ideas in the community, so I try my best to do so 
whenever possible.
 

> Those restrictions still exist. For example, the XMLHttpRequest approach 
> described here generally won’t work from a file: URI, which was a major 
> design goal for the plugin library and Twederation.
>

That's interesting as I've found it to work without problems to fetch 
content into a local file wiki as long as the remote content is served with 
the correct CORS headers (and the request is made without the 
X-Requested-With header). Or do you mean when the remote content is also 
accessed via a file: URI ? I have not tested that scenario.

Hosting all the wikis with CORS support is an easy requirement to satisfy 
for the projects I have in mind.
 

> It’s definitely time we explored dynamic content loading via 
> XMLHttpRequest in more detail. The constraints get less onerous as we gain 
> better HTTP/HTTPS solutions.
>

Agreed. I quite miss the possibilities offered by the quite rich ecosystem 
of adaptors that we had in TiddlyWiki Classic and even the sync mechanism, 
despite all the clunkiness inherent in the design and the later 
difficulties imposed by greater browser restrictions. 
 
Regards,
Saq

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7ea4cca2-c07a-486d-a60c-b59c9838c0bdn%40googlegroups.com.


Re: [tw5] Fetching tiddlers from one wiki to another

2021-04-04 Thread Jeremy Ruston
Hi Saq

>  I briefly looked at twederation but it didn't meet this particular 
> requirement which would be very helpful for my intended purposes: 
> "...preferably without needing to have extra plugins installed on the wiki 
> that is the content source".
> 
> It also wasn't clear to me from the ReadMe or the demo whether fetching 
> tiddlers silently in the background with no user interaction was possible, 
> which is a must for the workflow I will need.

It did indeed fetch without user interaction. The Twederation prototype was all 
about using iframes to get around CORS restrictions.

Those restrictions still exist. For example, the XMLHttpRequest approach 
described here generally won’t work from a file: URI, which was a major design 
goal for the plugin library and Twederation.

> This is really just a quick hack to understand if what I am envisioning is 
> technically possible before I start working out the workflow. Now I need to 
> find the time to flesh out the desired user workflow which is the real 
> challenge and then I'll return to the technical implementation, which may 
> involve use of the core syncer. I decided to share this demo in case it was 
> interesting for others.

It’s definitely time we explored dynamic content loading via XMLHttpRequest in 
more detail. The constraints get less onerous as we gain better HTTP/HTTPS 
solutions.

Best wishes

Jeremy

>  
> Cheers,
> Saq
> 
> On Sunday, April 4, 2021 at 6:39:13 PM UTC+2 Ste wrote:
> Jumps in, mentions twederation 
> , jumps out again. 
> 
> On Sunday, 4 April 2021 at 10:28:31 UTC+1 Mohammad wrote:
> On Sun, Apr 4, 2021 at 1:38 PM Saq Imtiaz > wrote:
> Hi Mohammad,
> 
> Hi Saq,
> 
> So a lot of things are still up in the air. As I mentioned this is a quick 
> prototype without a lot of pre-planning and I haven't had the chance to 
> figure out a good workflow yet even for my specific needs. I'll try to answer 
> your questions as well as I can at this point,
>  
> but some things we may need to discuss and figure out together.
> 
> Sure!
>  
> One question: In Searchwikis (https://github.com/kookma/TW-Searchwikis 
> ) it uses index tiddlers from 
> target wikis to search them
> The question is: Can I use Get Remote Tiddlers plugin to automatically update 
> the indeed tiddlers in my main wiki i.e to fetch latest changes?
> 
> Yes that should be possible as long as the wikis are on the same domain or 
> served with CORS headers. The catch is that for every wiki, the code will be 
> fetching the entire TW file to extract the tiddlers, which means more 
> bandwidth used and also possibly some lag in the wiki depending on the number 
> of wikis being fetched and the hardware. I want to experiment with using the 
> same technique with an uglified TW with Flibbles' plugin, or a TW with the 
> core in an external js file. Especially the second option should load 
> considerably faster.
> 
> I did not know the whole wiki is fetched, then yes for many external wikis or 
> large wikis we will have some time lags! I use the Flibbles uglify, I am very 
> happy with that, but for this case still the empty.html is around 1.2MB, the 
> external.js seems promising here!
> 
> Another option that might make the most sense for Searchwikis is to generate 
> and save the index as a separate file. This would need far less bandwidth to 
> fetch and should overall be considerably faster. For wikis served by Github 
> pages we could even try to implement an option to save the index file 
> automatically each time the wiki is saved.
> 
> Great! Right now I have to open each target wiki separately, update the 
> index, export it, and import to the central wiki!
>  
> A more radical question is can " Get Remote Tiddlers " deprecate searchwikis 
> and lets users search other wikis from a central wiki?
> 
> Fetching tiddlers from a remote wiki already entails loading the entire wiki 
> and extracting all its tiddlers and creating an array of tiddler titles. So 
> yes, theoretically you could skip the part of Searchwikis that creates the 
> index and just use Get Remote Tiddlers to create the index for the other 
> wikis. However, the same caveats apply in terms of bandwidth usage and that 
> with many wikis being fetched in the background it could slow down the wiki 
> when that is happening. Using TW files with an external core.js file would be 
> very helpful here.
> 
> Having to rely on CORS headers being present is indeed a limitation but this 
> overall approach (rather than the code I posted specifically) opens some 
> interesting possibilities as well.
> 
> If you're interested, there's a small discussion here about enabling CORS on 
> TiddlyHost: https://github.com/simonbaird/tiddlyhost/issues/112 
> 
> 
> I will!
> 
> I am also curious to see if TW on Fission opens up for similar workflows.
> 
> Cheers,
> Saq
> 

Re: [tw5] Fetching tiddlers from one wiki to another

2021-04-04 Thread Saq Imtiaz
Thanks @Ste

 I briefly looked at twederation but it didn't meet this particular 
requirement which would be very helpful for my intended purposes: 
"...preferably without needing to have extra plugins installed on the wiki 
that is the content source".

It also wasn't clear to me from the ReadMe or the demo whether fetching 
tiddlers silently in the background with no user interaction was possible, 
which is a must for the workflow I will need.

This is really just a quick hack to understand if what I am envisioning is 
technically possible before I start working out the workflow. Now I need to 
find the time to flesh out the desired user workflow which is the real 
challenge and then I'll return to the technical implementation, which may 
involve use of the core syncer. I decided to share this demo in case it was 
interesting for others.
 
Cheers,
Saq

On Sunday, April 4, 2021 at 6:39:13 PM UTC+2 Ste wrote:

> Jumps in, mentions twederation 
> , jumps out again. 
>
> On Sunday, 4 April 2021 at 10:28:31 UTC+1 Mohammad wrote:
>
>> On Sun, Apr 4, 2021 at 1:38 PM Saq Imtiaz  wrote:
>>
>>> Hi Mohammad,
>>
>>
>> Hi Saq,
>>
>>>
>>> So a lot of things are still up in the air. As I mentioned this is a 
>>> quick prototype without a lot of pre-planning and I haven't had the chance 
>>> to figure out a good workflow yet even for my specific needs. I'll try to 
>>> answer your questions as well as I can at this point,
>>>
>>  
>>
>>> but some things we may need to discuss and figure out together.
>>>
>>
>> Sure!
>>
>>>  
>>>
 One question: In Searchwikis (https://github.com/kookma/TW-Searchwikis) 
 it uses index tiddlers from target wikis to search them
 The question is: Can I use Get Remote Tiddlers plugin to automatically 
 update the indeed tiddlers in my main wiki i.e to fetch latest changes?

>>>
>>> Yes that should be possible as long as the wikis are on the same domain 
>>> or served with CORS headers. The catch is that for every wiki, the code 
>>> will be fetching the entire TW file to extract the tiddlers, which means 
>>> more bandwidth used and also possibly some lag in the wiki depending on the 
>>> number of wikis being fetched and the hardware. I want to experiment with 
>>> using the same technique with an uglified TW with Flibbles' plugin, or a TW 
>>> with the core in an external js file. Especially the second option should 
>>> load considerably faster.
>>>
>>
>> I did not know the whole wiki is fetched, then yes for many external 
>> wikis or large wikis we will have some time lags! I use the Flibbles 
>> uglify, I am very happy with that, but for this case still the empty.html 
>> is around 1.2MB, the external.js seems promising here!
>>
>>>
>>> Another option that might make the most sense for Searchwikis is to 
>>> generate and save the index as a separate file. This would need far less 
>>> bandwidth to fetch and should overall be considerably faster. For wikis 
>>> served by Github pages we could even try to implement an option to save the 
>>> index file automatically each time the wiki is saved.
>>>
>>
>> Great! Right now I have to open each target wiki separately, update the 
>> index, export it, and import to the central wiki!
>>
>>>  
>>>
 A more radical question is can " Get Remote Tiddlers " deprecate 
 searchwikis and lets users search other wikis from a central wiki?

>>>
>>> Fetching tiddlers from a remote wiki already entails loading the entire 
>>> wiki and extracting all its tiddlers and creating an array of tiddler 
>>> titles. So yes, theoretically you could skip the part of Searchwikis that 
>>> creates the index and just use Get Remote Tiddlers to create the index for 
>>> the other wikis. However, the same caveats apply in terms of bandwidth 
>>> usage and that with many wikis being fetched in the background it could 
>>> slow down the wiki when that is happening. Using TW files with an external 
>>> core.js file would be very helpful here.
>>>
>>> Having to rely on CORS headers being present is indeed a limitation but 
>>> this overall approach (rather than the code I posted specifically) opens 
>>> some interesting possibilities as well.
>>>
>>> If you're interested, there's a small discussion here about enabling 
>>> CORS on TiddlyHost: https://github.com/simonbaird/tiddlyhost/issues/112
>>>
>>
>> I will!
>>
>>>
>>> I am also curious to see if TW on Fission opens up for similar workflows.
>>>
>>> Cheers,
>>> Saq
>>>
>>
>>
>> Thank you Saq!
>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to tiddlywiki+...@googlegroups.com.
>>>
>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/a30adfd0-8d9f-42d8-aea6-e0824c777db6n%40googlegroups.com
>>>  
>>> 

Re: [tw5] Re: Display tags in Tiddlers

2021-04-04 Thread Eric Shulman
On Sunday, April 4, 2021 at 9:46:38 AM UTC-7 isd196...@gmail.com wrote:

> Hey PMario, thanks for that, but I'm confused on how to use this. 
> Currently I can use 
> <$list filter="[tag[People]sort[title]]"/>
> to get a list of the People in the People Tag group, but I can't see how 
> to add the <> to it so that each item is listed as a Tag. Could you 
> clarify please?
>

By ending the $list with /> you are using the "short-form" of the widget 
which, by default, outputs the titles of the matching tiddlers, as links.  
To display other output (e.g., the title as a tag pill) you need to use the 
full <$list>... syntax, where the content is the <> macro, 
like this:

<$list filter="[tag[People]sort[title]]"> <> 

Note that inside the body of the $list widget, the value of currentTiddler 
is set to the title of each matching tiddler and the <> macro defaults 
to showing the "currentTiddler" as a tag pill.

enjoy,
-e

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0882f2c6-49b1-49a2-87c0-e6f953e3599fn%40googlegroups.com.


[tw5] Re: Presenting: The TiddlyGoo project - integrate your wiki with the web

2021-04-04 Thread Jon
Thanks for the info Mat and they work nicely.

Best wishes
Jon


On Sunday, 4 April 2021 at 17:15:48 UTC+1 Mat wrote:

> Jon wrote:
>
>> Would it be possible to adapt things so that the sharing link from Google 
>> Photos works, as well as the link from Google Drive? (forgive my ignorance 
>> if that's impossible).
>>
>
> I did some primitive attempts but Google Photos seems to use a different 
> structure than Drive. I found this site 
>  and this 
>  that seem to have solved 
> how to share google photo albums but they don't really share their code for 
> how it's done. So, I'm not sure how to proceed with Google Photos 
> specifically.
>
> <:-)
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/804b5b00-c979-4b7a-9efc-8a296c494f1bn%40googlegroups.com.


[tw5] Re: List of tiddlers in field

2021-04-04 Thread Eric Shulman
On Sunday, April 4, 2021 at 9:07:38 AM UTC-7 mehequeda...@gmail.com wrote:

>   <$list filter="[all[current]get[fields]]">
>
<$macrocall $name="tag" tag=<>/>
>   
> 
>
> [image: shot.jpg]
> I know it's due to the filter I'm using but I can't manage to find the 
> right one by myself.
>

In your use-case, "fields" is the name of a single tiddler field that 
contains a space-separated *list* of fieldnames, and the get[fields] filter 
is just returning the entire value of that field as a single text string.  
To get each entry from the "fields" list as a separate item, you can use 
the enlist operator, like this:

<$list filter="[all[current]enlist{!!fields}]">

enjoy,
-e

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/66f5a59f-8131-456b-bd7d-4eee05d2917cn%40googlegroups.com.


[tw5] Re: Refnotes plugin: Development version

2021-04-04 Thread Odin
Hi Mohammad,

I looked around the new update of the plugin. I see that the default 
templated has code in it, but the others are empty. It isn't clear to me 
how to fill in the templates and/or create new templates for the plugin to 
use. How would I create a new template?

Op zaterdag 3 april 2021 om 21:22:48 UTC+2 schreef Mohammad:

> Refnotes is a plugin jointly developed with Mark S. Recently there were 
> some requests to add features like different output styles and support for 
> other reference types like conference papers, websites, theses, ...
>
> I have pushed a beta version in a development branch on GitHub. Those 
> interested can download and test. Feature requests, comments and feedback 
> are welcome!
>
> The 1.6.0 beta added some view templates to display bibtex entries.
>
> https://github.com/kookma/TW-Refnotes/tree/development
>
>
> Best wishes
> Mohammad
>
> *References*
>
>1. https://groups.google.com/g/tiddlywiki/c/HLru0XFEnyI/m/awlXB3kkDwAJ
>2. https://groups.google.com/g/tiddlywiki/c/zHxkQyESUSg/m/_ipcmq5iAgAJ
>3. https://groups.google.com/g/tiddlywiki/c/sGldiq8BY0w/m/BMA2WXhMBAAJ
>4. https://groups.google.com/g/tiddlywiki/c/lRDzKpps3UA/m/T6jvOb_MFgAJ
>5. https://groups.google.com/g/tiddlywiki/c/UcJHW-HHPJU/m/QtMIHkARBQAJ
>6. https://groups.google.com/g/tiddlywiki/c/zHxkQyESUSg/m/_ipcmq5iAgAJ
>
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dc70c3b0-b0c7-4970-a5ca-129f0a2a553bn%40googlegroups.com.


Re: [tw5] Re: Display tags in Tiddlers

2021-04-04 Thread Jax Kovak
Hey PMario, thanks for that, but I'm confused on how to use this. Currently
I can use

<$list filter="[tag[People]sort[title]]"/> OR
<>

to get a list of the People in the People Tag group, but I can't see how to
add the <> to it so that each item is listed as a Tag. Could you
clarify please?

Regards

JK


On Sun, 4 Apr 2021 at 13:43, PMario  wrote:

> Hi JK,
> See:
> https://tiddlywiki.com/#tag%20Macro:%5B%5Btag%20Macro%5D%5D%20%5B%5Btag%20Macro%20(Examples)%5D%5D%20MacroCallWidget
>
> I did add a link to the macro-call widget, because it may be needed, if
> you want to call the tags macro in your own macros.
>
> -mario
>
> On Sunday, April 4, 2021 at 2:02:03 PM UTC+2 isd196...@gmail.com wrote:
>
>> *Scenario: *
>>
>>- I have Tiddlers for each of a fairly large (and growing) group of
>>people where the Tiddler name is the persons name.
>>
>>- Each of these Tiddlers is tagged with the same group ID tag
>>(People).
>>
>>- The Name of each Tiddler (In the "People" Tag group) is then used
>>itself as a Tag in multiple other Tiddlers, containing a variety of
>>different project information that the Tagged person in the "People" group
>>is associated with.
>>
>>
>> *What I actually want:*
>> In a new Tiddler I would like to be able to list all of the members of
>> the "People" Tag group, in alphabetical order, as a list, but displayed as
>> Tags themselves,.
>>
>> *Why?:*
>> When we click on a Tag at the top of a Tiddler we can see a list of where
>> that Tag occurs within the Wiki. Id like this functionality to be available
>> to me in the confines of a Tiddler so that I can have a Tiddler that is an
>> Index of all of the people, displayed as Tags, so that I can click on a
>> name and see what projects that person is involved with, and can click to
>> go to any one of them.
>>
>> Of course I can get a list of the people, in order, make each item a link
>> to the Tiddler of that person, etc etc, but so far I have failed horribly
>> to make that list be a list of Tags rather than text and text links.
>>
>> Many thanks for any help
>>
>> JK
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/uAM0RDmpfrE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/1baf4d5b-6d31-4b20-8122-dd35c531c962n%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAFm1UBOdixsUO8ZY_7nP%3D9e8HOs94OBqy8a%3Duu%2BKf%3Dpozwmx7g%40mail.gmail.com.


Re: [tw5] Fetching tiddlers from one wiki to another

2021-04-04 Thread Ste
Jumps in, mentions twederation 
, jumps out again. 

On Sunday, 4 April 2021 at 10:28:31 UTC+1 Mohammad wrote:

> On Sun, Apr 4, 2021 at 1:38 PM Saq Imtiaz  wrote:
>
>> Hi Mohammad,
>
>
> Hi Saq,
>
>>
>> So a lot of things are still up in the air. As I mentioned this is a 
>> quick prototype without a lot of pre-planning and I haven't had the chance 
>> to figure out a good workflow yet even for my specific needs. I'll try to 
>> answer your questions as well as I can at this point,
>>
>  
>
>> but some things we may need to discuss and figure out together.
>>
>
> Sure!
>
>>  
>>
>>> One question: In Searchwikis (https://github.com/kookma/TW-Searchwikis) 
>>> it uses index tiddlers from target wikis to search them
>>> The question is: Can I use Get Remote Tiddlers plugin to automatically 
>>> update the indeed tiddlers in my main wiki i.e to fetch latest changes?
>>>
>>
>> Yes that should be possible as long as the wikis are on the same domain 
>> or served with CORS headers. The catch is that for every wiki, the code 
>> will be fetching the entire TW file to extract the tiddlers, which means 
>> more bandwidth used and also possibly some lag in the wiki depending on the 
>> number of wikis being fetched and the hardware. I want to experiment with 
>> using the same technique with an uglified TW with Flibbles' plugin, or a TW 
>> with the core in an external js file. Especially the second option should 
>> load considerably faster.
>>
>
> I did not know the whole wiki is fetched, then yes for many external wikis 
> or large wikis we will have some time lags! I use the Flibbles uglify, I am 
> very happy with that, but for this case still the empty.html is around 
> 1.2MB, the external.js seems promising here!
>
>>
>> Another option that might make the most sense for Searchwikis is to 
>> generate and save the index as a separate file. This would need far less 
>> bandwidth to fetch and should overall be considerably faster. For wikis 
>> served by Github pages we could even try to implement an option to save the 
>> index file automatically each time the wiki is saved.
>>
>
> Great! Right now I have to open each target wiki separately, update the 
> index, export it, and import to the central wiki!
>
>>  
>>
>>> A more radical question is can " Get Remote Tiddlers " deprecate 
>>> searchwikis and lets users search other wikis from a central wiki?
>>>
>>
>> Fetching tiddlers from a remote wiki already entails loading the entire 
>> wiki and extracting all its tiddlers and creating an array of tiddler 
>> titles. So yes, theoretically you could skip the part of Searchwikis that 
>> creates the index and just use Get Remote Tiddlers to create the index for 
>> the other wikis. However, the same caveats apply in terms of bandwidth 
>> usage and that with many wikis being fetched in the background it could 
>> slow down the wiki when that is happening. Using TW files with an external 
>> core.js file would be very helpful here.
>>
>> Having to rely on CORS headers being present is indeed a limitation but 
>> this overall approach (rather than the code I posted specifically) opens 
>> some interesting possibilities as well.
>>
>> If you're interested, there's a small discussion here about enabling CORS 
>> on TiddlyHost: https://github.com/simonbaird/tiddlyhost/issues/112
>>
>
> I will!
>
>>
>> I am also curious to see if TW on Fission opens up for similar workflows.
>>
>> Cheers,
>> Saq
>>
>
>
> Thank you Saq!
>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddlywiki+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/a30adfd0-8d9f-42d8-aea6-e0824c777db6n%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c8eb6ed1-0046-441a-9d82-0c022fed248en%40googlegroups.com.


[tw5] Re: [Question] Can the refnotes plugin be used to make A.P.A. style reference?

2021-04-04 Thread Odin
Hi Mohammad,

Thank you for remembering and posting the update in this thread! I am 
really excited to read you are working on refnotes : )
I am looking at the new update and will post any feedback/questions in your 
announcement thread.

Odin

Op zondag 4 april 2021 om 07:00:01 UTC+2 schreef Mohammad:

> Hi Odin,
>
>  These will be addressed in new update of Refnotes plugin! 
>  adding output styles for different entry types. 
> See GitHub and Forum for feedback.
>
> https://github.com/kookma/TW-Refnotes
>
> https://groups.google.com/g/tiddlywiki/c/qgss_exy97g/m/L99utjKEBQAJ
>
> On Friday, June 19, 2020 at 6:08:24 PM UTC+4:30 Odin wrote:
>
>> Using the solutions in this thread for my study notes that I take in my 
>> tiddlywiki, I've run into another problem I am looking for some help with.
>>
>> The <> marco does not differentiate between the type of 
>> reference. When I am referencing a journal article it is fine, but when I 
>> am referencing a book it uses the same layout for the bibliography.
>> I know I can add a custom_output. So I could make one for the A.P.A. 
>> styled journal reference and a A.P.A. styled book reference. I am trying to 
>> figure out how to add a check in the macro for deciding if it is a book or 
>> journal article, and there is already a 'bibtex-entry-type' field built-in. 
>> I am looking for a way to add a check of that field, so when there are 
>> references within a tiddler of different types of sources (books vs journal 
>> articles) it changes the template of that reference.
>>
>> For example, this tiddler has a reference to a book (Green, 2007) and a 
>> reference to an article (Johnson, 2010).
>>
>> References:
>> 1) Author, A., & Author, B. (year). *Title of book.* Publisher
>> 2) Author, A., & Author, B. (year). Title of article. *Journal Title*, 
>> *Volume*(Issue), page range. DOI
>>
>>
>>
>>
>> Op maandag 11 mei 2020 12:32:30 UTC+2 schreef Odin Jorna:
>>
>>> It seems that the https://kookma.github.io/Refnotes/ refnotes plugin 
>>> uses another type of reference style than the A.P.A. style that I am used 
>>> (or supposed to use) to.
>>> It is possible to use this plugin to create A.P.A. style reference? It 
>>> uses this format: Author, A., & Author, B. (year). *Title of book.* 
>>> Publisher. 
>>> or Author, A., & Author, B. (year). Title of article. *Journal Title*, 
>>> *Volume*(Issue), page range. DOI for scientific articles.
>>>
>>> So the example reference in the plugin: N.E. Amadeo and M.A. Laborde, 
>>> Hydrogen 
>>> Production From The Low-Temperature Water-Gas Shift Reaction: Kinetics And 
>>> Simulation Of The Industrial Reactor,*International Journal of Hydrogen 
>>> Energy*, *1995*.
>>>
>>> would look something like this: N.E. Amadeo and M.A. Laborde. (1995) 
>>> Hydrogen 
>>> Production From The Low-Temperature Water-Gas Shift Reaction: Kinetics And 
>>> Simulation Of The Industrial Reactor,*International Journal of Hydrogen 
>>> Energy*, *Volume*(Issue), page range. DOI
>>>
>>> The in text reference would be: (Amadeo & Laborde, 1995) instead of :  
>>> [Amadoe-1995]
>>> 
>>>  
>>>
>>> Is there a way to change the formatting in the plugin code?
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/93d84056-2b08-44d2-9b97-bc86db61eb1dn%40googlegroups.com.


[tw5] Re: Presenting: The TiddlyGoo project - integrate your wiki with the web

2021-04-04 Thread Mat
Jon wrote:

> Would it be possible to adapt things so that the sharing link from Google 
> Photos works, as well as the link from Google Drive? (forgive my ignorance 
> if that's impossible).
>

I did some primitive attempts but Google Photos seems to use a different 
structure than Drive. I found this site 
 and this 
 that seem to have solved how 
to share google photo albums but they don't really share their code for how 
it's done. So, I'm not sure how to proceed with Google Photos specifically.

<:-)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/915761c2-2d74-4ce5-b9df-72e9f191d00en%40googlegroups.com.


[tw5] List of tiddlers in field

2021-04-04 Thread Sebastián Ortega
Hello,

I'm trying to organize a tiddlywiki in which I have a series of authors by 
using fields instead of just tags for everything and I have some problems.

I'm adding this to the view template with the intention of displaying 
author nationality and the fields he or she contributes:

<$list filter="[all[current]tag[Author]]">
  {{$:/core/images/globe}}
  <$macrocall $name="tag" tag={{!!nationality}}/> |
  {{$:/core/images/info-button}}
  <$list filter="[all[current]get[fields]]">
<$macrocall $name="tag" tag=<>/>
  


However, this doesn't create a separate tag pill per field but a single one 
with both fields concatenated. Here I was expecting one pill for Economics 
and another for Investing:

[image: shot.jpg]
I know it's due to the filter I'm using but I can't manage to find the 
right one by myself.

Do you know how to do this?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b485a2a5-f11f-4090-9bd4-a3cd81a5c1a5n%40googlegroups.com.


[tw5] Re: [Plugin] TW5-CodeMirror-Plus - with better formatting and autocompletion

2021-04-04 Thread si
@Adithya I've added the feature requests to the repo (plus one extra :]).

>>> I have a sense of how to approach these problems but its likely to take 
a good amount of time. So please dont expect anything soon :D 

Of course! This is already a great plugin, thanks a lot!
On Saturday, 3 April 2021 at 18:15:51 UTC+1 bmad...@gmail.com wrote:

> Thanks for the feedback and suggestions. I will appreciate it if you add 
> them to the github repo.
>
> I have a sense of how to approach these problems but its likely to take a 
> good amount of time. So please dont expect anything soon :D
>
> Thanks, Adithya
> On Friday, April 2, 2021 at 8:17:11 AM UTC-6 si wrote:
>
>> @Adithya This is really nice - great contribution to TiddlyWiki.
>>
>> I have a couple of suggestions regarding the autocomplete:
>>
>> 1. It would be cool to be able to set the suggestions to pop up 
>> automatically, without having to press ctrl+space.
>> 2. On selecting a tiddler from the autocomplete, would it make sense for 
>> the closing brackets to be added automatically, and the cursor moved to the 
>> end of the line? I appreciate that there may be a reason for the current 
>> behaviour that I am not understanding.
>>
>> If either of these make sense to you I'm happy to add them to github as 
>> feature requests.
>>
>> Thanks again!
>> On Sunday, 28 March 2021 at 21:59:11 UTC+1 bmad...@gmail.com wrote:
>>
>>> Hi Everyone,
>>>
>>> I first released TW5-CodeMirror-plus six months or so back but didnt get 
>>> time to work on it since then. This is a major update with some nice 
>>> additions.
>>>
>>> Checkout it out here: 
>>> https://adithya-badidey.github.io/TW5-codemirror-plus/
>>>
>>> Cheers
>>> Adithya
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f49ea59d-2e87-4217-a345-487521bdc3c3n%40googlegroups.com.


[tw5] Re: Presenting: The TiddlyGoo project - integrate your wiki with the web

2021-04-04 Thread 'Florian Felix' via TiddlyWiki

Would be nice if it’s not entirely dependent on the usage of google 
services... 
Mat schrieb am Freitag, 2. April 2021 um 08:29:59 UTC+2:

> I proudly present the...
>
> TiddlyGoo project 
>
> The project is an expanding set of tools for integrating your wiki with 
> the web - do participate with more ideas!
>
> [image: illustration_small.png]
>
> Fellow *tiddleur* *@Mark S* and I recently presented 
>  the 
> SheetsIN plugin which is one of the linchpins enabling me to hereby present:
>
> *The DriveTree plugin*
> Map your Google Drive as a tree structure in TiddlyWiki. (Finally use TW 
> as a document manager!)
>
> *The Pic macro*
> Very easily use Drive stored images in tiddlers to create complex 
> text+image tiddlers. 
>
> ...and there is a *lot more* on the TiddlyGoo project page.
>
> Note! Help is needed to create a SheetsOUT 
> plugin, i.e some way to 
> export tiddler content to Google Sheets. If you have ideas for this, please 
> shout out. This would open up for... a lot.
>
> <:-)
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/01df-3863-443a-bd2a-3cf4136136d3n%40googlegroups.com.


[tw5] Re: Display tags in Tiddlers

2021-04-04 Thread PMario
Hi JK,
See: 
https://tiddlywiki.com/#tag%20Macro:%5B%5Btag%20Macro%5D%5D%20%5B%5Btag%20Macro%20(Examples)%5D%5D%20MacroCallWidget

I did add a link to the macro-call widget, because it may be needed, if you 
want to call the tags macro in your own macros. 

-mario

On Sunday, April 4, 2021 at 2:02:03 PM UTC+2 isd196...@gmail.com wrote:

> *Scenario: *
>
>- I have Tiddlers for each of a fairly large (and growing) group of 
>people where the Tiddler name is the persons name.
>
>- Each of these Tiddlers is tagged with the same group ID tag (People).
>
>- The Name of each Tiddler (In the "People" Tag group) is then used 
>itself as a Tag in multiple other Tiddlers, containing a variety of 
>different project information that the Tagged person in the "People" group 
>is associated with.
>
>
> *What I actually want:*
> In a new Tiddler I would like to be able to list all of the members of the 
> "People" Tag group, in alphabetical order, as a list, but displayed as Tags 
> themselves,.
>
> *Why?:*
> When we click on a Tag at the top of a Tiddler we can see a list of where 
> that Tag occurs within the Wiki. Id like this functionality to be available 
> to me in the confines of a Tiddler so that I can have a Tiddler that is an 
> Index of all of the people, displayed as Tags, so that I can click on a 
> name and see what projects that person is involved with, and can click to 
> go to any one of them.
>
> Of course I can get a list of the people, in order, make each item a link 
> to the Tiddler of that person, etc etc, but so far I have failed horribly 
> to make that list be a list of Tags rather than text and text links.
>
> Many thanks for any help
>
> JK
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1baf4d5b-6d31-4b20-8122-dd35c531c962n%40googlegroups.com.


[tw5] Display tags in Tiddlers

2021-04-04 Thread Jax Kovak
*Scenario: *

   - I have Tiddlers for each of a fairly large (and growing) group of 
   people where the Tiddler name is the persons name.
   
   - Each of these Tiddlers is tagged with the same group ID tag (People).
   
   - The Name of each Tiddler (In the "People" Tag group) is then used 
   itself as a Tag in multiple other Tiddlers, containing a variety of 
   different project information that the Tagged person in the "People" group 
   is associated with.


*What I actually want:*
In a new Tiddler I would like to be able to list all of the members of the 
"People" Tag group, in alphabetical order, as a list, but displayed as Tags 
themselves,.

*Why?:*
When we click on a Tag at the top of a Tiddler we can see a list of where 
that Tag occurs within the Wiki. Id like this functionality to be available 
to me in the confines of a Tiddler so that I can have a Tiddler that is an 
Index of all of the people, displayed as Tags, so that I can click on a 
name and see what projects that person is involved with, and can click to 
go to any one of them.

Of course I can get a list of the people, in order, make each item a link 
to the Tiddler of that person, etc etc, but so far I have failed horribly 
to make that list be a list of Tags rather than text and text links.

Many thanks for any help

JK

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fe40c740-3ded-4846-9ff7-abb55adf121bn%40googlegroups.com.


[tw5] video embed macro(?)

2021-04-04 Thread Sapphireslinger
(Background: I found a hack for embedding responsive video at 
https://www.h3xed.com/web-development/how-to-make-a-responsive-100-width-youtube-iframe-embed)

I assume it is code bloat to keep pasting 

 

into every video tiddler. 

So I put this in a tiddler tagged $:/tags/ViewTemplate and it works: 

<$list filter="[tag[video]]">



*But it broke this:* 

<$list filter="[tag[Video Collection - Foo]sort[title]]">
   <$button class="tc-btn-invisible tc-tiddlylink" message="tm-modal" 
param=<>>
  <$text text={{!!caption}}/>
   


Clicking a link still brings up a modal but there is nothing in it now. 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b768b715-f5b4-45e9-b898-b1381d341c05n%40googlegroups.com.


[tw5] Re: video embedded in modal - how to call with link instead of button?

2021-04-04 Thread Sapphireslinger
Thank you very much!

On Tuesday, March 30, 2021 at 3:09:04 PM UTC+8 Eric Shulman wrote:

> On Monday, March 29, 2021 at 11:47:06 PM UTC-7 Sapphireslinger wrote:
>
>> *Problem 1: How to get "1. Introduction" to display as a link not a 
>> button?*
>> *Problem 2: How to call all FooVideos with a list filter where clicking a 
>> link (of the caption) opens it in the tm-modal? *
>>
>  
> <$list filter="[tag[FooVideo]sort[title]]">
><$button class="tc-btn-invisible tc-tiddlylink" message="tm-modal" 
> param=<>>
>   <$text text={{!!caption}}/>
>
> 
>
> Notes:
> 1) Removed trailing / from <$list> widget (use matching /$list widget 
> instead)
> 2) Use class=" tc-btn-invisible tc-tiddlylink" to make the button appear 
> as clickable link instead of a button
> 3) Variables used as parameter values need doubled angled brackets (i.e., 
> <>)
> 4) Use $text widget to display caption (avoids unwanted links if there is 
> any CamelCase in caption text)
>
> enjoy,
> -e
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fbcc6bc2-8c85-4bd4-bb38-03ade9a2f563n%40googlegroups.com.


Re: [tw5] Import as external files (Node.js)

2021-04-04 Thread Mohammad Rahmani
Thank you Saq!

Much appreciated!

Best wishes
Mohammad


On Sun, Apr 4, 2021 at 1:50 PM Saq Imtiaz  wrote:

> Hi Mohammad,
>
> Currently there is only a local git repo on my own machine. I've uploaded
> a zip file for you:
> https://github.com/saqimtiaz/sq-tw/raw/master/temp/ImportToExternalFile.zip
> Please do use with caution.
>
> Regards,
> Saq
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/c4dab120-309f-43d3-92e6-61b3df8445c9n%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMCqyeF3f7HNwrsaJZ-9UxbR%3D3g%3DGWw%2BeD8_mm5FwteHYA%40mail.gmail.com.


Re: [tw5] Fetching tiddlers from one wiki to another

2021-04-04 Thread Mohammad Rahmani
On Sun, Apr 4, 2021 at 1:38 PM Saq Imtiaz  wrote:

> Hi Mohammad,


Hi Saq,

>
> So a lot of things are still up in the air. As I mentioned this is a quick
> prototype without a lot of pre-planning and I haven't had the chance to
> figure out a good workflow yet even for my specific needs. I'll try to
> answer your questions as well as I can at this point,
>


> but some things we may need to discuss and figure out together.
>

Sure!

>
>
>> One question: In Searchwikis (https://github.com/kookma/TW-Searchwikis)
>> it uses index tiddlers from target wikis to search them
>> The question is: Can I use Get Remote Tiddlers plugin to automatically
>> update the indeed tiddlers in my main wiki i.e to fetch latest changes?
>>
>
> Yes that should be possible as long as the wikis are on the same domain or
> served with CORS headers. The catch is that for every wiki, the code will
> be fetching the entire TW file to extract the tiddlers, which means more
> bandwidth used and also possibly some lag in the wiki depending on the
> number of wikis being fetched and the hardware. I want to experiment with
> using the same technique with an uglified TW with Flibbles' plugin, or a TW
> with the core in an external js file. Especially the second option should
> load considerably faster.
>

I did not know the whole wiki is fetched, then yes for many external wikis
or large wikis we will have some time lags! I use the Flibbles uglify, I am
very happy with that, but for this case still the empty.html is around
1.2MB, the external.js seems promising here!

>
> Another option that might make the most sense for Searchwikis is to
> generate and save the index as a separate file. This would need far less
> bandwidth to fetch and should overall be considerably faster. For wikis
> served by Github pages we could even try to implement an option to save the
> index file automatically each time the wiki is saved.
>

Great! Right now I have to open each target wiki separately, update the
index, export it, and import to the central wiki!

>
>
>> A more radical question is can " Get Remote Tiddlers " deprecate
>> searchwikis and lets users search other wikis from a central wiki?
>>
>
> Fetching tiddlers from a remote wiki already entails loading the entire
> wiki and extracting all its tiddlers and creating an array of tiddler
> titles. So yes, theoretically you could skip the part of Searchwikis that
> creates the index and just use Get Remote Tiddlers to create the index for
> the other wikis. However, the same caveats apply in terms of bandwidth
> usage and that with many wikis being fetched in the background it could
> slow down the wiki when that is happening. Using TW files with an external
> core.js file would be very helpful here.
>
> Having to rely on CORS headers being present is indeed a limitation but
> this overall approach (rather than the code I posted specifically) opens
> some interesting possibilities as well.
>
> If you're interested, there's a small discussion here about enabling CORS
> on TiddlyHost: https://github.com/simonbaird/tiddlyhost/issues/112
>

I will!

>
> I am also curious to see if TW on Fission opens up for similar workflows.
>
> Cheers,
> Saq
>


Thank you Saq!

> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/a30adfd0-8d9f-42d8-aea6-e0824c777db6n%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMApi7STpRFofsx3Uq3inNk6B1R0u%3Dsbp%2BEqQa2xXurzJw%40mail.gmail.com.


Re: [tw5] Import as external files (Node.js)

2021-04-04 Thread Saq Imtiaz
Hi Mohammad,

Currently there is only a local git repo on my own machine. I've uploaded a 
zip file for 
you: https://github.com/saqimtiaz/sq-tw/raw/master/temp/ImportToExternalFile.zip
Please do use with caution.

Regards,
Saq

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c4dab120-309f-43d3-92e6-61b3df8445c9n%40googlegroups.com.


Re: [tw5] Import as external files (Node.js)

2021-04-04 Thread Saq Imtiaz
Hi Jeremy,

Thank you. I've been looking at documentation for Cognito this last week 
and it is helpful to have confirmation that it is the correct path to 
follow. The eventual goal is to have a modular system where you can choose 
to save binary files being imported as _canonical_uri tiddlers, with a 
choice of backends for uploading the actual files to.

Regards,
Saq

On Sunday, April 4, 2021 at 10:24:07 AM UTC+2 Jeremy Ruston wrote:

> Thanks Saq, good stuff.
>
> Future plans include exploring saving to other backends like S3, time 
> allowing. This would be a nice option for single file wikis but the 
> challenge is how to securely save credentials for s3. Any ideas on this 
> would be most welcome.
>
>
> In my S3 work I use Cognito to authenticate users, and let AWS's client 
> side JS library manage the credentials in browser storage. As ever with 
> serverless, there are a few moving parts that need setting up, but then 
> it's all quite smooth.
>
> Best wishes
>
> Jeremy
>
>
> Cheers,
> Saq
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/dc0138a0-2bbf-4c46-83f9-2585ea3264c3n%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b360583e-d273-479c-a638-b320fc1e983an%40googlegroups.com.


Re: [tw5] Fetching tiddlers from one wiki to another

2021-04-04 Thread Saq Imtiaz
Hi Mohammad,

So a lot of things are still up in the air. As I mentioned this is a quick 
prototype without a lot of pre-planning and I haven't had the chance to 
figure out a good workflow yet even for my specific needs. I'll try to 
answer your questions as well as I can at this point, but some things we 
may need to discuss and figure out together.
 

> One question: In Searchwikis (https://github.com/kookma/TW-Searchwikis) 
> it uses index tiddlers from target wikis to search them
> The question is: Can I use Get Remote Tiddlers plugin to automatically 
> update the indeed tiddlers in my main wiki i.e to fetch latest changes?
>

Yes that should be possible as long as the wikis are on the same domain or 
served with CORS headers. The catch is that for every wiki, the code will 
be fetching the entire TW file to extract the tiddlers, which means more 
bandwidth used and also possibly some lag in the wiki depending on the 
number of wikis being fetched and the hardware. I want to experiment with 
using the same technique with an uglified TW with Flibbles' plugin, or a TW 
with the core in an external js file. Especially the second option should 
load considerably faster.

Another option that might make the most sense for Searchwikis is to 
generate and save the index as a separate file. This would need far less 
bandwidth to fetch and should overall be considerably faster. For wikis 
served by Github pages we could even try to implement an option to save the 
index file automatically each time the wiki is saved.
 

> A more radical question is can " Get Remote Tiddlers " deprecate 
> searchwikis and lets users search other wikis from a central wiki?
>

Fetching tiddlers from a remote wiki already entails loading the entire 
wiki and extracting all its tiddlers and creating an array of tiddler 
titles. So yes, theoretically you could skip the part of Searchwikis that 
creates the index and just use Get Remote Tiddlers to create the index for 
the other wikis. However, the same caveats apply in terms of bandwidth 
usage and that with many wikis being fetched in the background it could 
slow down the wiki when that is happening. Using TW files with an external 
core.js file would be very helpful here.

Having to rely on CORS headers being present is indeed a limitation but 
this overall approach (rather than the code I posted specifically) opens 
some interesting possibilities as well.

If you're interested, there's a small discussion here about enabling CORS 
on TiddlyHost: https://github.com/simonbaird/tiddlyhost/issues/112

I am also curious to see if TW on Fission opens up for similar workflows.

Cheers,
Saq

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a30adfd0-8d9f-42d8-aea6-e0824c777db6n%40googlegroups.com.


Re: [tw5] Import as external files (Node.js)

2021-04-04 Thread Jeremy Ruston
Thanks Saq, good stuff.

> Future plans include exploring saving to other backends like S3, time 
> allowing. This would be a nice option for single file wikis but the challenge 
> is how to securely save credentials for s3. Any ideas on this would be most 
> welcome.

In my S3 work I use Cognito to authenticate users, and let AWS's client side JS 
library manage the credentials in browser storage. As ever with serverless, 
there are a few moving parts that need setting up, but then it's all quite 
smooth.

Best wishes

Jeremy

> 
> Cheers,
> Saq
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/dc0138a0-2bbf-4c46-83f9-2585ea3264c3n%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/94A37F4C-4987-4522-9925-FD7CBAC33D91%40gmail.com.


Re: [tw5] Fetching tiddlers from one wiki to another

2021-04-04 Thread Mohammad Rahmani
Hi Saq,
 This is very exciting and opens a lot of new windows for Tiddlywiki.

One question: In Searchwikis (https://github.com/kookma/TW-Searchwikis) it
uses index tiddlers from target wikis to search them
The question is: Can I use Get Remote Tiddlers plugin to automatically
update the indeed tiddlers in my main wiki i.e to fetch latest changes?

A more radical question is can " Get Remote Tiddlers " deprecate
searchwikis and lets users search other wikis from a central wiki?


Best wishes
Mohammad


On Sun, Apr 4, 2021 at 10:24 AM Saq Imtiaz  wrote:

> I've been contemplating a project where if I were to use TiddlyWiki, I
> would need to be able to fetch content from other wikis on startup, and
> preferably without needing to have extra plugins installed on the wiki that
> is the content source.
>
> I've created a quick and messy proof of concept. This has only a very
> narrow use case in that it requires that both wikis either be on the same
> domain, or that the wiki that is the source of content be served with CORS
> headers. I am sharing it in case anyone else finds it of interest.
>
> Warning: this is very raw and incomplete. I spent about 40 minutes hacking
> this into place - with a lot of déjà vu moments thinking of working with
> FND and prototyping a plugin update system back in the TW 2.x days - and
> then maybe just as long preparing a demo:
>
> https://saqimtiaz.github.io/sq-tw/temp/get-remote-tiddlers.html
>
> What does make this a little exciting is that Github pages supports CORS
> and with a little luck we might get CORS support at TiddlyHost too. So it
> opens the door to some of the workflow that was commonplace in the TWC
> days, like auto-importing content, updates to certain tiddlers, plugin auto
> updates etc.
>
> In preparing the demo I also realized that it would be useful to be able
> to bypass the cache when fetching the content.
>
> Cheers,
> Saq
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/20ade4fa-4f1e-4569-8133-3bf3cd4ad1e4n%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMAXRjnFzd9Jq%2BFyexfLzf-PdrNtq9NbFupFF6wBJ8FbvQ%40mail.gmail.com.


Re: [tw5] Import as external files (Node.js)

2021-04-04 Thread Mohammad Rahmani
Best wishes
Mohammad


On Sun, Apr 4, 2021 at 12:19 PM Mohammad Rahmani 
wrote:

> Hi Saq,
>  This is amazing indeed! Your time and talent are much appreciated!
>   One use case for me is: In Refnotes I use bibtex format for my
> references (most of them with pdf=full version stored in the ref folder in
> the same folder of my wiki)!
>   This plugin allows me to have access to the full text of those
> references from my wiki!
>
>  One question: Is there a client-server version to be downloaded? I mean
> not a packed version (usually installed by drag and drop)!
>

A plugin folder can be distributed as an embedded zip file here I think



> Best wishes
> Mohammad
>
>
> On Sun, Apr 4, 2021 at 9:33 AM Saq Imtiaz  wrote:
>
>> This is an in-development plugin for Node.js that has been recently
>> discussed in another thread. I'm posting it separately as well in case
>> others find it of interest.
>>
>> For images (and other binary files), when importing to a wiki it allows
>> you to save the files as external files in the files folder with a
>> _canonical_uri tiddlers created in the wiki.
>>
>> There is also a view toolbar button to externalise existing tiddlers (if
>> they are of the correct type).
>>
>> This is still very much in development and there is no documentation so
>> use with care:
>>
>> https://saqimtiaz.github.io/sq-tw/temp/import-to-external-file.html
>>
>> If you have a previous version installed, you will need to delete that
>> before importing this. The version numbering system had to be changed for
>> compatibility with how the core compares version numbers.
>>
>> Future plans include exploring saving to other backends like S3, time
>> allowing. This would be a nice option for single file wikis but the
>> challenge is how to securely save credentials for s3. Any ideas on this
>> would be most welcome.
>>
>> Cheers,
>> Saq
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/tiddlywiki/dc0138a0-2bbf-4c46-83f9-2585ea3264c3n%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMAfcT9UfWNmsjUWb-_hgtzPH%3DFneYKwtsaQMr312p2Pcw%40mail.gmail.com.


Re: [tw5] Import as external files (Node.js)

2021-04-04 Thread Mohammad Rahmani
Hi Saq,
 This is amazing indeed! Your time and talent are much appreciated!
  One use case for me is: In Refnotes I use bibtex format for my references
(most of them with pdf=full version stored in the ref folder in the same
folder of my wiki)!
  This plugin allows me to have access to the full text of those references
from my wiki!

 One question: Is there a client-server version to be downloaded? I mean
not a packed version (usually installed by drag and drop)!
Best wishes
Mohammad


On Sun, Apr 4, 2021 at 9:33 AM Saq Imtiaz  wrote:

> This is an in-development plugin for Node.js that has been recently
> discussed in another thread. I'm posting it separately as well in case
> others find it of interest.
>
> For images (and other binary files), when importing to a wiki it allows
> you to save the files as external files in the files folder with a
> _canonical_uri tiddlers created in the wiki.
>
> There is also a view toolbar button to externalise existing tiddlers (if
> they are of the correct type).
>
> This is still very much in development and there is no documentation so
> use with care:
>
> https://saqimtiaz.github.io/sq-tw/temp/import-to-external-file.html
>
> If you have a previous version installed, you will need to delete that
> before importing this. The version numbering system had to be changed for
> compatibility with how the core compares version numbers.
>
> Future plans include exploring saving to other backends like S3, time
> allowing. This would be a nice option for single file wikis but the
> challenge is how to securely save credentials for s3. Any ideas on this
> would be most welcome.
>
> Cheers,
> Saq
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/dc0138a0-2bbf-4c46-83f9-2585ea3264c3n%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMCL23Fo5pD7WmJYTAcwuEuygP4Dk5W0q4ZGpDx7SuNBxA%40mail.gmail.com.


[tw5] Re: How to find transclusions

2021-04-04 Thread J. C. S.
Wow, a great tool!
While this is not what I was originally looking for, it solves my biggest 
problems.
Thanks a lot!

Mark S. schrieb am Sonntag, 4. April 2021 um 00:09:22 UTC+2:

> If it's any comfort, AFAIK there is no official "backlinks" for 
> transclusions.  
>
> For fixing transclusions after changed tiddler names, there is the relink 
> plugin:
>
> https://flibbles.github.io/tw5-relink/
>
> On Saturday, April 3, 2021 at 2:57:29 PM UTC-7 joh@gmail.com wrote:
>
>>
>> Hello there! 
>>
>> My name is Johannes and I'm new here. I've been using TiddlyWiki for a 
>> long time and I love it. However, I don't speak English very well, so I 
>> find it difficult to work my way through the documentation and maybe I just 
>> missed the right hint, sorry.
>>
>> I have a question about transclusions. 
>>
>> Of course those are fine, but how can I see whether a Tiddler has been 
>> used in one or more transclusions, or whether a Tiddler uses transclusions 
>> or even tries to transclude a Tiddler who does not exist? Of course, this 
>> shouldn't happen, but it can happen if you try to rename a Tiddler and lose 
>> the link.
>>
>> I was expecting to find this information in the Tiddler info box, but it 
>> only lists WikiLinks, not transclusions.
>>
>> Thanks for help!
>> Johannes
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6c438289-52de-4ef2-9e30-079552a9d4cen%40googlegroups.com.