[tw5] Re: TiddlyWiki and Accessibility

2020-05-09 Thread A Gloom
Cross posting this to TWDev Group -- 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

[tw5] Convert Image Tiddlers to one with [img[external/link]]?

2020-05-09 Thread Dave Parker
Hi, I'm trying to lighten up a TW so it loads faster. I have several tiddlers with images in them (the kind you make by dragging and dropping) and I'd like to convert them to the simple image link kind, but I don't have the original images I used to make the tiddlers in the first place. Is

[tw5] Re: Preserving paragraphs when pasting into TW

2020-05-09 Thread Birthe C
I am using j.d paragraph macro Birthe -- 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

[tw5] Re: Is it possible to host a Plugin-Library for content?

2020-05-09 Thread Mohammad
Thanks Jed! If so, I will your procedure above + JSZip to see how can I create a library in browser! On Sunday, May 10, 2020 at 3:20:51 AM UTC+4:30, Jed Carty wrote: > > Yes, I used that for something, I don't remember what. You could make a > zip file with all of the files and the folder

[tw5] parallax scrolling for longer tiddlers?

2020-05-09 Thread Dave Parker
Hi, I did a quick search here for "Parallax" and didn't find much, but thought I'd ask anyway: Is there any way in TW5 to do some sort of parallax reveal on scroll thingie, similar to what happens here https://cooperperkins.com/ ? Obviously it would have to be within a tiddler as you scroll it

[tw5] Re: Preserving paragraphs when pasting into TW

2020-05-09 Thread 'Mark S.' via TiddlyWiki
I have various clippers in my browser. One of them for instance copies markdown. The markdown text is a lot cleaner to edit than HTML. My impression is that not many people actually use TW as an editing platform. I'm thinking that editing in TW would be OK if it worked more like dynalist.

[tw5] Re: Preserving paragraphs when pasting into TW

2020-05-09 Thread David Gifford
Anne-Laure In TiddlyWiki there has been a tendency to write paragraphs as short tiddlers and transclude them into longer 'article' tiddlers. That is not really my thing, and I share your frustration. I prefer to write in Dynalist, and use TiddlyWiki for publishing or for playing with data to

[tw5] Re: [Presenting]: STROLL official rollout!

2020-05-09 Thread David Gifford
Hi Martin and Birthe I have removed that line from the StyleSheet. I think it had been for the parallel tab in TiddlyBlink. Also, I renamed the stylesheet "$:/.giffmex/.Stylesheet4Stroll." On Saturday, May 9, 2020 at 4:34:36 AM UTC-5, Birthe C wrote: > > Martin Piron, > > You can find it in

[tw5] Re: [Presenting]: STROLL official rollout!

2020-05-09 Thread David Gifford
Hi Edu I peed at the previews plugin and don't foresee it causing problems with Stroll. Not sure why it would not have worked in TiddlyBlink. Keep in mind that the preview plugin will not work if you are going to use it for generating static HTMLs. On Saturday, May 9, 2020 at 6:12:31 AM

Re: [tw5] Re: [Presenting]: STROLL official rollout!

2020-05-09 Thread David Gifford
Hi Ed I just added to the documentation to reflect these two items. Thank you for bringing them to my attention! On Saturday, May 9, 2020 at 2:40:52 PM UTC-5, Ed Heil wrote: > > David, > > On the issue of the autocomplete -- it might be worth calling out in the > tutorial that the

[tw5] Re: Preserving paragraphs when pasting into TW

2020-05-09 Thread Julio Peña
Hello,Tony, much appreciated for the clarification! :) Regards, Julio On Saturday, May 9, 2020 at 10:42:47 PM UTC-4, TonyM wrote: > > Julio, > > Keep in mind what appears on the screen is not always visible in the > source. The best example is if you do this with tiddlywiki, t will not be >

[tw5] Re: [Presenting]: STROLL official rollout!

2020-05-09 Thread David Gifford
Hi Selfire Birthe C is probably right, you probably had already tweaked a viewtemplate/title button before installing Stroll, and that is causing the conflict. On Saturday, May 9, 2020 at 3:37:35 PM UTC-5, selfire wrote: > > Hi David, > > thank you so much for your amazing work. > > I seem to

