[tw] Re: [TW5] Author field for tasklist?

2016-01-08 Thread Casey Allan
Oh, that's great! Thanks, Tobias.
-C

On Thursday, January 7, 2016 at 4:04:50 PM UTC, Tobias Beer wrote:

> Hi -C,
>
> For a given tiddler, you can retrieve an author (tagged *author*) and a 
> tag of your task like so:
>
> <$list filter="[all[current]tags[]tag[author]limit[1]]" variable=none>
> ''author:'' {{{ [all[current]tags[]tag[author]] }}}
> 
>
> This assumes that...
>
>1. your tasks have the *author as a tag* and
>2. each author has the tag *author*
>
> Here's a demo for that: when current tags of type @ filters 
> 
>
> 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/6a8d1a6b-7306-4485-b3d3-917d93caa10c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] storing e.g ★★★★★

2016-01-08 Thread Mat
Haha! At first I thought you were being ironic, ("what the heck does email 
have to do with this!?") - but, wow, using ones email to handle 
communication with a website is a brilliant and funny idea, at least in 
theory! It's a familiar service and everyone knows how to autoforward or 
autoreply.

But I realized something; The rating and starts would themselves not 
necessarily be linked to anything - they should just show up in a tiddler. 
So an alternative to get user ratings and show averages would be to embed a 
simple google form in a small iframe. This would mean it is not using your 
neat star rating solution :-(  and it would also mean it's not with pretty 
stars for voting, the closest I find is a row of radio button circles, but 
I think displaying the result should be fairly simple to get as stars ("if 
avg between x and y, then show image 1" etc). And the "processing", i.e 
calculating the average is trivial using google forms (since it is 
connected to a spreadsheet).
I'll look into the matter when I have a proper moment to set aside for it.

<:-)


On Friday, January 8, 2016 at 6:52:54 AM UTC+1, Tobias Beer wrote:
>
> Hi Mat,
>  
>
>> I made some search attempts but realize I don't quite know what to search 
>> for. I stumbled over the term "middleware"... is that relevant? Other terms?
>>
>
> Perhaps you can devise some IFTTT  where you have a 
> form (e.g. via http://formspree.io 
> )
>  
> to send emails to your inbox and then have your emails be gobbled up or 
> forwarded to some service in turn ...eventually fetching some aggregated 
> results from who know where who knows how. Never fiddled with any of that.
>
> 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/60686e57-f261-439a-8c84-e414de720bec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Announcing TiddlyWiki v5.1.10

2016-01-08 Thread Tobias Beer
Hi Jeremy,

Awesome! Looking forward to putting all the great new updates to good use.

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/527622c3-07fe-4224-b1eb-4f8653fb5693%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] WikiText Formatting in a List Template

2016-01-08 Thread Marc J. Cawood
Giving TW5 another go after a decade of TW Classic and just trying to get a 
simple list going. In this case I'd like the recent tiddlers as an 
unformatted list as in:
* TiddlerOne
* TiddlerTwo
* Etc...

When I use this:

<$list filter="[!is[system]has[modified]!sort[modified]limit[50]]">
<>


I get the links in a row. When I use this:

<$list filter="[!is[system]has[modified]!sort[modified]limit[50]]">
* <>


I get the same but with a * character preceding each link. So I add a space 
and some progess is made:

<$list filter="[!is[system]has[modified]!sort[modified]limit[50]]">

* <>


This is slightly better but has unwanted (vertical) space between links.

What am I missing?

-- 
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/dbfd24cb-d1ab-4e98-9f71-370284383dcc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Making more editions - how?

2016-01-08 Thread Mat
@Jeremy

Inspired by Jeds Résumé edition, I'm thinking I too should attempt to make 
something that might hopefully become as good and accepted as an edition. 
For ideas of what I have in mind, see Appetizer TW's 


1)  Elsewhere you've mentioned that an edition should best avoid plugins 
that are not in standard distro or they'd have to be included in the plugin 
library too. 
1a) ...but I take it that all plugins, themes etc that are on 
tiddlywiki.com can be included without a problem, right? (I don't have any 
one particular in mind, it's just a general question.)
1b) Are there other such *technical *conditions/preferences?

