[tw] Re: [TW5] Import a CSV file... how actually?

2016-10-23 Thread Tobias Beer
Hi Mat,

I believe, what we eventually want or need is a csv (multi-)tid serializer 
for the core, i.e. another option to export one or more tiddlers and then 
the appropriate import handler.

Best wishes,

Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2abbb51f-3375-4287-bac3-26657e43dc88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Announcing the XLSX Utilities plugin

2016-10-23 Thread sini-Kit
Thank you Jeremy! It is a present  for me. I don't understand why text 
field has name "description"  and how to export all tiddlers to excel?  Now 
I use excel macros to convert xlsx to html, but your plugin looks better. 

понедельник, 24 октября 2016 г., 1:29:46 UTC+3 пользователь Jeremy Ruston 
написал:
>
> I’m pleased to announce the prerelease of a new TiddlyWiki plugin for 
> importing data from Excel spreadsheets (and other apps/services that can 
> generate .XLSX files, like Google Sheets). The approach it takes is heavily 
> influenced by conversations over the years with Steve Schneider.
>
> It’s quite a complex tool, and will take a bit of study to figure out how 
> to use it (see below for an illustration of the main configuration screen). 
> I’ve put more effort than usual into the documentation (popup help!), but 
> it’s still thin, and your questions and comments will help me improve it.
>
> You can try out the prerelease at:
>
> http://tiddlywiki.com/prerelease/editions/xlsx-utils/
>
> Scroll down and follow the instructions under “Presidents Demo”.
>
> A final point about the xlsx-utils plugin is that it was created as a 
> by-product of a piece of work I’ve been doing for a commercial client of 
> Federatial (https://federatial.com/). The ability to import data from 
> spreadsheets is a critical component of the system I’m building for the 
> client, but the client isn’t in the business of making JavaScript plugins, 
> and so they are more than happy for the code to be released under our usual 
> BSD license, and ultimately made better through the feedback and 
> contributions of other users.
>
> 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/9537b920-37e3-4146-938d-8f848618d3b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: bibTex

2016-10-23 Thread David Myers
Steve,

I'll have to have a look later, sounds like you have done the majority of
the required stuff though.

As you say node.js should resolve the continual re-importing issue.

I think in terms of using TW as a report writing system this is great, but
the really sticky point after that is how to print the whole thing in a
'nice' manner.

For that I used LyX / Latex / TexMaker / TexStudio (to match what my
colleagues use), but a print output from TW doesn't seem to work quite the
same way, but what you are doing will certainly make it easier to start a
thesis as an online TW file, and to use it again as a non-linear way for
presenting (rather than use powerpoint for example).

David

On Sun, Oct 23, 2016 at 9:25 PM, stevesuny  wrote:

> Hi David,
> Just want to be sure you saw that the latest pre-release has a preliminary
> bibtex plugin that imports a bib file and puts each reference into a
> tiddler; the bibtex id becomes the tiddler name. I'm working on macros to
> allow referencing of citations within tiddlers, and generation of a
> reference list for the entire wiki.
>
> I agree with you that this isn't ideal, as it requires you to import the
> bib file into each wiki, and to re-import it each time it changes. I
> believe the re-import issue can be solved in node-js but am not 100% sure.
>
> At any rate -- this is a huge advance, and puts is a big step closer to
> having a serious bibliographic management system that interacts with TW.
>
> //steve.
>
>
> On Thursday, October 20, 2016 at 12:05:19 AM UTC-4, David Myers wrote:
>>
>> Steve,
>>
>> Using Jed's citation library worked very well for my immediate
>> requirements.
>>
>> The only gripe I have is that it creates multiple tiddlers for each
>> reference (never got around to figuring out what exactly was going on under
>> the hood), which made things a tad confusing.
>>
>> In hindsight this would be best used with the 'server' version of TW (ie
>> using nodeJS), then with each reference in a separate tiddler file they
>> would be more easily updated, usefull if you use are researching across the
>> web, as you can then use zotero to collect the data and export to bibref,
>> then import (for jed's library this means 'copy/paste') into TW worked
>> rather well ~ I assume this could be easily automated as Zotero and BibTex
>> format can be easily exported to XML, which could then be parsed using JS
>> into the required 'citation library' fields.
>>
>> The reason for using the nodeJS is that this would mean you only need to
>> update a single file and it would be available to all your TW wikis
>> simultaneously, otherwise you store a single file html of just the
>> references and import this flat TW into your other TWs on each update,
>> hence node in this instance would make for an easier workflow (and reduce
>> out of data tw files on your pc / web page).
>>
>> For me however I appreciate being able to keep my TW files as a single
>> self contained html+JS file, which ca be done exporting a nodeJS TW to a
>> 'normal' TW (although there  currently seem no good solution for attached
>> image files ~ see https://groups.google.com/foru
>> m/#!topic/tiddlywiki/od-d1E9uPQM)  or again you can create a static page
>> http://tiddlywiki.com/static/Generating%2520Static%2520Sites
>> %2520with%2520TiddlyWiki.html.
>> The problem seems to reside in links to the attached images / files etc,
>> but I guess your could always do a wget on the pages (which seems to pull
>> everything from a site !).
>>
>> David
>>
>>
>> On Monday, October 17, 2016 at 9:37:51 PM UTC+4, stevesuny wrote:
>>>
>>> Hi David, searching around for ways to integrate some bibliographic
>>> system (Bibtex is preference) with TW5 --- came across this thread. Have
>>> you made any progress using JabRef? Seems to me that a custom layout would
>>> allow an entire JabRef dbase to be integrated into TW -- perhaps using the
>>> Bibekey as the tiddler title? And perhaps adding some custom fields in
>>> JabRef as tags?
>>>
>>> Thanks,
>>>
>>> //steve.
>>>
>>>
>>> On Wednesday, March 30, 2016 at 9:06:21 AM UTC-4, David Myers wrote:

 Jed,

 I currently use JabRef for my bibliography, and one of the tabs in the
 panel gives access to the complete BibTex entry ~ including abstract and
 any other info I may have added (such as keywords, cross references).

 If you do intend to work on your plugin in the future, I will be happy
 to help test is out.

 I can be both a bit of a nerd, and rather stupid ~ occasionally
 simultaneously ;) ~ this means I have a the inability of a complete newb
 (such as how to install stuff or call a macro), but an idea of how to
 troubleshoot.

 If you do think to make some advances on your plugin here is what I
 think it may be missing.

 import from bibtex format -
  most bibliography software has an option to export the info into a
 single bibtex file (or .bib), JabRef gives other options for HTM

Re: [tw] Re: Change default behavior to recognize single line breaks

2016-10-23 Thread Duarte Farrajota Ramos
Is there any way to make the """.""" work for transclusions?

I have several tiddlers in wish I would like to includesome fields content; 
I currently end up using bullet points as a quick way to make hard line 
breaks, but being able to do so automatically would save a whole lot of 
trouble.
I can't seem to make """{{!!Field_Name}}""" work unfortunately, it wont 
propagate the effect into the transclusion. Any workarounds or is it a 
limitations of the current system?

On Monday, 26 May 2014 19:58:45 UTC+1, Jeremy Ruston wrote:
>
> Hi Chashaku
>
> The current behaviour follows standard MarkDown. There is a ticket for 
> adding support for GitHub Flavoured MarkDown, a variant dialect of MarkDown 
> that supports single line breaks as hard line breaks:
>
> https://github.com/Jermolene/TiddlyWiki5/issues/443
>
> My plan is to fix this as part of an upcoming round of changes to the 
> parsing infrastructure, perhaps for 5.0.13 or 5.0.14.
>
> Best wishes
>
> Jeremy
>
>
> On Fri, May 23, 2014 at 7:08 PM, chishaku > 
> wrote:
>
>> Forgot to mention that I'm using TW5.
>>
>>
>> On Friday, May 23, 2014 2:05:32 PM UTC-4, chishaku wrote:
>>>
>>> Hi all,
>>>
>>> Is it possible to change the default behavior to recognize single line 
>>> breaks?
>>>
>>> I know that I can use the """ ... """ syntax for hard line breaks in 
>>> wikitext but if possible, I'd like to reverse the behavior so that single 
>>> line breaks are recognized by default and perhaps I could use the """ ... 
>>> """ syntax to ignore single line breaks.
>>>
>>> Thanks in advance for any suggestions.
>>>
>>> Jeff
>>>
>> -- 
>> 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 post to this group, send email to tiddl...@googlegroups.com 
>> .
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@gmail.com 
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/99f3dc60-f09a-4625-9c2a-f0291cc9216e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Import a CSV file... how actually?

2016-10-23 Thread 'Mark S.' via TiddlyWiki
I do have a tool for CSV here:

https://groups.google.com/d/msg/tiddlywiki/qabE7I41Hos/SnHShTZsBgAJ

Think I've written a more automatic version, but don't have time to sift 
through my files at the moment.

Good luck!
Mark 
On Sunday, October 23, 2016 at 10:29:49 AM UTC-7, Mark Heptinstall wrote:
>
> On Sunday, October 23, 2016 at 6:00:19 PM UTC+1, stevesuny wrote:
>>
>> Hi Mark,
>>
>> I don't believe Eric's #CreateTiddlersFromCSV has been implemented in TW5.
>>
>> My working solution is to three-step it: (1) Create CSV (2) Convert CSV 
>> to JSON (best tool: http://www.convertcsv.com/csv-to-json.htm) (3) 
>> import JSON. It's reasonably fast and relatively painless.
>>
>
> Awesome, didn't realise you could drag and drop import a JSON file. 
> Thanks! 
>

-- 
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/2c6260ff-29a6-4a53-be87-e9a8ad40e00f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] List of links with tags

2016-10-23 Thread Tobias Beer
Hi Mark,

I made a pull request with a change that will help with the issue:

*allows to specify state qualifier for tag popups*
https://github.com/Jermolene/TiddlyWiki5/pull/2628

However, imho, the solution it implements shouldn't be needed,
for the above mentioned reasons:

*For a given popup-state tiddler...*
>
>1. *only one popup must ever be displayed*
>2. *and it must be displayed at the anchor button being clicked*
>
> Best wishes,

Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0a8309f5-e9dc-49af-be74-fd57cb046fc8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] List of links with tags

2016-10-23 Thread Tobias Beer
Hi Mark,

Thanks, though the tags still have the same behavior where clicking one 
> causes the tag window to open on all tags of that type in the list. Any 
> ideas?
>

The problem here is that all instances of $:/core/ui/TagTemplate use the 
same state.

To me, this is how TiddlyWiki should and must learn to behave:

For a given popup-state tiddler...

   1. only one popup must ever be displayed
   2. and it must be displayed at the anchor button being clicked

Best wishes,

Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/deeb35a3-88ea-45c5-b729-49ea9627686c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How are you using Tags and Fields?

2016-10-23 Thread Tobias Beer
Hi Mark,

I agree with PMario, you nailed that just about right.

I would think of fields as a more flexible container for tag-like 
structures. In other words, with your custom fields you can have as many 
related lists as you want, without cluttering the main tags.

You could then show those related lists appropriately, e.g. at the bottom 
of a tiddler or in some tabs.

Best wishes,

Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e188cb5b-b05e-48d0-b8b8-85b54649af80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: macro is dead in my wiki

2016-10-23 Thread Tobias Beer
Hi Attila,

I believe you are confusing the documentation for those macros and the 
macros themselves. ;-)