[tw5] Re: [Presenting]: STROLL official rollout!

2020-05-09 Thread David Gifford
Hi Gerrit 1) Not sure how to open diff files. Maybe you could send them in a tiddlywiki html or as tid files? 2) What specifically is wrong with my "usage of icons and the hints for the toolbar buttons"? You do realize I changed those hints, since those are NOT the usual new here buttons that

[tw5] Re: Preserving paragraphs when pasting into TW

2020-05-09 Thread Birthe C
TonyM, I could have kicked myself never having thought of that solution. You wrote it just at the right time for me, trying to get some rather nasty tables into my TW. All worked well and I am so pleased. Birthe søndag den 10. maj 2020 kl. 03.35.15 UTC+2 skrev TonyM: > > Depending on your

Re: [tw5] Re: The MESS of knowing what is what ... GG is poison ...

2020-05-09 Thread Birthe C
Peter, I know. I just wonder if the beginner support of this group would be happily received as created issues on Github. All kinds I mean? I am not sure than everyone creating adaptations and plugins even are on github but I may be wrong. If the interesting stuff leaves this group, people

[tw5] Re: Preserving paragraphs when pasting into TW

2020-05-09 Thread TonyM
Julio, Keep in mind what appears on the screen is not always visible in the source. The best example is if you do this with tiddlywiki, t will not be "true". I recommend a Copy as html addon in the browser to address this. What you say may be 100% correct on static sites. Regards Tony On

[tw5] Re: Preserving paragraphs when pasting into TW

2020-05-09 Thread TonyM
Anne-Laure, Since I do not YET follow you, what kind of content are you authorig,?, it can make quite a difference how to make use of TiddlyWiki. What is bothering you when writing longer form content? I have a view on how authors should write with a view to long term viability, I can share if

[tw5] Re: --render is not including the replacement of global macros

2020-05-09 Thread Soren Bjornstad
For kicks, I decided to try turning the macro tiddler into a template and rendering through that on the command line, and this worked. Viz., I added to the bottom of the *testmacro* tiddler: <$transclude mode="block" /> Then ran: "$(npm bin)/tiddlywiki" --render '[[test2]]'

[tw5] Re: Preserving paragraphs when pasting into TW

2020-05-09 Thread Julio Peña
Hello Anne-Laure and all, I hope I am understanding the question correctly, so forgive the intrusion. This may not be an ideal solution, however, what I do is: 1. go to the page 2. right-click on page and click on "View Page Source" 3. Go look for my text in question 4. highlight tags and all

Re: [tw5] Re: The MESS of knowing what is what ... GG is poison ...

2020-05-09 Thread 'Peter Buyze' via TiddlyWiki
Birthe, Github is not for programmers only. I have a number of programs on my computer and issues are addressed via Github, so I have a Github account even though I am not a programmer, as you know. -- Securely sent with Tutanota. Get your own encrypted, ad-free mailbox:

[tw5] Re: Plugin design: splitting up vs. duplicating

2020-05-09 Thread TonyM
HC, This is a very good Question. I think whilst coding can be a science sometime it becomes an art. Here are a few thoughts that may guide the decision - Do the various features of the belong as one logical unit? - This seems so when there are dependencies - Are the features

[tw5] --render is not including the replacement of global macros

2020-05-09 Thread Soren Bjornstad
Hi all, I'm having a strange problem trying to render HTML with the Node --render command. As the subject says, the output of global macros doesn't show up. Yet local macros work fine. Am I doing something wrong, or is this a bug or just not supported this way? The documentation doesn't say

[tw5] Re: Preserving paragraphs when pasting into TW

2020-05-09 Thread Anne-Laure Le Cunff
Thank you, Mark! I'm curious - do people actually write straight into TW for long texts? How come this hasn't been much of an issue for everyone else? Or is it just that most people take quick notes / bullet points and never feel the need to write or paste very long articles? On Sunday, May

[tw5] Re: Preserving paragraphs when pasting into TW