2) I have a particular type of list with items in mind. These items are to 
be tiddlers and display some common data. I could put all this data in the 
text field but the data consists of several discrete types of data. I will 
also want the user to easily create new items. To me it seems that fields 
would be an ideal solution for this, including presenting them as a kind of 
//form// when a user is to create a new item. But I note that fields are 
not searched, neither the field names nor the filed values (!?) So...
2a) What would be a better way than splitting the data into fields?
2b) Altenatively, is there a good way to make fields show in search? 
Ideally not all fields, only the ones I specify.

Thank you 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/16ca76f1-3917-447d-a376-5d8e5376fab2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] storing e.g ★★★★★

2016-01-08 Thread Tobias Beer
Hi Mat,
 

> But I realized something; The rating and starts would themselves not 
> necessarily be linked to anything - they should just show up in a tiddler. 
> So an alternative to get user ratings and show averages would be to embed a 
> simple google form in a small iframe. This would mean it is not using your 
> neat star rating solution :-(
>

Indeed, that would be quite a different rating solution! ...where the 
ratings are actually not part of the wiki, unless you were to import them 
from some external service regularly... or be able to load them like you'd 
load twitter posts or disqus.

I guess what's required is some service (or chain of services):

   1. to which we can forward (structured) emails
  - posted from our wiki to our inbox via sth like  http://formspree.io
   2. which can be taught to read data from those emails
   3. store the corresponding ratings (or other stuff like comments) to an 
   adequate data store
  - should be one store per online wiki, each tiddler being an index
   4. retrieve ratings from the service
  - either retrieved as the entire list (possibly best for something as 
  simple as ratings, on startup)
  - each rating individually (when displaying a tiddler ...more 
  requests to the server)
   5. displayed in the view-template
   
If we could get something like this going then it would provide a great 
reference solution / scaffold for other solutions of this nature, e.g. 
polls. comments, etc...

and it would also mean it's not with pretty stars for voting, the closest I 
> find is a row of radio button circles, but I think displaying the result 
> should be fairly simple to get as stars ("if avg between x and y, then show 
> image 1" etc).
>

Actually, we are free to design the form template used to send those emails 
any way we like! You can actually use tobibeer/rate 
 to set the rating, and then 
read it in the form used to send via email. Of course, this rating would 
not be persisted (per user) unless we also saved it as a cookie.

Anyway, displaying server ratings (on top) would be quite a different task. 
Look at imdb... if you're logged in, you see your own rating of a movie. If 
not, you see the ratings of others. Well, you can see the overall rating in 
a star, e.g. *{8.1}*.

In any case, I don't think we should (or can) take it as far as displaying 
to a visitor who rated our tiddler from a given IP ...the rating they 
assigned (except for the lifetime of a cookie, bah). What's more, an IP 
address is not a reliable indicator of an actual user... and with 
TiddlyWiki we do not have authenticated visitors, e.g. via oAuth or the 
likes... not that it's not possible... but the whole process would have to 
be thoroughly designed.

Personally, I would never allow anyone to interact with my site / wiki 
unless they did some basic authentication first, e.g. log in via google / 
facebook ...or any other authentication provider. But, these things turn 
out to be not exactly "Hello World" type projects. Something as basic as 
authentication may actually need quite a bit of code before you can be sure 
you know who's talking to you (in the context of your wiki) and who wants 
to participate via... email, ratings, polls, comments... and to make all 
that terrifically difficult, it would all rely on relaying emails to a 
service or services that...

   - know what to do with those emails
   - can be talked to so as to respond with whatever we instructed the 
   service(s) to do with those data

And the "processing", i.e calculating the average is trivial using google 
> forms (since it is connected to a spreadsheet).
> I'll look into the matter when I have a proper moment to set aside for it.
>

Well, in any case, good luck!

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/0e471085-d076-4d95-8f54-6777149420c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Making more editions - how?

2016-01-08 Thread Tobias Beer
Hi Mat,
 

> 1)  Elsewhere you've mentioned that an edition should best avoid plugins 
> that are not in standard distro or they'd have to be included in the plugin 
> library too.
>

I don't think that's true, and if at all, only when it comes to editions in 
the core repo.
 

> 1a) ...but I take it that all plugins, themes etc that are on 
> tiddlywiki.com can be included without a problem, right? (I don't have 
> any one particular in mind, it's just a general question.)
>

Depends on what the edition does. I don't think there is any guarantee that 
you can add whatever you want, even from the core plugins / themes / 
editions. Things can always break... and all that can break is never tested.
 

> 1b) Are there other such *technical *conditions/preferences?
>