Simply start using them as documented on TiddlyWiki.com.

Best wishes,

Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0f1a5c7b-dbe1-492c-8256-ba10793eccf4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Import a CSV file... how actually?

2016-10-23 Thread Mark Heptinstall
On Sunday, October 23, 2016 at 6:00:19 PM UTC+1, stevesuny wrote:
>
> Hi Mark,
>
> I don't believe Eric's #CreateTiddlersFromCSV has been implemented in TW5.
>
> My working solution is to three-step it: (1) Create CSV (2) Convert CSV to 
> JSON (best tool: http://www.convertcsv.com/csv-to-json.htm) (3) import 
> JSON. It's reasonably fast and relatively painless.
>

Awesome, didn't realise you could drag and drop import a JSON file. Thanks! 

-- 
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/563d4d79-3a9c-4bc4-8eed-1a3af0709724%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: bibTex

2016-10-23 Thread stevesuny
Hi David,
Just want to be sure you saw that the latest pre-release has a preliminary 
bibtex plugin that imports a bib file and puts each reference into a 
tiddler; the bibtex id becomes the tiddler name. I'm working on macros to 
allow referencing of citations within tiddlers, and generation of a 
reference list for the entire wiki. 

I agree with you that this isn't ideal, as it requires you to import the 
bib file into each wiki, and to re-import it each time it changes. I 
believe the re-import issue can be solved in node-js but am not 100% sure.

At any rate -- this is a huge advance, and puts is a big step closer to 
having a serious bibliographic management system that interacts with TW.

//steve.


On Thursday, October 20, 2016 at 12:05:19 AM UTC-4, David Myers wrote:
>
> Steve,
>
> Using Jed's citation library worked very well for my immediate 
> requirements.
>
> The only gripe I have is that it creates multiple tiddlers for each 
> reference (never got around to figuring out what exactly was going on under 
> the hood), which made things a tad confusing.
>
> In hindsight this would be best used with the 'server' version of TW (ie 
> using nodeJS), then with each reference in a separate tiddler file they 
> would be more easily updated, usefull if you use are researching across the 
> web, as you can then use zotero to collect the data and export to bibref, 
> then import (for jed's library this means 'copy/paste') into TW worked 
> rather well ~ I assume this could be easily automated as Zotero and BibTex 
> format can be easily exported to XML, which could then be parsed using JS 
> into the required 'citation library' fields.
>
> The reason for using the nodeJS is that this would mean you only need to 
> update a single file and it would be available to all your TW wikis 
> simultaneously, otherwise you store a single file html of just the 
> references and import this flat TW into your other TWs on each update, 
> hence node in this instance would make for an easier workflow (and reduce 
> out of data tw files on your pc / web page).
>
> For me however I appreciate being able to keep my TW files as a single 
> self contained html+JS file, which ca be done exporting a nodeJS TW to a 
> 'normal' TW (although there  currently seem no good solution for attached 
> image files ~ see 
> https://groups.google.com/forum/#!topic/tiddlywiki/od-d1E9uPQM)  or again 
> you can create a static page 
> http://tiddlywiki.com/static/Generating%2520Static%2520Sites%2520with%2520TiddlyWiki.html
> .
> The problem seems to reside in links to the attached images / files etc, 
> but I guess your could always do a wget on the pages (which seems to pull 
> everything from a site !).
>  
> David
>
>
> On Monday, October 17, 2016 at 9:37:51 PM UTC+4, stevesuny wrote:
>>
>> Hi David, searching around for ways to integrate some bibliographic 
>> system (Bibtex is preference) with TW5 --- came across this thread. Have 
>> you made any progress using JabRef? Seems to me that a custom layout would 
>> allow an entire JabRef dbase to be integrated into TW -- perhaps using the 
>> Bibekey as the tiddler title? And perhaps adding some custom fields in 
>> JabRef as tags?
>>
>> Thanks,
>>
>> //steve.
>>
>>
>> On Wednesday, March 30, 2016 at 9:06:21 AM UTC-4, David Myers wrote:
>>>
>>> Jed,
>>>
>>> I currently use JabRef for my bibliography, and one of the tabs in the 
>>> panel gives access to the complete BibTex entry ~ including abstract and 
>>> any other info I may have added (such as keywords, cross references).
>>>
>>> If you do intend to work on your plugin in the future, I will be happy 
>>> to help test is out.
>>>
>>> I can be both a bit of a nerd, and rather stupid ~ occasionally 
>>> simultaneously ;) ~ this means I have a the inability of a complete newb 
>>> (such as how to install stuff or call a macro), but an idea of how to 
>>> troubleshoot.
>>>
>>> If you do think to make some advances on your plugin here is what I 
>>> think it may be missing.
>>>
>>> import from bibtex format -
>>>  most bibliography software has an option to export the info into a 
>>> single bibtex file (or .bib), JabRef gives other options for HTML tabular 
>>> output, or XML also.
>>>
>>> In fact with my current project I may need to work on an XML to Json 
>>> converter...
>>>
>>> I don't know how easyily I could write this in js ?? I guess I could 
>>> have a bash at it !
>>>
>>> Referencing method
>>> This could probably use a macro with some form of transclusion.
>>>
>>> What would work really well would be placing all the references in their 
>>> own sepratare tiddlers (as you do now) and having them in a tab on the side 
>>> bar (bit like a TOC), and a copy of the required macro call to use as the 
>>> reference (this part I may be able to do ?).
>>>
>>>
>>>
>>> On Wed, Mar 30, 2016 at 2:33 PM, Jed Carty  wrote:
>>>
 At the moment there isn't any way to copy in multiple bibtex citations 
 at once. You have to do them indiv

[tw] Re: [TW5] List of links with tags

2016-10-23 Thread stevesuny
Mark, you are running into issues involving "state", which I have trouble 
with as well. 

And, while I'm more-or-less confident the answer is in one of these tiddlers
http://tiddlywiki.com/#StateMechanism:StateMechanism%20%5B%5Bqualify%20Macro%5D%5D%20%5B%5Bqualify%20Macro%20(Examples)%5D%5D
 I 
can't quite get it, and look forward to seeing it figured out!

//steve.


On Sunday, October 23, 2016 at 9:15:12 AM UTC-4, Mark Heptinstall wrote:
>
> Thanks, though the tags still have the same behavior where clicking one 
> causes the tag window to open on all tags of that type in the list. Any 
> ideas?
>
> On Sunday, October 23, 2016 at 11:07:01 AM UTC+1, Tobias Beer wrote:
>>
>> Hi Mark,
>>
>> Try using actual ULs and LIs:
>>
>> 
>> <$list filter="[tag[Learning]]">
>> 
>> <$link to={{!!title}}><$view field="title"/>
>> <$list filter="[all[current]tags[]![Reports]sort[]]" 
>> template="$:/core/ui/TagTemplate">
>> 
>> 
>> 
>>
>> Best wishes,
>>
>> Tobias.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/586c58ab-1925-46b9-8f0f-04c04d0ae1ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Import a CSV file... how actually?

2016-10-23 Thread stevesuny
Hi Mark,

I don't believe Eric's #CreateTiddlersFromCSV has been implemented in TW5.

My working solution is to three-step it: (1) Create CSV (2) Convert CSV to 
JSON (best tool: http://www.convertcsv.com/csv-to-json.htm) (3) import 
JSON. It's reasonably fast and relatively painless. 

A few tips:

(1) Create CSV. 

(a) If you are using a spreadsheet, make sure you have a column called 
"title" (lower case, as all field names must be). All other columns become 
fields in tiddlers, including text, tags, etc.

(b)  In spreadsheets, I have build complex formulas that generate tags and 
sometimes text; using [[WikiText]] markup in spreadsheet cells makes 
interesting things possible. I'd be glad to share examples; let me know 
here. Here, your best friend is the =concatenate(b1,b2,b3) formula, also 
expressed as =B1&B2&B32 or something like ="[["&b1&"]]" to as a way of 
mixing cell data with wikitext.

(c) I have found, again assuming you are using a spreadsheet, that 
collecting my "raw" data on one sheet in the workbook, and building 
tiddlers in another sheet, works the best. That way, you can concentrate on 
making sure your title, text and tags columns are well organized and clean, 
and the original data on the other sheet can be somewhat dirty. Be careful 
sorting spreadsheets; leads to sometimes unexpected results. If you have a 
lot of text, that presents some other challenges from time to time.

(2) Convert CSV to JSON

(a) The referenced conversion tool works well. Develop the habit of 
clearing input each time before uploading or copy/paste new CSV. I find 
that I engage in a cycle of download as CSV/convert CSV to json/import JSON 
in TW while I discover mistakes in my CSV; I correct mistakes, and have to 
do cycle again. At that point, make sure you clear input.

(b) For field with numeric values, choose "output option" to Force Wrap 
numeric values in double quotes, otherwise you will have no values.

(c) Use a distinctively named field, or tag, to filter all your imported 
tiddlers for the inevitable need to delete them all when you've messed up.

I use this code in my "Clean Up the Mess" tiddler:

There are <$count filter="[!field:unique-field-name[]]"/> tiddlers with a 
value in unique-field-name.
<$button>
<$action-deletetiddler $filter="[!field:unique-field-name[]]"/>
Delete tiddlers with values in field:unique-field-name"


Hope that helps. This will be a core lesson in the upcoming 
{{DesignWriteStudio}} Tiddlywiki "class" in January 2017. Stay tuned!

//steve.



On Sunday, October 23, 2016 at 9:58:08 AM UTC-4, Mark Heptinstall wrote:
>
> On Friday, January 8, 2016 at 10:07:14 PM UTC, Eric Shulman wrote:
>>
>>
>>> I did exactly that for TWClassic:
>>http://www.tiddlytools.com/#CreateTiddlersFromCSV
>>
>> This was implemented as wikitext + HTML and all of the real work is 
>> in the HTML code, using onclick handlers.  You can ignore everything 
>> outside of the ... block.  There's also a bit 
>> of stuff for selecting a tiddler to populate the textarea.  You can also 
>> ignore this.  It should be very easy to adapt this code to TW5, using an 
>> action widget in place of the onclick handler.
>>
>> enjoy,
>> -e
>>  
>>
>
> Has anyone successfully adapted this to TW5? 
>

-- 
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/e1d5368e-3972-4e29-93b1-2e77039a45aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Github, Dropbox, and Tiddlywiki: What's a user to do?

2016-10-23 Thread stevesuny
Hello all,

I'm in the process of a full redesign of my TW work environment. I've 
gotten tired of having a few things in node.js (just learning), having some 
in github, and some stuff in dropbox. Sometimes using tiddlydesktop, mostly 
using Firefox for writing and Chrome for reading. So, a little bit of 
everything, tons of TW files all over the place, and rather difficult to 
keep track of or find things when I need them (the straw that broke the 
confused camel's back is my inability to find a macro I wrote a few months 
ago to change colors of tiddlers based on tags...I know it is somewhere...).

SO: I think I need to advance to the node.js environment, which I'm 
beginning to understand (though I still can't figure out how to "serve" 
more than one wiki, but that's for next week). And, I think I should be 
using github rather than Dropbox for my primary and ongoing wikis. And I 
think I should use updog.co via Dropbox to serve one-off wikis, with the 
"orignal" source in github?

My questions:

(1) Has anyone written a kind of users-guide to using TW with github + 
node.js?

(2) What should be in my git hub repo? I would imagine that I'd create a 
repo for all my wikis, and then have subdirectories for each wiki 
(mimicking the file structure that the node.js version of TW seems to 
create). Or should there be separate repos for each wiki?  (I know, I guess 
it depends on what I'm doing). 

(3) What is the interaction between updog via Dropbo, and github? Should my 
Dropbox directories be in my github, or not? Or, should my github directory 
be in my Dropbox for backup? 

It seems I am moving from one level of TW writer/designer, where I only 
interact with wikis as single files, and somehow manage to keep track of 
stuff) to an entirely different level of TW writer/designer, in which I 
think more in terms of tiddlers rather than wikis, and interacting with TW 
as a command line rather than through the browser/wiki. This feels like a 
very significant move, requiring some substantial investment of 
time/resources, and want to be sure I am appropriately organized. 

Perhaps others could share their workflow and ways of using git & Dropbox 
etc?

thanks, and sorry for the somewhat rambling post. 

//steve.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/62c28c2c-ff35-43de-b3c9-b4391693e53e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Import a CSV file... how actually?

2016-10-23 Thread Mark Heptinstall
On Friday, January 8, 2016 at 10:07:14 PM UTC, Eric Shulman wrote:
>
>
>> I did exactly that for TWClassic:
>http://www.tiddlytools.com/#CreateTiddlersFromCSV
>
> This was implemented as wikitext + HTML and all of the real work is in 
> the HTML code, using onclick handlers.  You can ignore everything outside 
> of the ... block.  There's also a bit of 
> stuff for selecting a tiddler to populate the textarea.  You can also 
> ignore this.  It should be very easy to adapt this code to TW5, using an 
> action widget in place of the onclick handler.
>
> enjoy,
> -e
>  
>

Has anyone successfully adapted this to TW5? 

-- 
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/abde9e05-57c5-4a78-9326-e646f528065f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How are you using Tags and Fields?

2016-10-23 Thread PMario
On Sunday, October 23, 2016 at 3:27:38 PM UTC+2, Mark Heptinstall wrote:
>
> I would be interested to hear how other users are using tags and fields in 
> their TiddlyWiki's?
>
> In my mind they can both achieve the same thing though I'm thinking tags 
> are more useful for grouping based on the content of a tiddler, whereas 
> fields are more properties of a tiddler regardless of its content such as 
> status.
>
> For example I am currently using TiddlyWiki to document an SQL Server 
> database. I am using tags to group the tiddlers into categories such as 
> Tables, Views, Stored Procedures etc.
> I had been using a "Complete" tag to mark the tiddler as being documented 
> but I feel the field "status" is more appropriate for this.
> Equally I could use a field for the categories though I feel that having 
> this information hidden is not appropriate.
>
> I guess there is no real "right" way to use the combination of both.
>

Hi Mark,

I think, this is a really good summary of how tags and fields can be used 
in a production TW. I think you nailed it 100%!

Nothing more to say ;)

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/923ec8b6-f331-467d-9c4c-7e1357f6abe6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] How are you using Tags and Fields?

2016-10-23 Thread Mark Heptinstall
I would be interested to hear how other users are using tags and fields in 
their TiddlyWiki's?

In my mind they can both achieve the same thing though I'm thinking tags 
are more useful for grouping based on the content of a tiddler, whereas 
fields are more properties of a tiddler regardless of its content such as 
status.

For example I am currently using TiddlyWiki to document an SQL Server 
database. I am using tags to group the tiddlers into categories such as 
Tables, Views, Stored Procedures etc.
I had been using a "Complete" tag to mark the tiddler as being documented 
but I feel the field "status" is more appropriate for this.
Equally I could use a field for the categories though I feel that having 
this information hidden is not appropriate.

I guess there is no real "right" way to use the combination of both.

-- 
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/5c5a5040-c279-46f2-8192-1972ab4d8097%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] List of links with tags

2016-10-23 Thread Mark Heptinstall
Thanks, though the tags still have the same behavior where clicking one 
causes the tag window to open on all tags of that type in the list. Any 
ideas?

On Sunday, October 23, 2016 at 11:07:01 AM UTC+1, Tobias Beer wrote:
>
> Hi Mark,
>
> Try using actual ULs and LIs:
>
> 
> <$list filter="[tag[Learning]]">
> 
> <$link to={{!!title}}><$view field="title"/>
> <$list filter="[all[current]tags[]![Reports]sort[]]" 
> template="$:/core/ui/TagTemplate">
> 
> 
> 
>
> Best wishes,
>
> Tobias.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/139dc206-ce70-419b-9540-ff2b0945ed3c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: macro is dead in my wiki

2016-10-23 Thread Attila Balázs
Hi Tobias & Mat!

Thank you for your help guys.

So, the <> macro is working. Answer: 5.1.13 :-) But this is the 
first one, what is working on my Tiddlys. - Thank's Mat.