2020-05-09 Thread 'Mark S.' via TiddlyWiki
I'm sure someone will come along with a better solution. This will replace single line feeds with paragraph breaks. Unfortunately, this means your original text will actually be physically more mangled than it started -- I have no way to generate a literal carriage return. Be sure to make

[tw5] Re: Preserving paragraphs when pasting into TW

2020-05-09 Thread Anne-Laure Le Cunff
Thanks so much Tony, I didn't think of using a tool that would preserve the HTML formatting. I'll give that a try. I honestly can't write long-form content in TiddlyWiki. For short notes, it's fine. But when I write long notes (thousands of words), the writing experience is not comfortable. So

[tw5] Re: Preserving paragraphs when pasting into TW

2020-05-09 Thread TonyM
Anne-Laure. This becomes an issue for all tiddlywiki users eventually for many when typing, or in your case importing text. I believe it is a product of the way wikitext need to cohabit with widgets and other code. I and mario were recently looking at "dot paragraphs" where placing a period at

[tw5] Preserving paragraphs when pasting into TW

2020-05-09 Thread Anne-Laure Le Cunff
Hey everyone! I often have to paste long content from other sources (Google Doc, Roam, email) into TW and it just lumps everything together. No more paragraphs, formatting or anything, just a massive blob of text. Is there a way to fix this? Thank you! Anne-Laure. -- You received this

Re: [tw5] Lost two weeks of work - what I did wrong and what you can do to avoid it

2020-05-09 Thread 'Mark S.' via TiddlyWiki
If you run without "forever" does it run OK? I just launch from a command line or an I3WM menu. -- 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

[tw5] Re: [Plugin] Daily Notes - Interstitial Journaling plugin TiddilyWiki

2020-05-09 Thread Birthe C
Tony K, Thank you! Works now. Drift is really getting better and better and so easy on the eye. Birthe -- 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

[tw5] Re: Is it possible to host a Plugin-Library for content?

2020-05-09 Thread Jed Carty
Yes, I used that for something, I don't remember what. You could make a zip file with all of the files and the folder structure with a bit of JavaScript. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop

[tw5] Re: [Plugin] Daily Notes - Interstitial Journaling plugin TiddilyWiki

2020-05-09 Thread Tony K
Hello Brice I use Drift from my mobile phone all the time however you made me realize 2 things 1. I had the search bar toggle hidden on the published version, it can be enabled from the control panel but I updated the template published, both demo and empty, please try it now 2. I

[tw5] Re: [Plugin] Daily Notes - Interstitial Journaling plugin TiddilyWiki

2020-05-09 Thread Tony K
thank you :) On Sunday, May 10, 2020 at 12:50:42 AM UTC+3, selfire wrote: > > This looks amazing, thank you! > > On Saturday, 9 May 2020 23:12:29 UTC+2, Tony K wrote: >> >> Bringing, yet another, Roam functionality into TW5 I wrote this litter >> plugin called Daily Notes, it is still in early

Re: [tw5] Lost two weeks of work - what I did wrong and what you can do to avoid it

2020-05-09 Thread Andy Redfern
Cheers Arlen. I'll check out PM2. I guess it would have been helpful if on of the Tiddlywiki NodeJS server docs (https://www.npmjs.com/package/tiddlywiki) had pointed to PM2 (or even forever as it does work when used correctly). Perhaps once I have found my way around the world of TW, I will

Re: [tw5] Lost two weeks of work - what I did wrong and what you can do to avoid it

2020-05-09 Thread Arlen Beiler
Ok, I understand now. That makes sense. I'm sorry to hear about this. There is currently no indication in the browser if the server is having trouble saving. That's not necessarily for me to decide, but if there are others here that would be interested in that please comment here with your

Re: [tw5] Lost two weeks of work - what I did wrong and what you can do to avoid it

2020-05-09 Thread Andy Redfern
Correct. Having given the tiddler folder 777 permissions even when running with forever I see; syncer-server-filesystem: Dispatching 'save' task: $:/StoryList syncer-server-filesystem: Dispatching 'save' task: $:/_sq/Stories/Story2HistoryList syncer-server-filesystem: Dispatching 'save' task:

[tw5] Re: [Plugin] Daily Notes - Interstitial Journaling plugin TiddilyWiki

2020-05-09 Thread Birthe C
Tony K, Looks nice and works very well and quick. But I wonder how to use drift on small screen. All is well except how would you search? Birthe -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving

[tw5] How Roam Research analyzes product design and team building

2020-05-09 Thread Diego Mesa
How Roam Research analyzes product design and team building Article: https://thetwentyminutevc.com/conorwhitesullivan/ HN Comments: https://news.ycombinator.com/item?id=23117876 -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe

Re: [tw5] Lost two weeks of work - what I did wrong and what you can do to avoid it

2020-05-09 Thread Andy Redfern
Hi Arlen, This was on 5.1.22 The issue was that running directly: tiddlywiki mynewwiki --listen had no issues. It was saving tiddlers without issue. It was when I instantiated using forever that the permissions were wrong. The error message you show was present in the forever logs, but I

Re: [tw5] Lost two weeks of work - what I did wrong and what you can do to avoid it

2020-05-09 Thread Arlen Beiler
Do you see any messages like this? syncer-server-filesystem: Dispatching 'save' task: $:/StoryList or any other tiddler title On Sat, May 9, 2020 at 6:02 PM Arlen Beiler wrote: > It seemed strange to me that there would be no logging for that error, and > that would definitely have been a

Re: [tw5] Lost two weeks of work - what I did wrong and what you can do to avoid it

2020-05-09 Thread Arlen Beiler
It seemed strange to me that there would be no logging for that error, and that would definitely have been a bug, however in trying to reproduce this, I am getting an error message. Sync error while processing save of '$:/StoryList': Error: EACCES: permission denied, open

[tw5] Re: [Plugin] Daily Notes - Interstitial Journaling plugin TiddilyWiki

2020-05-09 Thread selfire
This looks amazing, thank you! On Saturday, 9 May 2020 23:12:29 UTC+2, Tony K wrote: > > Bringing, yet another, Roam functionality into TW5 I wrote this litter > plugin called Daily Notes, it is still in early development but good > enough, I think, to be released > > You can read more about

[tw5] Re: The MESS of knowing what is what ... GG is poison ...

2020-05-09 Thread Sarath Addanki
Same can be said regarding google groups as well. GG requires gmail account. and, though not majority, but many have icloud(part of apple ecosystem) accounts. GG isn't that popular among non-techie users as well. I'm guessing majority of end users of TiddlyWiki have some techie skills. I can

Re: [tw5] Lost two weeks of work - what I did wrong and what you can do to avoid it

2020-05-09 Thread Arlen Beiler
I'm sorry to hear this. As I deal with data folders a lot, I'm investigating this and will open a PR shortly. On Sat, May 9, 2020 at 2:00 AM Andy Redfern wrote: > Folks, > > Started using TiddlyWiki around four weeks ago. I love the friendliness of > the community and the product itself. As a

[tw5] Re: Lost two weeks of work - what I did wrong and what you can do to avoid it

2020-05-09 Thread Andy Redfern
Good point Mark. I am currently running Ubuntu 16.04.5 LTS on a Linode instance. It is entirely possible that I have misconfigured something else which was a contributing factor. I am normally a LAMP developer and this is the first time I have spun up NodeJS. Andy On Saturday, May 9,

[tw5] Re: Lost two weeks of work - what I did wrong and what you can do to avoid it

2020-05-09 Thread 'Mark S.' via TiddlyWiki
What's missing from your report is your operating system. Linux? Which flavor? Mac? Or ?? I run node and node-like products on xubuntu, and have never had to run as root. But maybe other systems are fussier? On Friday, May 8, 2020 at 11:00:21 PM UTC-7, Andy Redfern wrote: > > Folks, > >

[tw5] Re: Sharing Drift

2020-05-09 Thread Tony K
Thread bump Drift now supports interstitial journaling thanks to DailyNotes On Saturday, May 2, 2020 at 2:37:50 AM UTC+3, Tony K wrote: > > Drift is now updated to *v0.0.16* > > This version brings another Roam functionality into