It really boils down to trial and error. 
 

> 2b) Altenatively, is there a good way to make fields show in search? 
> Ideally not all fields, only the ones I specify.
>

There is this ...which has been lingering about for a while now... 

*#1386 extended search filter*
https://github.com/Jermolene/TiddlyWiki5/pull/1386

...and not been touched again because the architectural foundation in terms 
of "tiddlermodules" appeared to be ...well, somewhat of concern but then 
again not what we wanted to use and so it came to a halt on a technical 
issue... that could have easily been reworked / refactored later, if needed 
...but wasn't. I do understand that we want a well designed architecture in 
the core... but if what we have or even things on the wishlist prevent 
major improvements (like this) from getting underway... then we're not 
quite doing it right, imho.

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/dda2544c-e22b-4c1e-9da5-294435dff4af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] WikiText Formatting in a List Template

2016-01-08 Thread Tobias Beer
Hi Mark,

I'd like the recent tiddlers as an unformatted list...


You need to use the simplest of all widgets,
the TextWidget  to just get the 
unwikified text:

<$list filter="[!is[system]has[modified]!sort[modified]limit[50]]">
<$text text={{!!title}}/>


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/271a32c2-1ec1-4586-8ae4-022d082130c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Making more editions - how?

2016-01-08 Thread Jed Carty
1) If an edition is going to be listed as part of the core repo Jeremy said 
that any plugins either need to already be on tiddlywiki.com or added to 
it. Past that I think that the only requirement is that it works. Being 
useful would help too.

2) If you have a set list of fields than you could use the search operator. 
something like:

[search{transcluded search term}][search:field1{transcluded search 
term}][search:field2{transcluded search term}]

where your search input is put into a temporary tiddler used for the 
transcluded search term portion. If you want something that will take less 
updating if you change the fields used than put the fields you want to 
search in a list field of some settings tiddler and then use something like 
this:

\define thisSearchResult()
<$list filter='[search:$(CurrentField)${transcluded search term}]'>


\end

<$list filter='[list[reference to list field]]' variable=CurrentField>
<>


Using that you couldn't sort the entire output list without using some more 
advanced things. I think Tobias made a plugin that would let you do it and 
the way I made my version of breadcrumbs would probably let you do it.

-- 
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/d7248861-5fd2-41a9-823e-7e0b8aca42cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-01-08 Thread Mat
Hm, I can swear I've had this working previously but now I can't remember;

How do I actuallly import a csv file so it becomes separate tiddlers? I 
only get one tiddler that literally reads:

"title","text","modified","created","tags"
"A new tid","some text","20160108130129287","20160108130113268","[[a tag]]"

..and just more in that one tiddler if it's multiple (supposed) tiddlers.

Thanx

<:-)

-- 
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/c410f968-7d63-4313-a910-b022ddc36ef9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Making more editions - how?

2016-01-08 Thread Mat
Tobias, thanks for your input.