I try to do a fresh start:

1. I downloaded the tiddler form the homepage. - Getting Started tiddler, 
the I used the "Download Empty" button/version.
2. I tryed to chek the core macros I find nothing. <> - <> is working
3. From the Getting started tiddler there is a "Download Full Wiki" button, 
I tryed with this. - there is working <> and <> too.

So, the core macros are missing from the normal download link. :-(

The question is, how can I install these "core macros" in to the normal 
(Not Full) wiki? I have to write one to one for myself?
And how can I check what macros installed in to my wiki? Maybe <> is a good choise, but is not working only in the full 
version.

best,
Attila

2016. október 23., vasárnap 6:02:41 UTC+2 időpontban Tobias Beer a 
következőt írta:
>
> Hi Attila,
>
>
>1. Does the same process also fail on an empty TiddlyWiki?
>2. Did you try to remove the offending tiddler?
>3. Otherwise, drag your wiki onto the ugrader on TiddlyWiki.com and 
>deselect that one, then import and download.
>
> Once your wiki is working again as expected, try to reproduce step by 
> step, *precisely* *what* you did and *how* and let us know at what point 
> it breaks.
>
> Best wishes,
>
> Tobias.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fbdcb57f-86ad-42fe-84cd-4356116406ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] List of links with tags

2016-10-23 Thread HansWobbe
@Mark = A neat idea that simply had not occured to me.
@Tobias = An elegant solution.