[tw5] [Plugin] Daily Notes - Interstitial Journaling plugin TiddilyWiki

2020-05-09 Thread Tony K
Bringing, yet another, Roam functionality into TW5 I wrote this litter plugin called Daily Notes, it is still in early development but good enough, I think, to be released You can read more about interstitial journaling at https://nesslabs.com/interstitial-journaling Features - Keyboard

[tw5] Re: Lost two weeks of work - what I did wrong and what you can do to avoid it

2020-05-09 Thread Andy Redfern
Thanks Tony. Of course it does highlight a fundamental issue with back ups - the directory was being backed up everyday on normal server back up process - but the data had never been written to the drive, so the back up was unchanged for that folder. Perhaps I was unlucky but I was surprised

[tw5] Re: [Presenting]: STROLL official rollout!

2020-05-09 Thread Birthe C
If you open tiddler $:/.giffmex/ViewTemplate/title in one of the stories and tiddler $:/core/ui/ViewTemplate/title in the other story. You can see, that toggling Stroll default tiddler title position and tiddlywiki default tiddler title posision really toggles $:/tags/ViewTemplate/title. That

[tw5] Re: [Presenting]: STROLL official rollout!

2020-05-09 Thread selfire
Hi David, thank you so much for your amazing work. I seem to have the problem that whenever I tick "Stroll default tiddler title position", the title for my tiddlers just disappears, including any editor options. *Choose how to view titles:* Stroll default tiddler title position TiddlyWiki

[tw5] Re: [Presenting]: STROLL official rollout!

2020-05-09 Thread Gerrit Beine
Hi Dave, as promised on Twitter, here are my patched files. I've fixed the usage of icons and the hints for the toolbar buttons. Thanks again for stroll! Gerrit Am Donnerstag, 7. Mai 2020 17:04:17 UTC+2 schrieb David Gifford: > > Hi everyone > > Stroll is a TiddlyWiki adaptation imitating certain

Re: [tw5] Re: [Presenting]: STROLL official rollout!

2020-05-09 Thread Ed Heil
David, On the issue of the autocomplete -- it might be worth calling out in the tutorial that the autocomplete plugin won't work on iOS, or anyplace you don't have arrow keys, as this will be a problem for people using it, e.g., through Quine 2. It's also not trivial to disable it; you can't

[tw5] Re: Is it possible to host a Plugin-Library for content?

2020-05-09 Thread Mohammad
Hi Jed, Do you thing using the new JSZip plugin whihc lets to download tiddlers and create a folder structure on the fly on can simply create a plugin library on the fly? Ref: 1. https://github.com/Jermolene/TiddlyWiki5/issues/4646 2.

Re: [tw5] Building static sites in the browser

2020-05-09 Thread Edgaras
Saq Imtiaz unfortunately, it was happening for all of my tiddlers, even new ones I create. I reverted back to old version. It works if I install plugin on a brand new site. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from

Re: [tw5] Building static sites in the browser

2020-05-09 Thread Yoni Balkind
Sounds perfect Jeremy, thank you. Excuse my ignorance, but how do I make use of this update? Do I just follow identical steps as per the original post above (same link and same code)? -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To

Re: [tw5] Building static sites in the browser

2020-05-09 Thread Mohammad
Hi Jeremy, This is absolutely amazing feature! Now Tiddlywiki is a powerful static multi-pages website generator and real killer of many rival software out there. --Mohammad On Saturday, May 9, 2020 at 7:44:50 PM UTC+4:30, Jeremy Ruston wrote: > > I’ve just pushed an update that adds a new

[tw5] Re: Drag and drop feature works in iPadOS

2020-05-09 Thread tony
This is a great point, CL! I discovered this myself too last week while tinkering with TW again. I dusted off the old iPad and in side by side view, I can have Chrome with Google Groups open and select text and drag into Quine to create a new tiddler. When I see a cool snippet, plugin or post

[tw5] Plugin design: splitting up vs. duplicating