Regarding questin 1, I figure that in the end Jeremy is the decision maker 
for what makes it as an official edition on tiddlywiki.com, so I'd better 
have it straight from him when it comes to what is allowed or preferred. 
Your input does make sense though.


2b) Altenatively, is there a good way to make fields show in search? 
>> Ideally not all fields, only the ones I specify.
>>
>
> There is this ...which has been lingering about for a while now... 
>
> *#1386 extended search filter*
> https://github.com/Jermolene/TiddlyWiki5/pull/1386 
> 
>

That thread dives techy pretty quickly but if I understand a main point, 
it's to be able to categorize fields. I don't have to tell you what my wish 
is in that matter, but a less pretty solution, to be able to search groups 
of fields, might be to group fields by naming them with pre- or suffixes. 
And I know how you feel about this, but it would at least work (I think).


Definitely off topic, but:

but if what we have or even things on the wishlist prevent major 
> improvements (like this) from getting underway... then we're not quite 
> doing it right, imho.


Have you ever considered a fork? Not to step away but to run a parallel 
experiment where you - and we all - can find out that "ok, that was not a 
good idea" OR "now that is just superior!" - both findings are of value for 
the TW project at large. Big value even, considering how fundamental some 
of your ideas are.
Just a friendly thought.

<:-)

-- 
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/f94eda56-d4dd-4b2e-8a24-922462afac43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Making more editions - how?

2016-01-08 Thread Mat
Jed wrote:

1) [...good points about criteria...] Being useful would help too.
>

;-)

 

> 2) [...search fields...]
>

Thank you, great to know. I'll get to this so I'll try it out then.


<:-)
 

> If you have a set list of fields than you could use the search operator. 
> something like:
>
> [search{transcluded search term}][search:field1{transcluded search 
> term}][search:field2{transcluded search term}]
>
> where your search input is put into a temporary tiddler used for the 
> transcluded search term portion. If you want something that will take less 
> updating if you change the fields used than put the fields you want to 
> search in a list field of some settings tiddler and then use something like 
> this:
>
> \define thisSearchResult()
> <$list filter='[search:$(CurrentField)${transcluded search term}]'>
>
> 
> \end
>
> <$list filter='[list[reference to list field]]' variable=CurrentField>
> <>
> 
>
> Using that you couldn't sort the entire output list without using some 
> more advanced things. I think Tobias made a plugin that would let you do it 
> and the way I made my version of breadcrumbs would probably let you do it.
>

-- 
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/4419f657-7e0f-488f-ac94-3c8962bc73a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-01-08 Thread Jed Carty
This doesn't really answer your question, but you gave me an idea that may 
be useful.

Would people find a plugin that lets you paste text into a tiddler from a 
csv or some other file type that can hold tiddler data and then have the 
pasted text converted into tiddlers?
Making a very simple (and probably full of bugs) version shouldn't be too 
hard.
I am not sure how useful it would be because you would still need to copy 
and paste text.

Almost completely off topic:
It just occurred to me that this could go both ways, we could pretty easily 
make a utility that takes tiddlers returned by a filter and put them into 
the format used by .tid files using only wikitext. This is already done by 
the export mechanism but we want to put the output into the text field of a 
tiddler so it is easy to copy between wikis. I guess that is just the 
tiddler swarm idea from a while ago where we make something like a 
temporary plugin that is just used to import a group of tiddlers from one 
wiki to another. But the same utility could work with multiple formats 
(.tid, csv, json, etc.) to make life easier. 

-- 
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/07404cf4-8df4-4919-a47c-50da4d77337b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] New plugin: tobibeer/filter

2016-01-08 Thread Tobias Beer
Hi again,

The new version 0.5.6 
 of 
tobibeer/filter 
allows to use %variable-placeholders% anywhere in the *subfilter*.

Get the update from here:

http://tobibeer.github.io/tw5-plugins/#filter

Here's an example what that looks like:

<$vars
prefix="!"
filter="field"
suffix="title"
operand="filter"
subfilter="[%prefix%%filter%:%suffix%[%operand%]]">

{{{ [prefix[filter]filter] }}}


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/67efd041-f142-4053-aa1a-af4e870569af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] New plugin: tobibeer/filter

2016-01-08 Thread Tobias Beer
Hi Jed,
 

> Thank you! I think that this is the last thing I need for adding search by 
> field contents to tiddler tool. Unfortunately it may be a while before I 
> can add it.
>

Version 0.5.6 will make this much more flexible for you:

Here are a bunch of examples:

Search Multiple Fields With A Subfilter @ tobibeer/plugins 


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/7152daf5-f0f0-4282-9167-806f96106655%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Making more editions - how?

2016-01-08 Thread Tobias Beer
Hi Mat,
 

> Have you ever considered a fork? Not to step away but to run a parallel 
> experiment where you - and we all - can find out that "ok, that was not a 
> good idea" OR "now that is just superior!" - both findings are of value for 
> the TW project at large. Big value even, considering how fundamental some 
> of your ideas are.
> Just a friendly thought.
>

I have really not and I think it isn't a good idea. I'd rather focus on 
plugins and helping improve the core, even if that means that a lot of 
stuff won't get accepted... reasons be reasons.

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/771991ff-3a06-445c-b529-2342a18c6bc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Making more editions - how?

2016-01-08 Thread Tobias Beer
Hi Mat and Jed,
 

> 2) If you have a set list of fields than you could use the search 
> operator. something like: 
>

> [search{transcluded search term}][search:field1{transcluded search 
> term}][search:field2{transcluded search term}]
>

Take a look at:

Search Multiple Fields With A Subfilter @ tobibeer/plugins 


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/6b20ea94-47e6-4239-ad19-28b45deeb9f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Making more editions - how?

2016-01-08 Thread Mat


On Friday, January 8, 2016 at 7:53:18 PM UTC+1, Tobias Beer wrote:
>
> Hi Mat and Jed,
>  
>
>> 2) If you have a set list of fields than you could use the search 
>> operator. something like: 
>>
>
>> [search{transcluded search term}][search:field1{transcluded search 
>> term}][search:field2{transcluded search term}]
>>
>
> Take a look at:
>
> Search Multiple Fields With A Subfilter @ tobibeer/plugins 
> 
>

Nce!!! :-D This is so exciting for me (ref. my new found interest in 
active use of fields).

Now, I can't fully follow the syntax - e.g how does the placeholder 
%inputTitle% know the the term inutTitle? Is this a hardcoded keyword?

...but, more importantly for the OP, I'm wondering this also search the 
field name itself, or only the field value? The descriptions don't make 
this clear and even the last example that I interpret as possibly dealing 
with exactl this question is described like:

"This example returns the actual fields where the search term could be found 
for the fields *title*, *tags*, *summary* and *doesnt-exist*:

Does "found for the fields" mean "found in the field values for..." or 
perhaps both "found in the field titles and/or the field values for..."

As you know, normal search does search both the tiddler titles and the text 
fields - and even top-ranks title hits - so it would be very good if this 
was also the case with your method!

Oooh, this is so exciting! A much more active use of fields really feels 
like it's opening up a lot of possibilities. I'm sure experienced TW coders 
reading this are thinking "but we've been able to do this forever"... but 
that is precisely because they're experienced TW coders.


@anyone - Apropo use of fields; it seems like a perfect method to use for 
*forms*, i.e the type of "fill in the empty boxes" that laymen are used to. 
I think it would be easy to make such a form, using a field per "empty 
box", but does anyone know if it's already been made by someone, in TW?


<:-)

-- 
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/777dba8a-6cd4-4c02-9308-83d850ce047e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-01-08 Thread Mat
Hi Jed