Thank you both!


On Sunday, October 23, 2016 at 6:07:01 AM UTC-4, Tobias Beer wrote:
>
> Hi Mark,
>
> Try using actual ULs and LIs:
>
> 
> <$list filter="[tag[Learning]]">
> 
> <$link to={{!!title}}><$view field="title"/>
> <$list filter="[all[current]tags[]![Reports]sort[]]" 
> template="$:/core/ui/TagTemplate">
> 
> 
> 
>
> Best wishes,
>
> Tobias.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9d25336d-591c-45bd-b08d-d9bd8cd5c53f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] List of links with tags

2016-10-23 Thread Tobias Beer
Hi Mark,

Try using actual ULs and LIs:


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

<$link to={{!!title}}><$view field="title"/>
<$list filter="[all[current]tags[]![Reports]sort[]]" 
template="$:/core/ui/TagTemplate">




Best wishes,

Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7d059548-2b50-4c8e-8c85-97a90434ad3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] List of links with tags

2016-10-23 Thread Mark Heptinstall
I am trying to create a list of links that contain a filtered list of tags 
next to them, this is what I have tried so far:

<$list filter="[tag[Reports]]">
* <$link to={{!!title}}><$view field="title"/> <$list 
filter="[all[current]tags[]![Reports]sort[]]" 
template="$:/core/ui/TagTemplate">