2020-05-09 Thread HC Haase
In developing my plugin I can see a couple of features could be usefull as seperate plugins of there own. I wonder what would be best practice 1. To keep everything in one plugin self contained, easy to install, but only on plugin. However, if functions are copied to another plugin later,

Re: [tw5] Building static sites in the browser

2020-05-09 Thread Saq Imtiaz
@Edgaras I assume that warning is just for some of your tiddlers? If so, you can give those tiddlers a field called 'slug' and specify what to use for the slug/filename On Saturday, May 9, 2020 at 6:59:26 PM UTC+2, Edgaras wrote: > > *Jeremy* great update! > > I think I am getting a bug: >

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Saq Imtiaz
Wess: Two issues: 1. Capitalization https://nurselog.online/Mind-Garden.html and not https://nurselog.online/mind-garden.html Avoid this by adding lowercase[] to both filters, eg [lowercase[]split[

[tw5] Re: The MESS of knowing what is what ... GG is poison ...

2020-05-09 Thread Birthe C
I think the programmers in this group are on github, Many in this group are not programmers, they are end users. Now programmers are on Github, there is also the TiddlyWikiDev group. Birthe -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To

[tw5] Re: Web Clipper equivalent

2020-05-09 Thread BJ
Hi Jared, I am the developer of tiddlyclip - if you are still having problems I should (hopefully!!) be able to help. cheers BJ On Wednesday, May 6, 2020 at 5:36:03 PM UTC+2, Jared Volpe wrote: > > Latest Firefox on the Mac throws an error when I try to install it. It > seems very out of

[tw5] Re: The MESS of knowing what is what ... GG is poison ...

2020-05-09 Thread Sarath Addanki
thinking out loud..Leverage github have discussions via github issues Tags can be added to categorize discussions like announcements, plugins, design Issues can be pinned as well. Issues/discussions can be searched with flexible syntax

Re: [tw5] Building static sites in the browser

2020-05-09 Thread Edgaras
*Jeremy* great update! I think I am getting a bug: -- 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

[tw5] Drag and drop feature works in iPadOS

2020-05-09 Thread CL
I'm not sure this has been mentioned before but I just realized drag and drop works in iPadOS. I've tested this on iPadOS 13.4 and Quine app. I also tried Safari on tiddlywiki.com and it works except the fact that I have to quickly drag to other

Re: [tw5] Building static sites in the browser

2020-05-09 Thread Saq Imtiaz
Very welcome update Jeremy! Everyone following my previous suggestions: Please note that the updated example replaces the 3 different steps in one go. Those steps will still work but are no longer necessary. See: https://tiddlywiki.com/prerelease/#%24%3A%2Fplugins%2Ftiddlywiki%2Fjszip The

Re: [tw5] Building static sites in the browser

2020-05-09 Thread Jeremy Ruston
I’ve just pushed an update that adds a new “slugify” operator to transform arbitrary tiddler titles into human readable form for use in filenames or URLs. The transformations applied are: If there is a tiddler with the same title that has a ''slug'' field, then return that field instead of

Re: [tw5] Re: Building static sites in the browser

2020-05-09 Thread Mohammad Rahmani
Hi Saq, I got it! A million thanks! Best wishes Mohammad On Sat, May 9, 2020 at 7:08 PM Saq Imtiaz wrote: > @Mohammad if the filter returns a path with an "/" in the file name, you > create a directory structure. The filter I gave is just an example and > users should customize according to

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Saq Imtiaz
@Mohammad if the filter returns a path with an "/" in the file name, you create a directory structure. The filter I gave is just an example and users should customize according to their use case. Also if you can add a link back to the tiddler on TW scripts that would be very helpful. Regards,

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Mohammad
@Saq, I will change the filter to [lowercase[]split[ ]join[-]encodeuricomponent[]addsuffix[.html]] --Mohammad -- 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

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Mohammad
Many thanks Saq, Briliant! This is really good! I will add this to TW-Scripts! I just missed the part you explained on storing tiddlers in different folders! --Mohammad On Saturday, May 9, 2020 at 5:05:59 PM UTC+4:30, Saq Imtiaz wrote: > > In summary, if anyone wants to write a guide, to

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Saq Imtiaz
@Edgaras it is a valid point, especially when I look back at things I setup a year or two ago! I too tend to: a) place things under a name, for example $:/sq/stories or $:/sq/static and then a filter can be be handy [prefix[$:/sq/static/]] b) when it makes more sense for the tiddler to be in