well, considering my inability as described I think you have at least my 
answer. But then maybe the answer to my question, i.e how do I import a csv 
file into separate tiddlers, is really trivial so...

On Friday, January 8, 2016 at 7:23:06 PM UTC+1, Jed Carty wrote:
>
> This doesn't really answer your question, but you gave me an idea that may 
> be useful.
>
> Would people find a plugin that lets you paste text into a tiddler from a 
> csv or some other file type that can hold tiddler data and then have the 
> pasted text converted into tiddlers?
> Making a very simple (and probably full of bugs) version shouldn't be too 
> hard.
> I am not sure how useful it would be because you would still need to copy 
> and paste text.
>
>
 

> Almost completely off topic:
> It just occurred to me that this could go both ways, we could pretty 
> easily make a utility that takes tiddlers returned by a filter and put them 
> into the format used by .tid files using only wikitext. This is already 
> done by the export mechanism 
>

Actually, I believe currently we're limited to exporting one tiddler or 
all, or in the case of .tid only one. I wrote an issue on it #1687 - 
so exporting based on 
a filter should definitely be valuable.

 

> but we want to put the output into the text field of a tiddler so it is 
> easy to copy between wikis. 
>

Hm, if we're going to merely transfer it between TWs, then is there a point 
in converting it to another format first? I'm probably misunderstanding 
something.
 

> I guess that is just the tiddler swarm idea from a while ago where we make 
> something like a temporary plugin that is just used to import a group of 
> tiddlers from one wiki to another. But the same utility could work with 
> multiple formats (.tid, csv, json, etc.) to make life easier. 
>

I'm vaguely reminded of @Andreas Hahns Tinka plugin packer. But what wuold 
be neat is a quicker thing where you, for instance, filter out some 
tiddlers and this generates a temporary single link that can be immediately 
pulled into some other TW. ...where I guess it would ideally be interpreted 
as multiple tiddlers immediately. Again, I don't understand why it should 
convert formats, unless you want to export it to a non-TW or perhaps from a 
single file TW into a node.js TW.

<:-) 

-- 
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/20bb68e6-b4fa-4caf-823f-39c3d767bcf6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] New plugin: tobibeer/filter

2016-01-08 Thread Mat
@Jed wrote:
>
> Thank you! I think that this is the last thing I need
>

Yo cool it bro, ain't nobody forcin you!  ;-)


@Tobias
Joking aside; regarding "avoiding nested list widgets" - does your plugin 
"merely" provide a smoother interface or does it really somehow circumvent 
to nest lists? I mean, I don't doubt your plugin is preferable to nesting 
lists but does it also improve performance compared to standard?

BTW, I'll be using this on TWaddle where I have some expensive list'o 
lists. 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 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/9f52d909-b53d-4e7d-830e-02419987a39c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TWC] Line breaks between consecutive sliders

2016-01-08 Thread Robert Edwards
I've searched but cannot find an answer to a little annoyance.  I'm using 
David Szego's dGSD and would like to have some lists hidden in sliders -- 
e.g. in a Projects dashboard have dormant and completed project lists 
collapsed.

{{col{
<>


<>



<>

}}}

What I find is that when the sliders are collapsed, the buttons are 
rendered on the same line. I would like to have them on separate lines. 
When the first button is expanded the second button appears below, on a 
separate line, but I have not yet stumbled on the syntax to force a line 
break between the two collapsed slider buttons. 

Help greatly 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/81de482e-dd58-4b4c-b107-dedfa22bb628%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] WikiText Formatting in a List Template

2016-01-08 Thread Mat
Even just  (no slash) is good.

<:-)

-- 
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/a3356a6d-c016-4f95-a2eb-30d6e7e3f6c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] Line breaks between consecutive sliders

2016-01-08 Thread Mat
Perhaps just a html linebreak tag? Is it  or  or some such?

<:-)