The issues with the above is that each item in the first $list is being 
render as separate  instead of one with numerous .
Tags are being displayed as desired though when you click on a tag the tag 
windows opens multiple times where tag appears in the list.

Obviously I am doing something wrong as I'm sure this is achievable and 
could also be created as a reusable macro?

Any help would be much appreciated.

-- 
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/662b2730-5bac-44a7-970f-51cdbb6ebb67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: sync tiddlywiki accross machines

2016-10-23 Thread Maaaaaaaaaaaaaaartin
Thanks Tobias!

 
>
>  - When switching from one device to the other (note that most devices 
>> stay up even when I'm working on another one), I often need to restart the 
>> nodejs server, otherwise it does not seem to be seeing the changes that 
>> DropBox pushed to the folder in the mean time;
>>
>
> That is how the server works atm, I believe. If you make local changes, 
> you need to restart the server for them to be available in a rendered wiki 
> (elsewhere). I think this is so, since the sync issues that otherwise need 
> to be overcome are quite significant.
>

I see. That's too bad but I guess I can live with that.


>  - In the tiddlers folder, many files seem to have many versions, .tid, 
>> .tid.tid, .tid.tid.tid, .tid.tid.tid.tid, .tid.tid.tid.tid.tid, …
>
>
> That's a bug being fixed with the next version
>

OK thanks. By the way, is there a way to follow the versions of TW, l Iike 
a specific ML or RSS? I guess this ML has that, but also a lot of other 
info so it is a little overwhelming.

Anyway, thanks again!

Martin

-- 
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/b67579e9-fd44-4a16-98c1-e7512ab28bb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.