[tw5] Re: Building static sites in the browser

2020-05-09 Thread TonyM
Folks I am keen to make use of your great work here and the tutorials to match but there has being a lot of water under the bridge. If one or more of can isolate the key changes and package it the instructions will become simpler and even easier to document and teach. Its easy to do with a

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Edgaras
Saq Imtiaz good explanation. It works well with your new update too! What my OCD brain asks: how do you keep track of all those extra small config files that we scatter all over the place? I try at least to list all additional ones I add under my project name. So in the future I can tell

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Edgaras
Hmmm.. I did exactly like that now, and still does not work... I put my whole site here: https://whatif.space/whatifspace.html 3 key files: - Export - $:/whatifspace/templates/static.tiddler.html - $:/whatifspace/Macros/exportlink -- You received this message because you are

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Saq Imtiaz
@Edgaras one thing to note about only exporting tiddlers that were modified since the last export: it will work great if you have simple text content. But if you are using transclusions and widgets, the previously exported tiddlers might not have been modified since the last export, but may

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Saq Imtiaz
In summary, if anyone wants to write a guide, to adjust filenames and links (for single file wikis) I recommend this process as per my current understanding: 1. create a tiddler called $:/config/static/export-link-filter and place here the filter that will operate on the tiddler title to

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Edgaras
*Saq Imtiaz *amazing! It works now! This should be definitely documented! Next thing will be to follow your recommendations and to build filters on what to export ;) Like we talked about the latest edited tiddlers and probably only tiddlers marked with "Publish" tag ;) *Anne-Laure *you

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Saq Imtiaz
Delete $:/whatifspace/static/export/get-export-link.js It tries to do the same thing as tv-filter-export-link but in javascript and the two are interefering with each other. Having the javascript option helps if you want to do something really complex, but using tv-filter-export-link is more

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Edgaras
Hmm... I did exactly like that, but still does not work, adds "./" to links I added my who site here if you bother to see: http://whatif.space/whatifspace.html 3 key tiddlers: - Export - $:/whatifspace/Macros/exportlink - $:/whatifspace/templates/static.tiddler.html -- You received this

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Edgaras
*Saq Imtiaz *woups! Yes I missed what you wrote, or at least did not understand the problem I will get into at that point hehe... I've tried what you said to do, but it does not seem to work. I still get "./" in front of every a href link. I checked with Advanced Search, the filter should be

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Saq Imtiaz
Edgaras: Try this: restore tv-wikilink-template to it's original value in $:/core/templates/server/static.tiddler.html (or your own template) \define tv-wikilink-template() $uri_encoded$ Use this for tv-filter-export-link: \define tv-filter-export-link() [split[ ]join[-]encodeuricomponent[]

[tw5] Re: can i return only the nth element of a split?