On Friday, January 8, 2016 at 10:24:21 PM UTC+1, Robert Edwards wrote:
>
> I've searched but cannot find an answer to a little annoyance.  I'm using 
> David Szego's dGSD and would like to have some lists hidden in sliders -- 
> e.g. in a Projects dashboard have dormant and completed project lists 
> collapsed.
>
> {{col{
> < startTag:Project 
> tags:'Someday/Maybe && !Complete' 
> view:Project 
> mode:global
> group:Area
> gView:bold
> newButtonTags:'Project Someday/Maybe'
> >>
>
> 
> < startTag:Project 
> tags:'Complete' 
> view:Project mode:global
> dontShowEmpty:yes
> group:Area
> gView:bold
> >>
> 
>
> 
> < startTag:Project 
> tags:'Dormant && !Complete' 
> view:Project mode:global
> group:Area
> gView:bold
> dontShowEmpty:yes
> >>
> 
> }}}
>
> What I find is that when the sliders are collapsed, the buttons are 
> rendered on the same line. I would like to have them on separate lines. 
> When the first button is expanded the second button appears below, on a 
> separate line, but I have not yet stumbled on the syntax to force a line 
> break between the two collapsed slider buttons. 
>
> Help greatly 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/b599ed76-d5ba-4fae-b466-57c2f5d8a589%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Conditional Caption

2016-01-08 Thread infurnoape


Would it be possible to have a caption field display as an icon if in a tab, 
but as text if in a dropdown list? My favorites tab displays as a star icon in 
the sidebar tab, but in the settings tab, just a blank line shows for the 
caption in the dropdown for default tab in sidebar.


Happy Connecting. Sent from my Sprint Samsung Galaxy S® 5

-- 
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/khgw1wh0p057hidejc6gyv6w.1452288781546%40email.android.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-01-08 Thread Jed Carty
Yes, the idea is to take the Tinka plugin and instead of creating a plugin 
you just make a link that can be dragged to another wiki to import many 
tiddlers at the same time. The tiddlers are converted because there needs 
to be some way to pack them into a single thing to import, if this didn't 
require some sort of conversion than we wouldn't have the problem.

The way this relates to your original question is that it could provide a 
framework for copying plaintext into a tiddler and applying some transform 
to it to create tiddlers. I don't think I am doing a good job of explaining 
this so I am just going to try and make a demo. I will post a link here if 
i get anything.

-- 
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/9c260c65-6633-44fc-9b34-fd45fc9c32aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] Line breaks between consecutive sliders

2016-01-08 Thread Robert Edwards
Thanks -- that's something I tried but it did not work. Sorry for not 
mentioning it in the original post! 

On Friday, January 8, 2016 at 4:29:55 PM UTC-5, Mat wrote:
>
> Perhaps just a html linebreak tag? Is it  or  or some such?
>
> <:-)
>
> On Friday, January 8, 2016 at 10:24:21 PM UTC+1, Robert Edwards wrote:
>>
>> I've searched but cannot find an answer to a little annoyance.  I'm using 
>> David Szego's dGSD and would like to have some lists hidden in sliders -- 
>> e.g. in a Projects dashboard have dormant and completed project lists 
>> collapsed.
>>
>> {{col{
>> <> startTag:Project 
>> tags:'Someday/Maybe && !Complete' 
>> view:Project 
>> mode:global
>> group:Area
>> gView:bold
>> newButtonTags:'Project Someday/Maybe'
>> >>
>>
>> 
>> <> startTag:Project 
>> tags:'Complete' 
>> view:Project mode:global
>> dontShowEmpty:yes
>> group:Area
>> gView:bold
>> >>
>> 
>>
>> 
>> <> startTag:Project 
>> tags:'Dormant && !Complete' 
>> view:Project mode:global
>> group:Area
>> gView:bold
>> dontShowEmpty:yes
>> >>
>> 
>> }}}
>>
>> What I find is that when the sliders are collapsed, the buttons are 
>> rendered on the same line. I would like to have them on separate lines. 
>> When the first button is expanded the second button appears below, on a 
>> separate line, but I have not yet stumbled on the syntax to force a line 
>> break between the two collapsed slider buttons. 
>>
>> Help greatly 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/c2cba6e6-b94a-4a9f-8c47-4d69d6508164%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-01-08 Thread Eric Shulman
On Friday, January 8, 2016 at 10:23:06 AM UTC-8, Jed Carty wrote:
>
> This doesn't really answer your question, but you gave me an idea that may 
> be useful.
>
> Would people find a plugin that lets you paste text into a tiddler from a 
> csv or some other file type that can hold tiddler data and then have the 
> pasted text converted into tiddlers?
> Making a very simple (and probably full of bugs) version shouldn't be too 
> hard.
> I am not sure how useful it would be because you would still need to copy 
> and paste text.
>

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
 

