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


[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] 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] [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: [TW5] Code Block And Hard Linebreaks

2016-10-22 Thread Mark Heptinstall
Actually it looks like it is an issue with the Highlight.js plugin rather 
than Tiddlywiki, removing the plugin the code block renders with hard 
linebreaks without having to specify them and the text is inline.



On Thursday, October 20, 2016 at 8:29:17 PM UTC+1, Mark Heptinstall wrote:
>
> Is it possible to have hard linebreaks combined with a code block? I am 
> placing an SQL script within a code block but I am finding the indentation 
> to be off.
> Using hard linebreaks within a code block the indentation is correct but 
> the """ is displayed at the top and bottom of the code block.
>

-- 
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/a5e35b32-9b1f-41f7-b315-29af1f85b5af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Code Block And Hard Linebreaks

2016-10-22 Thread Mark Heptinstall
Windows 10 and tried in latest Chrome and Firefox

If I do the following the """ are visible in the code block and the ColumnB 
text is not inline with ColumnA, it looks there are two tabs.

```sql
"""
SELECT
ColumnA
, ColumnB

FROM
TableA
"""
```

If I do the following then it looks like hard linebreaks are working, 
ColumnB text is inline with ColumnA text but it does not render as a code 
block.
`sql is visible at the top and """ is visible at the bottom

"""
```sql
SELECT
ColumnA
, ColumnB

FROM
TableA
```
"""

If I remove the """ then ColumnB text is not inline with ColumnA, it looks 
there are two tabs.


On Thursday, October 20, 2016 at 9:51:14 PM UTC+1, Jeremy Ruston wrote:
>
> Hi Mark
>
> Is it possible to have hard linebreaks combined with a code block? I am 
> placing an SQL script within a code block but I am finding the indentation 
> to be off.
> Using hard linebreaks within a code block the indentation is correct but 
> the """ is displayed at the top and bottom of the code block.
>
>
> Code blocks support hard line breaks by default; the following should be 
> set in monospace with hard line breaks:
>
> ```
> 'Twas brillig, and the slithy toves
>   Did gyre and gimble in the wabe:
> All mimsy were the borogoves,
>   And the mome raths outgrabe.
> ```
>
> If you’re seeing something different there may be a problem. What 
> operating system and browser are you using?
>
> 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+...@googlegroups.com .
> To post to this group, send email to tiddl...@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/c0f0ccc8-a25d-4974-9230-c315dabdabaf%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

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


Re: [tw] [TW5] Avoid the "Recent" tab

2016-10-22 Thread Mark Heptinstall
Thanks, was this information already in the documentation?

I'm very new to TiddlyWiki so may have been looking in the wrong place.

On Thursday, October 20, 2016 at 9:57:10 PM UTC+1, Jeremy Ruston wrote:
>
>
> Can the Recent tab be disabled?
>
>
> Yes, just delete the tag "$:/tags/SideBar” from the tiddler 
> "$:/core/ui/SideBar/Recent”.
>
>

-- 
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/7cd18784-b3e9-4081-a870-b0743c91343d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Avoid the "Recent" tab

2016-10-20 Thread Mark Heptinstall
Avoid the "Recent" tab - http://tiddlywiki.com/#Performance

It would be useful if this could be elaborated on some more.
Is this basically saying don't even click on the Recent tab or is there 
more to it? Can the Recent tab be disabled?

-- 
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/f4678c0a-eb3c-4e7a-8591-6cc82c597572%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Code Block And Hard Linebreaks

2016-10-20 Thread Mark Heptinstall
Is it possible to have hard linebreaks combined with a code block? I am 
placing an SQL script within a code block but I am finding the indentation 
to be off.
Using hard linebreaks within a code block the indentation is correct but 
the """ is displayed at the top and bottom of the code block.

-- 
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/c0f0ccc8-a25d-4974-9230-c315dabdabaf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.