2020-05-09 Thread TonyM
There is also the select parameter on set, so if you keep track on n you can select it. Regards Tony -- 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

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Edgaras
a weird my message got deleted right away when posting... Saq Imtiaz yes, I skipped that part you mentioned, or at least i did not understand the problem I will run into at that point ;D I've tried to create the macro as you said, but it did not help. The filter should be correct I checked

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Mohammad
Nice solution Saq, It would be nice if someone summarize the final solution as a step wize procedure! Cheers Mohammad On Saturday, May 9, 2020 at 12:25:59 PM UTC+4:30, Saq Imtiaz wrote: > > Regarding file names, it pays off to look at what your code is trying to > do ;) > > Pay attention to

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Saq Imtiaz
When you create macro in a tiddler with the tag $:/tags/Macro, you are creating a globally available macro/variable On Saturday, May 9, 2020 at 1:12:30 PM UTC+2, Saq Imtiaz wrote: > > @Edgaras read carefully the second part of my post from 9:55CET in this > thread, starting with the words "Now

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Saq Imtiaz
@Edgaras read carefully the second part of my post from 9:55CET in this thread, starting with the words "Now you need to get your links to match" :) On Saturday, May 9, 2020 at 1:09:30 PM UTC+2, Edgaras wrote: > > > *@Saq Imtiaz *Yes, I read that documentation and I was thinking about it, > but

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Edgaras
*@Saq Imtiaz *oh no no, the exporting works fine now, creates folders and right file names. The problem now are the links within my files are messed up with "./" in front, and I need just "/" because I need to point to root directory. -- You received this message because you are subscribed

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Edgaras
*@Saq Imtiaz *Yes, I read that documentation and I was thinking about it, but I could not find where is that tv-filter-export-link is actually used?? -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Saq Imtiaz
You probably want something like this for tv-filter-export-link: [split[ ]join[-]addsuffix[/index.html]] On Saturday, May 9, 2020 at 12:59:44 PM UTC+2, Saq Imtiaz wrote: > > @Edgaras > > "The tv-wikilink-template variable > controls > the value of the href

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Saq Imtiaz
@Edgaras "The tv-wikilink-template variable controls the value of the href attribute on the HTML a element generated by the $link widget. The tv-filter-export-link

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Edgaras
*Saq Imtiaz *it worked! And the Advance Search filter tip is super helpful:) BUT, there is one problem! Is it a bug? \define tv-wikilink-template() $uri_doubleencoded$.html the tv-wikilink-template() should let you define the custom url link for your site. However, whatever I write I still

[tw5] Re: can i return only the nth element of a split?

2020-05-09 Thread Tony K
just found it thank you and sorry for posting too soon On Saturday, May 9, 2020 at 1:47:25 PM UTC+3, Saq Imtiaz wrote: > > https://tiddlywiki.com/#nth%20Operator > > On Saturday, May 9, 2020 at 12:36:55 PM UTC+2, Tony K wrote: >> >> If I split a string at a delimiter "," for example is there a

[tw5] Re: [Presenting]: STROLL official rollout!

2020-05-09 Thread Saq Imtiaz
@Birthe good solution for smaller screens! On Saturday, May 9, 2020 at 12:00:15 PM UTC+2, Birthe C wrote: > > Saq and Martin, > > I am using a small screen and really not using sidebar that much. I do > realise that it is important to Tiddlymap users. > > For my use I used the ideas from Jan and

[tw5] Re: can i return only the nth element of a split?

2020-05-09 Thread Saq Imtiaz
https://tiddlywiki.com/#nth%20Operator On Saturday, May 9, 2020 at 12:36:55 PM UTC+2, Tony K wrote: > > If I split a string at a delimiter "," for example is there a way to > return only the 2nd element for example? > > thanks you > -- You received this message because you are subscribed to

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Anne-Laure Le Cunff
Ha that's unfortunate! Good Saq gave you a solution then. I'll also edit the tutorial at some point to add the URL encoding. Thank you! -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from

[tw5] can i return only the nth element of a split?

2020-05-09 Thread Tony K
If I split a string at a delimiter "," for example is there a way to return only the 2nd element for example? thanks you -- 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

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Edgaras
*Anne-Laure *yes, but they don't support .htaccess for the time being. Therefore, I want to tweak my TW export for now to export to folders and index.html, that's the only way for now. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Anne-Laure Le Cunff
@Edgaras: it's very bad practice to do that. I assume you want to get rid of the .html in the file name to clean the URL? All the sites that don't have a file extension at the end of their URLs do that on the server with a .htaccess file for instance, not by doing folder/index.html for each

[tw5] Re: Building static sites in the browser

2020-05-09 Thread Saq Imtiaz
@Edgaras, yes you can. Just tweak the filter to get the structure you want: [split[ ]join[-]addsuffix[.html]] Hint: it is all about the addsuffix operator in this case, and the Filter tab of Advanced Search is a good place to test your filters On Saturday, May 9, 2020 at 11:35:00 AM UTC+2,

  1   2   >