[tw] Re: Blog capabilities of TiddlyWiki
Sounds Like a Good Strategy Richard. Do share if you can. Tony On Saturday, August 12, 2017 at 9:13:57 PM UTC+10, RichardWilliamSmith wrote: > > Hi Tony, > > I built an interface that lets you externalise content. The use case > primarily imagined is of accruing content over time (mostly images) and > then periodically purging it to an external location. The tool then lets > you redefine the 'root' path to the image folder, in the canonical uri > field of every image tiddler, at once. This means that you can develop with > your images in a folder locally (probably served from a simple server) and > then easily switch to a matching set "in the cloud" as long as the relative > position of all the files is the same. > > On Saturday, August 12, 2017 at 10:13:45 AM UTC+10, TonyM wrote: >> >> Richard, >> >> TiddlyWiki seems quite capable of displaying external media but it seems >> to me a second class citizen compared to drag drop and import. Have you >> heard of a mechanism to Drag and Drop but only create external links? >> Allowing a relative link such as .\images would allow the tiddlywiki to be >> moved with its media to a host. >> >> I would also like to do this with Hyperlinks or tiddler plugin sources, >> drag and drop the link only, not the content. >> >> Just thinking >> >> Tony >> >> >> On Saturday, August 12, 2017 at 8:52:00 AM UTC+10, RichardWilliamSmith >> wrote: >>> >>> I should add that the issue of 'externalising' images to reduce the page >>> size is a separate, but related issue, and there are pretty good solutions >>> for managing that too. >>> >>> On Saturday, August 12, 2017 at 8:48:54 AM UTC+10, RichardWilliamSmith >>> wrote: Hi Herb, Tiddlywiki can be used to generate a static website where each page is in its own file. This is advantageous for the reasons you state and several others. There are basic instructions available http://tiddlywiki.com/static/Generating%2520Static%2520Sites%2520with%2520TiddlyWiki.html but I am in the middle of preparing a more detailed tutorial so, if you're interested, watch this space. Regards, Richard On Saturday, August 12, 2017 at 1:42:10 AM UTC+10, Herb Nazhe wrote: > > As an addition to my previous post: when I said "the creation of > multiple files" what I had in mind was the possibility of breaking down > the > TiddlyWiki file into several inter-related sub-files, each one for a > major > section of the blog (in case the blog has a very articulated and complex > structure). This is, again, in the interest of keeping the size of the > files smaller, because they have to be downloaded over the internet. > Naturally, the interaction and coordination between the different files > containing the blog sections should be managed automatically by the main > TiddlyWiki file, without the end-user having to worry at all about this. > 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0353ce49-0ee8-426c-b233-ed142e220cdf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: Blog capabilities of TiddlyWiki
Eric, Yes Understood. Nicely put. But I sill see the following workflow possible, - Create Images folder below Tiddly wiki - Drag and Drop images to tiddly wiki - Check Import as external files/Or Reference - Enter the relative or absolute path (do the Job the browser will not) - Import Or - We could co-opt the import file feature to prompt in a similar way, with multi-select enabled. - Still asking for the path (relative or absolute) We could even set another tiddler to contain the relative or absolute path which we edit if we move or even combine the media files into a new single directory or host location we simply edit that and it is reflected in all the relevant items in a given import batch = folder source. My skills do not yet permit me to code this so I need to ask the community. Tony On Monday, August 14, 2017 at 12:57:43 PM UTC+10, Eric Shulman wrote: > > On Sunday, August 13, 2017 at 6:31:13 PM UTC-7, TonyM wrote: >> >> Another thought is the import feature, permitting import of external >> links to selected files, and allow a multi-select, I would have thought the >> browser has to know the full path to do this import?, but I expect I may be >> wrong on that. >> > > When the browser shows the "open files" dialog, it allows you to navigate > your filesystem and select files... but it does not return the full path to > the selected files. Instead, it just returns the "filename.ext" and the > file *contents* for each file selected. This is what allows TW to import > from files, while still not having knowledge about the directory structure > (e.g, path info) for your file system, so it can't be used to "probe" your > computer to look for vulnerabilities. > > -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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/03ae933f-f233-42a5-a837-dd9ba8c2282d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: Blog capabilities of TiddlyWiki
But ... as I asked earlier. Is this true if dragging and dropping from an external web site? I suspect not, since knowing the url to a web site is what browsers do all the time. So, it should be possible to drag and drop and then construct a tiddler based on the file type and file name. AND, if that server was the same as the server the TW was on, it should be possible to even to construct a relative path. Then you would have an easy way to add new things to a TW. And since the path is stored in a relative configuration, it would also work as a stand-alone TW with external files. So you could use tiddlyserver to collect data (something that is clunky now) but then use the TW offline (when away from the desktop and/or on mobile devices). Thanks, Mark On Sunday, August 13, 2017 at 7:57:43 PM UTC-7, Eric Shulman wrote: > > On Sunday, August 13, 2017 at 6:31:13 PM UTC-7, TonyM wrote: >> >> Another thought is the import feature, permitting import of external >> links to selected files, and allow a multi-select, I would have thought the >> browser has to know the full path to do this import?, but I expect I may be >> wrong on that. >> > > When the browser shows the "open files" dialog, it allows you to navigate > your filesystem and select files... but it does not return the full path to > the selected files. Instead, it just returns the "filename.ext" and the > file *contents* for each file selected. This is what allows TW to import > from files, while still not having knowledge about the directory structure > (e.g, path info) for your file system, so it can't be used to "probe" your > computer to look for vulnerabilities. > > -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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2a9bdc77-28ee-416a-8d7f-fb40cfd16525%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: Blog capabilities of TiddlyWiki
On Sunday, August 13, 2017 at 6:31:13 PM UTC-7, TonyM wrote: > > Another thought is the import feature, permitting import of external links > to selected files, and allow a multi-select, I would have thought the > browser has to know the full path to do this import?, but I expect I may be > wrong on that. > When the browser shows the "open files" dialog, it allows you to navigate your filesystem and select files... but it does not return the full path to the selected files. Instead, it just returns the "filename.ext" and the file *contents* for each file selected. This is what allows TW to import from files, while still not having knowledge about the directory structure (e.g, path info) for your file system, so it can't be used to "probe" your computer to look for vulnerabilities. -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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e9883cf9-7cac-4843-bcd5-49bca4d0a77c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: Blog capabilities of TiddlyWiki
Jeremy That explains the mysterious omission of such a feature. A key use case for me is when I have a folder of images and PDF's I want to display in a tiddlywiki yet I want to avoid loading the tiddly wiki up and making it too big. If I could choose a specific library ..\images Place my files in that and drag and drop to the tiddly wiki it would save a lot of time. Perhaps I do need to provide the relative or absolute path ..\image at the time of the drag and drop (For all that I am about to "import") to use in the creation of the tiddlers, perhaps also an optional check box specifying that I want external links (not importing) on the Import tiddler would make this a low impact change. Clearly Drag and Drop does have access to the filename of each item dragged and dropped, all we need to do is parse this list as external files/links with the manual provision of the source path. Another thought is the import feature, permitting import of external links to selected files, and allow a multi-select, I would have thought the browser has to know the full path to do this import?, but I expect I may be wrong on that. Background (optional reading) For example I am building an edition of TW5 that I call USD's, Universal Storage Device, A bit like "USB". On a low cost USB drive I have a tiddlywiki that acts as the WebSite for the USB Drive, I can access this using a OTG Host cable from my smart phone, or tablet. also by placing the USB in a USB port of a computer or on a WiFi access Point. I have a few of these already, One in my car has all the car manuals and service details including the original advertising details. When using a mobile device it is important to keep the size of the Wiki low for performance. I plan to have many of these USD's so If I had a quick way of dragging and dropping or importing external file links it would be helpful. For example I already have 30+ folders containing various content for specific devices such as routers, disk-stations, TVs, Blue Ray Players even the stove and fridge. The thing is with TiddlyWiki, a Cheap USB drive a OTG cable I can USB enable, even website enable anything I want to. I can even glue the USB drive to those things. I have even contemplated putting low cost USB drives on boxes in storage, photographing the items placed in the box, and making these visible in the "USD" TW. While maintaining a synced copy elsewhere for searching. Another Use Case Allowing selective display of Images from a large photo library, or music tracks, curated and placed in a slideshow within a TiddlyWiki that can use tagging and all those features to manage the media. A tiddly-wiki can kind of act as a "PlayList". No these are not transferable, but we do not need to use every feature of tiddlywiki every time. Please accept my thanks for this beautiful software tool TiddlyWiki, it's open nature makes it resemble "Plasticine" that can be shaped into anything we want. Please never take my apparent criticisms of TiddlyWiki as anything other than because I love it so much and want the best for this gem. And often It is pointed out to me how there is a way already. Regards Tony On Saturday, August 12, 2017 at 8:14:24 PM UTC+10, Jeremy Ruston wrote: > > Hi Tony > > > Drag and Drop but only create external links? Allowing a relative link > such as .\images would allow the tiddlywiki to be moved with its media to a > host. > > That trouble is that browsers do not reveal to JS code the original path > of the dragged file. We only get the file name portion. Browsers do this > for security reasons, and there’s no workaround. > > Best wishes > > Jeremy -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3b87ce18-c3b1-42f9-b086-8862862cf011%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Comments on an online service
> > https://web.hypothes.is > http://wiki.c2.com/?WelcomeVisitors -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/67dddbda-8919-4f1a-be1f-a6ca1a1d0e42%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: How to retain slashes in tiddler titles when parsed in select?
Thanks, Eric & Mark. Got it to work as you suggested it would.. Much appreciated. //steve. On Sunday, August 13, 2017 at 1:25:03 AM UTC-4, Eric Shulman wrote: > > On Saturday, August 12, 2017 at 3:34:24 PM UTC-7, Steven Schneider wrote: >> >> I get how the <$text text={{tiddlerToShow}}/> works -- so I can see the >> content with the // >> >> But, how do I use my new tiddler [[tiddlerToShow]]? I need to be able to >> do <$link to={{tiddlerToShow}}>{{tiddlerToShow}} and <$transclude >> tiddler={{tiddlerToShow}}/>? There must be a magic text cleaning machine >> that interprets the slashes for what they are, and not as markup...? >> > > <$link to={{tiddlerToShow}}><$text text={{tiddlerToShow}}/> > > The "to" param of the <$link> widget is not *rendered*... thus, the "//" > contained in the value is used as-is, and the <$text> widget within the > link displays the tiddler title, with the "//" intact, as previously noted. > > Likewise, with <$transclude tiddler={{tiddlerToShow}}/>, the "tiddler" > param is not *rendered*... and the "//" is used as-is. > > -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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/108bc7a9-d0eb-45a9-92c7-6ae5365182bb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: requesting help with Template tiddlers
Hi, I didn't like my last proposal. So here is a new one, that you can drag and drop import to your TW. The main code looks like this: \define val(tid x) <$transclude tiddler=$tid$ index=$x$ >$x$ . \end \define registers(A:"." X:"." Y:"." N:"." V:"." Z:"." C:".") Registers affected | <> | <> | <> | <>| | <> | <> | <> | | \end <> There are 2 loopup tiddlers in the json file. * ... useful formats - ... altered formats The "." is default fallback in the val transclude macro. If you have questions ... just ask have fun! mario -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/afa1c2d6-7c54-4a01-88b7-fe775ad1d667%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. register-info-table.json Description: application/json
[tw] Re: requesting help with Template tiddlers
Hi Charlie, I personally would go with something like the following code. It will give you a bit more visibility and more control over styling. \define registers(A:"A ." X:"X ." Y:"Y ." N:"N ." V:"V ." Z:"Z ." C:"C .") Registers affected | $N$ | $V$ | $Z$ | $C$ | | $A$ | $X$ | $Y$ || \end <> <> <> <> have fun! mario -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/6f117294-b3b2-4a71-9cd5-002d0ac8e70d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: requesting help with Template tiddlers
hmm... probably with something like this: :) \define registers(A:"." X:"." Y:"." N:"." V:"." Z:"." C:".") Registers affected |N ''$N$''|V ''$V$''|Z ''$Z$''|C ''$C$''| |A ''$A$''|X ''$X$''|Y ''$Y$''|| \end <> <> <> <> On Saturday, August 12, 2017 at 9:51:42 PM UTC-4, Charlie Hitselberger wrote: > > A while back, I put together a tiddlywiki for a Forth language I'm writing > as part of a retrocomputing project. > http://chitselb.com/files/tiddlypettil.html . This file is automatically > generated each time I build the source, and most of the tiddlers are the > Forth dictionary, with the tiddlywiki documentation for each forth word > contained in its assembler source between "#if 0" / "#endif" to make the > 6502 assembler ignore it. In the "About PETTIL" tiddler, I used the > expedient of writing. > > For Primitives, it would be useful to have a CPU register diagram > indication of which registers and flags (really just N, V, Z, and C) are > affected, and I can do it using tables, but this afternoon I did not > succeed at coming up with a scheme where I can pass in a parameter (e.g. > "***" to mean only A, Z and C are modified by this primitive) and > display it in a chart. Here are a few designs, not sure which one I'll > wind up using yet. > > Any help would be appreciated. > Charlie > > |''A*'' X. Y.|^- altered* result />. unchanged | > |''N -'' V . ''Z *'' C > .|~| > |Z implies A=0!Z implies A!=0 |<| > > > |N ''-''|V .|Z ''*''|C .| > |A ''-''|X .|Y .|| > > |^A|^''-'' |^N|^''-'' | > |^X||^V|| > |^Y||^Z|^''*'' | > |>||^C|| > |altered|<|<| -|f > |useful|<|<| *|f > |unchanged|<|<| |f > > > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d237430c-f99e-47cb-a2e7-3a04bb9ac2c5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.