-- 
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/744ffe1b-2f1f-4ce2-ac15-494546b7a163%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-01-08 Thread Mat
@Eric - your input is appreciated, thank you!

@Jed- a demo is great news! 

@everyone
Having now read (even more) in the archives, I conclude there just is no 
decent solution yet. There are two less-than-satisfying solutions suggested;

1) Find external service that converts from whatever-format-you-have into 
JSON. In my case CSV to JSON. I did find this CSV conversions 
 service which looks very nice. 
They also provide a bunch of other conversion alternatives with CSV on one 
side (see left menu there) and, fyi, also a sister site with some JSON 
conversions . 
To use this there are a bunch of parameters to set so I have not yet dived 
(dove? doven? dividaded?) into it. Some quick attempts seem to generate a 
JSON but it takes all existing fields from all tiddlers and assumes they 
are all valid for all tiddlers. In other words I suspect you'd get tiddlers 
with loads of empty extra fields.

2) The other "solution" is explained by Richard Smith here 
+ two 
posts down there. Basically, you manually add extra columns in your CSV 
file in a spreadsheet and put in JSON characters/delimiters. Then paste 
into a text file. Then drag this textfile into TW. 

...so an in-house solution, even if it involves some copy pasting *inside 
tiddlers* would definitely be welcome.

I can think of two cases why it is important with a decent solution:

1) It is reasonable to expect newcomers to TW to want to - or even see it 
as a precondition for trying TW out - to be able to import data from 
previous systems.

2) I believe we can create editions (or "applications" as I'd prefer to 
call them) that attracts people to try out TW where a big part of the 
appeal is *in the content*. Currently, most TW solutions are "merely" an 
empty tool, but I think we can reach more/other people if we provide a tool 
with also valuable content.

Ok, better stop twaddling. I have a site for that. Anyway, really hoping 
for some decent solution on this.

Thanks guys

<:-)



<:-)

-- 
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/19effca1-beca-4b7b-a5ed-ea4f08066eae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] WikiText Formatting in a List Template

2016-01-08 Thread Matabele
Hi Marc

Sometimes its best to use html markup to get the layout you want:


<$list filter="[!is[system]has[modified]!sort[modified]limit[50]]">
<>



-- or as a table


<$list filter="[!is[system]has[modified]!sort[modified]limit[50]]">
<>



regards

On Friday, 8 January 2016 12:26:58 UTC+2, Marc J. Cawood wrote:
>
>
> <$list filter="[!is[system]has[modified]!sort[modified]limit[50]]">
> <>
> 
>
> I get the links in a row. When I use this:
>
> <$list filter="[!is[system]has[modified]!sort[modified]limit[50]]">
> * <>
> 
>
> I get the same but with a * character preceding each link. So I add a 
> space and some progess is made:
>
> <$list filter="[!is[system]has[modified]!sort[modified]limit[50]]">
>
> * <>
> 
>
> This is slightly better but has unwanted (vertical) space between links.
>
> What am I missing?
>

-- 
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/d5eda84d-4f34-4003-ada7-b9322b94086a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.