Re: [tw] Re: Who/what/where is the Tinka Plugin currently being developed?

2017-03-01 Thread PMario
On Saturday, February 25, 2017 at 7:57:14 PM UTC+1, Andreas Hahn wrote:
>
>
> [1] Quick question: I am thinking to just go with the MIT license here ... 
> Will that pose any problems in the future? Would BSD be better?
>

MIT is fine.  The main difference between BSD and MIT 
 are the 2 
 or 3 additional clauses 
 BSD has. But MIT is 
compatible with BSD.

TW uses "BSD 3 clause" ... and CC-BY 
 Creative Commons 
Attribution  for the conten 
t.
 


-m

-- 
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/f93cb576-4a7c-48d1-8142-a02f610c6b6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: Tablinks - to access the tid showing in the tab

2017-03-01 Thread Mat
@Davi - great! And always flattering when people pick up on my ideas.

I'm not 100% happy with my own solution so I'll try out yours, so thanks!

<:-)



On Wednesday, March 1, 2017 at 8:51:53 PM UTC+1, David Szego wrote:
>
> I just found this, and loved it so much I hacked it and made a proper 
> plugin...
>
> Add the field:
>
> linktotiddler: true
>
> to any Sidebar Tiddler, and it will come up as:
>
> *TiddlerTab **  *
>
> much like your version. I cleaned up the css a bit as well. Of course, I 
> gave you proper attribution! Thanks for coming up with this!
>
> Cheers,
> David.
>
>
>

-- 
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/779fea6b-7e36-49ff-8d09-03c4eda95676%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Using TW as a professional webpage

2017-03-01 Thread Mat
To be honest, no really great answer so far ;-) ...but, I guess the main 
point with a static TW is *faster/easier for the visitor to load*. 

Wikipedia states:

A *static web page* [...] is a web page that is delivered to the user 
> exactly as stored, in contrast to dynamic web pages which are generated by 
> a web application.
>

But vanilla TW seems to qualify for both. So I wonder what disqualifies 
something in TW from being exported into static?

* anything that relies on JavaScript

... more?

And, for us mortals, what are the practical consequences; Which widgets are 
disabled? Other?

BTW, this indicates it is a good idea to try to replace JS functionality in 
TW core with CSS (!) when possible. Comments on this - @Jermolene ?


Tobias wrote:
>
>
> Static means node generated sites [snip]
>

I'm not sure that's correct since single-file TW also can export static.


<:-)

-- 
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/4c75605b-e938-42fb-b550-726b8a5b55ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to set the height and width of edit-text input boxes?

2017-03-01 Thread Dave
Did anyone here ever figure out how to force a specific width on opening 
the tiddler?

<$edit-text tiddler="someOtherTiddler" tag="textarea" field="somefield" />


-- 
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/d78456ac-e673-486a-9ccb-ce361eb46db9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: nesting double curly brackets

2017-03-01 Thread Dave
Okay, thank you all for your help.

The final piece was put in place by Mark S. here:
https://groups.google.com/forum/#!topic/tiddlywiki/g1qp3_Ln-J4

and here's the final thing that works 

\define s.test.result(mytestname,myresult)
<$transclude tiddler="$mytestname$ Dxs" index="$myresult$"/>
\end

\define s.test(testname,testfield)
<$select tiddler="""$testname$""" field="""$testfield$""">
<$list filter="[list[testDictionary##$testname$]]">
>><$text text=<>/>


<$set name="result" value={{$testname$!!$testfield$}}>
<$macrocall $name=s.test.result myresult=<> mytestname="$testname$" 
/>

\end

<>




-- 
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/46f6e48c-eb82-4bfd-907f-dff2ef2a4b69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How does the set widget actually work?

2017-03-01 Thread Dave
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/b685c663-397a-456e-a815-6ab02816049f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Instagram oEmbed (?)

2017-03-01 Thread Steven Schneider
This page 
 from 
instagram says that using GET /oembed or GET /p/shortcode/media to send 
shortlinks and receive url of objects, that presumably can be served as 
images? Is there a standard way to issue & process these kinds of requests 
in TiddlyWiki? 

Ideally, we'd have a macro so that <> would display the photo, and  <$button><> would import the photo as a tiddler.

Outside the range of my knowledge...but thought I'd ask.

///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/37de9aa6-10b8-44fd-a928-19ae0eeda0e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How does the set widget actually work?

2017-03-01 Thread 'Mark S.' via TiddlyWiki
You need to invoke it differently. Like:

\define myothermacro(gddayeh)
$gddayeh$
\end

\define mymacro()
<$set name="result" value="Hi Bob">
<$macrocall $name=myothermacro  gddayeh=<> />

\end

<>

To pass the value of the variable (BTW, I'm probably using the wrong term 
here) you need to pass it inside a widget (or at least that's how I 
understand it). The widget that runs macros is <$macrocall>. Note that the 
name of the macro is passed inside a dollar-variable ($name) and not 
"name". This is one of the inconsistencies that will drive you nuts.

Basically, macros, variables, parameters, arguments in TW5 aren't like 
anything you will see anywhere else. So don't feel bad if takes a while to 
make sense of it all.

Mark 



On Wednesday, March 1, 2017 at 6:18:35 PM UTC-8, Dave wrote:
>
> ok, so now how do I pass that on to another macro?
>
> this doesn't work:
>
> \define myothermacro(gddayeh)
> $gddayeh$
> \end
>
>
> \define mymacro()
> <$set name="result" value="Hi Bob">
> <>" >>
> 
> \end
>
> <>
>
>
>
>

-- 
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/37622a9d-bb28-4402-8ad8-4057617fcf92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How does the set widget actually work?

2017-03-01 Thread Dave
ok, so now how do I pass that on to another macro?

this doesn't work:

\define myothermacro(gddayeh)
$gddayeh$
\end


\define mymacro()
<$set name="result" value="Hi Bob">
<>" >>

\end

<>



-- 
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/22bba3f1-20e9-4655-909c-cf2eaedf6531%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How does the set widget actually work?

2017-03-01 Thread Dave
Thanks! 

(You must be from the Great White North, eh?)

-- 
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/51bf0529-7f02-4f80-8183-f146473bd52c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How does the set widget actually work?

2017-03-01 Thread Dave
Thanks! 

(You must be from the Great White North, eh?)

-- 
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/86c9194c-29ad-4ea7-a628-a977d9a6f11e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How does the set widget actually work?

2017-03-01 Thread 'Mark S.' via TiddlyWiki

Your macro should look like this:

\define mymacro()
<$set name="result" value="Hi Bob">
<>

\end

<>

You had a forward slash at the end of the <$set.../> tag. The value of the 
variable only "lives" between a set of tags, e.g. <$set ...>. Since 
you didn't have a set of tags, the value ended before it was invoked.

You invoked "result" as . Variables set by the setwidget get 
invoked with <>. These are different than variables passed to the 
macro which get invoked like $result$.

It gets more confusing. If you had called <$set> before invoking the macro, 
then inside the macro definition you could use $(result)$, like this:

\define mymacro()
<$set name="result" value="Hi Bob">
<>
$(result)$

\end

<$set name="result" value="Hi Doug">
<>



Which results in:

Hi Bob Hi Doug


HTHSH (Hope this helped somehow)

Mark





On Wednesday, March 1, 2017 at 4:17:39 PM UTC-8, Dave wrote:
>
> I've realized on another thread that I must have a fundamental 
> misunderstanding of the set widget.  Isn't it supposed to set a variable 
> for use elsewhere?
>
> \define mymacro()
> <$set name="result" value="Hi Bob"/>
> 
> $result$
> $(result)$
> \end
>
> <>
>
> When I run the above macro, all I get is 
>
> $result$
>
>
> I also tried it like this
> <$set name="result" text="Hi Bob"/>
>
> but got the same results.
>
> I have got set widget to work in situations like this:
> <$list filter="[getindex[$testname$]]">
>
> but not sure what the distinction is there (set variables only work inside 
> widgets?)
>
>
> Anyway, is there a correct way to get it to work the way I need? or 
> perhaps is there an alternate widget to use?
>
>
> (My ultimate goal is to get a result from inside one macro and transfer it 
> to another macro for further processing.)
>
> Thanks,
> Dave
>
>
>
>
>

-- 
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/bfbe33c6-10f6-4ff3-bbd6-956e36983a03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] How does the set widget actually work?

2017-03-01 Thread Dave
I've realized on another thread that I must have a fundamental 
misunderstanding of the set widget.  Isn't it supposed to set a variable 
for use elsewhere?

\define mymacro()
<$set name="result" value="Hi Bob"/>

$result$
$(result)$
\end

<>

When I run the above macro, all I get is 

$result$


I also tried it like this
<$set name="result" text="Hi Bob"/>

but got the same results.

I have got set widget to work in situations like this:
<$list filter="[getindex[$testname$]]">

but not sure what the distinction is there (set variables only work inside 
widgets?)


Anyway, is there a correct way to get it to work the way I need? or perhaps 
is there an alternate widget to use?


(My ultimate goal is to get a result from inside one macro and transfer it 
to another macro for further processing.)

Thanks,
Dave




-- 
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/72d1f679-0001-4c58-876e-32caa25fc9bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Who/what/where is the Tinka Plugin currently being developed?

2017-03-01 Thread 'Andreas Hahn' via TiddlyWiki
I have moved the Tinka plugin to a new home (see other topic), it is now 
available on github:


Repo: https://github.com/TinkaPlugin/Tinka
Wiki: https://tinkaplugin.github.io/

Let me know if you run into any problems using it,
/Andreas


Am 26.02.2017 um 03:29 schrieb Matthew Lauber:

@Andreas Hahn,

Great to hear from you.  My only planned changes thus far were to 
correct a few typos where you used "$/temp/..." instead of 
"$:/temp/..." since it was cluttering up my All Tiddlers sidebar. 
 Thanks for the incredible plugin!


Matt Lauber

On Saturday, February 25, 2017 at 1:57:14 PM UTC-5, Andreas Hahn wrote:

Hi,

sorry for my late response, I just didn't see the topic on here
sooner.
When it comes to the Tinka plugin, I will setup a github repo
within the next few days containing all files that I have on it
and a proper license[1], so that it is hopefully in an easily
modifiable and forkable state for the future.

@David: I will look into it, but it might just be that you didn't
use TiddlyWiki's versioning format, since I am using the standard
versioning functions that TW already provides for this. (It might
also be that due to changes in TW this is now broken)

@Matt: Since Tinka was developed entirely within the browser at
the time, I am hoping to split up some files and clean up the code
when it comes to the custom action widgets contained within (and
also prefix all their names with 'tinka-'). Please let me know if
I should keep anything in mind with regards to the changes you
intend to make/made.

/Andreas

[1] Quick question: I am thinking to just go with the MIT license
here ... Will that pose any problems in the future? Would BSD be
better?


Am 22.02.2017 um 02:55 schrieb David Szego:

While we're at it... Bug report: Every time you rebuild a package
it resets the version number to 0.0.1!! But, I love the plugin!

On Tuesday, 21 February 2017 19:22:15 UTC-5, PMario wrote:

On Tuesday, February 21, 2017 at 10:39:12 PM UTC+1, Thomas
Elmiger wrote:

Hi Jed, my copy is here:


http://tid.li/tw5/plugins.html#%24%3A%2FControlPanel:%24%3A%2FControlPanel%20%24%3A%2Fplugins%2Fahahn%2Ftinka




I did reach out with a pm to Andreas, and see, if he can
clarify the license. .. Since tinka has none, which is a
problem, if we want to adopt and maintain it.

-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+...@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/604426e9-2cf9-4b45-b944-9b0bec7d9de1%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/64f0f160-c544-4744-bb90-dd3f0bcd55ff%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/75180e1c-e608-b239-1b73-5dfe1aebbcff%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Tinka 0.3.0 release

2017-03-01 Thread 'Andreas Hahn' via TiddlyWiki

Hi,

I have just pushed the source code to the Tinka plugin to github and 
included a license (MIT license), which hopefully makes it ready to use 
and modify for anyone interested in the future. You can find the 
repository at https://github.com/TinkaPlugin/Tinka and an introductory 
wiki with the typical TW install option at https://tinkaplugin.github.io/.


In addition to making it more available, I am also calling this version 
"0.3.0" since I have made the following changes:


* Packaging success now produces a modal that actively reminds the user 
to refresh the wiki.

* The search tab state is now kept in a temporary system tiddler.
* Added warning when repackaging themes that are not active.
* The 'Help Tab' functionality is now also available for plugins that do 
not follow the `$:/plugins/...` naming convention. In particular this 
applies to themes and core plugins.

* Fixed wrong headings for some modal dialogs.
* Older action widgets remodeled to use the (new) CommonAction widget as 
a base.
* Fixed error check that prevented users to enter a minimal core version 
dependency when creating a new plugin.


/Andreas

--
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/4f363ecb-591e-25e0-f341-97d908c7c86e%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] tabLinks plugin - Quickly open a sidebar tab as a Tiddler

2017-03-01 Thread PMario
Hi David,

I'm using a similar plugin: *link-to-tabs* for my TWs. see: 
https://wikilabs.github.io/editions/link-to-tabs/

It adds a setting to the control panel, to enable/disable the feature. 
A second setting activates the links for all tabs at the same time, so it's 
not needed to select them first. 

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/e59a7549-8b7b-4602-ac81-15eef4d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] TiddlyDesktop Linux64-v0.0.8 Internal Java error

2017-03-01 Thread kelsang sherab
I get this error repeatedly
What do I need to do???
Internal JavaScript Error
Well, this is embarrassing. It is recommended that you restart TiddlyWiki 
by refreshing your browser

Uncaught TypeError: Cannot read property 'length' of null
Uncaught TypeError: Cannot read property 'length' of null
close

-- 
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/72d8f408-4bc3-4b9f-b633-ef53e2c3e596%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Using TW as a professional webpage

2017-03-01 Thread Thomas Elmiger
Hi tejjyid and Tobias

> Static means node generated sites of individual static html pages
Static pages can also be exported via Advanced Search > Filter tab > Export 
button

Good night!
Thomas 

-- 
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/05f780e0-0263-45cd-8a25-e2459b3a8eea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Toccata & Fugue

2017-03-01 Thread Thomas Elmiger
Dear Josiah 

Thank you for the invitation to come in—if, I am not sure, that was your point 
or one of your points if there are any at all.

The system[1] suggested that I round off the experience with Mike: 
https://youtu.be/l7MY_cdUL1E

A piece of art that speaks to me like tiddlers turned into sound[2] with a 
slightly educative part towards the end of a longer journey.

Enjoy!
Thomas 

[1] Youtube 
[2] A plugin idea, but not for me, grab it if you are able. 

-- 
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/d8a92fd1-9ac1-40c9-9aa7-91e871c637bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Using TW as a professional webpage

2017-03-01 Thread Tobias Beer
Hi tejjyid,

Static means node generated sites of individual static html pages: 
http://tiddlywiki.com/#Generating%20Static%20Sites%20with%20TiddlyWiki
...whereas a full TiddlyWiki would be more "dynamic" in nature, in terms of 
interactivity.

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/b741f9de-22e4-47b6-8528-ae3750d4c54e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Using TW as a professional webpage

2017-03-01 Thread tejjyid
I think all they mean by "static" is "not using Nodejs", in other words, 
what the most of us who came from TW classic would think of as bog-standard 
TW. But I could be wrong. What exercises me about TW a a website is, how do 
I turn off all the authoring functionality? Maybe that's what "static" 
means.

Cheers

On Thursday, 2 March 2017 04:28:55 UTC+11, Mat wrote:
>
> >...static
>
> Why do you guys emphasize "static" so much? Is default TW, with some 
> visual remodelling, not a good idea?
>
> <:-)
>

-- 
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/5877ca14-376c-4437-8a2f-ed6b73cbe86a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 - replacing all my old inline JS

2017-03-01 Thread tejjyid


On Tuesday, 28 February 2017 22:04:57 UTC+11, tejjyid wrote:
>
> I've managed to update many of my simpler macros, but now I'm moving on to 
> the more complicated ones.
>
> There are two scenarios that I used to have:
>
> 1.) a list of words stored in one tiddler that I would highlight in a 
> range of texts stored in other tiddlers. That list of words would be 
> converted into a regex via some inline js, and I could then use that regex 
> in other macros, because once created the regex variable was "visible" 
> everywhere. From my point of view, this was an easy option because I could 
> update the list of words to be annotated easily.
>
> 2.) I had a library of functions stored in one tiddler that I could use in 
> varying combinations in different macros. 
>
> I can't work out to do either thing in the TW5 framework. I don't mind 
> doing it a better way, if the better way doesn't involve complex code. Or 
> alternatively, how do I make the same arrangement work?
>
> Something else - I used to be able to get tiddlers into my macros with 
> code like "store.getTiddlerText" - does that functionality still exist? Can 
> someone point me to where it's documented?
>
> If anyone feels they need to look at old code to answer the questions: the 
> attached has everything. But probably some ideas on how to do it & pointers 
> to useful documentation would be enough.
>
> 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/dbeb416d-6d86-4c55-a98f-2541079dcf04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] tabLinks plugin - Quickly open a sidebar tab as a Tiddler

2017-03-01 Thread David Szego
I found Mat's tabLink work from a few months ago, and loved it so much I 
hacked it and packaged it as a proper plugin.

Add the field:

linktotiddler: true

to any Sidebar Tiddler, and it will come up as:

*TiddlerTab *

*  *Click the  
 to open that Tab as a Tiddler


*.*

-- 
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/ece3b9f0-0749-48d1-b72e-7fb2a42ae370%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


tabLinks-plugin-1.0.json
Description: application/json


[tw] Re: Presenting: Tablinks - to access the tid showing in the tab

2017-03-01 Thread David Szego
I just found this, and loved it so much I hacked it and made a proper 
plugin...

Add the field:

linktotiddler: true

to any Sidebar Tiddler, and it will come up as:

*TiddlerTab **  *

much like your version. I cleaned up the css a bit as well. Of course, I 
gave you proper attribution! Thanks for coming up with this!

Cheers,
David.


-- 
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/6d910620-2558-479a-971e-0ae50466250d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


tabLinks-plugin-1.0.json
Description: application/json


Re: [tw] Using TW as a professional webpage

2017-03-01 Thread sini-Kit
TW5 can be static or run under node.JS  TW5 is a very good idea. I learn it 
for many years, but still don't understand how Tiddllywiki work :)
I can make  1000+ pages static site and modify all this pages in a very 
easy way. It makes TW5 unique instrument for me.   

среда, 1 марта 2017 г., 20:28:55 UTC+3 пользователь Mat написал:

> >...static
>
> Why do you guys emphasize "static" so much? Is default TW, with some 
> visual remodelling, not a good idea?
>
> <:-)
>

-- 
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/02dee1ae-42d1-4206-810f-aa9da359d460%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Using TW as a professional webpage

2017-03-01 Thread Mat
>...static

Why do you guys emphasize "static" so much? Is default TW, with some visual 
remodelling, not a good idea?

<:-)

-- 
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/8d50667b-9f22-4112-9a95-c3eefc47bb68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Using TW as a professional webpage

2017-03-01 Thread Jeremy Ruston
Hi peuhpeuh

Another example of a web page built with TiddlyWiki is the site I built for my 
consultancy company Federatial:

https://federatial.com 

The site is a plain static HTML file that was exported from TiddlyWiki.

Best wishes

Jeremy.


> On 1 Mar 2017, at 14:12, Siniy-Kit  wrote:
> 
> Hi! I have made many static TW5 sites  here is the last one in English 
> http://magast.ru/en/portfolio.htm   and 
> TW5 variant  http://magast.ru/en/heeg.html#index 
> 
> old Russian site https://design4shop.ru/heeg.html 
>  
> real working internet shop on TW5 http://luckysushi.ru/habarovsk/heeg.html 
>  (static full)
> and my homepage http://heeg.ru/  where you can download all 
> my tw5 sites, empty (clean 
> https://design4shop.ru/heeg.html#%D0%A3%D0%B4%D0%B0%D0%BB%D0%B8%D1%82%D1%8C 
> )
>  them by tag $:/Note  and 
> $:/TOC  and make your own site.
> 
> I think TW5 is a good CMS for all static projects. 
>  
> 
> 
> среда, 1 марта 2017 г., 12:15:04 UTC+3 пользователь peuhpeuh singe написал:
> Hi,
> 
> I am considering to use tiddlywiki to create a quite simple professional 
> homepage (grossly consisting of a set of elaborated summaries of my past 
> activities). The reason to this is that, as for now, tw is the only tool I 
> used to produce html pages which is , while pragmatic, a bad reason I 
> guess. So here are my two questions:
> 
> - do you think, it is not too contraining to perform this task with tw 
> (considering that I already know most I need to know about tw for that) ?
> - are you aware of any such webpages (or similar) generated using tw and 
> which I could use inspired myself ?
> 
> Thanks a lot.
> P.
> 
> -- 
> 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/e24f79e4-9e85-4126-9694-c8ca5aea2297%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/F02592CD-D150-48E9-8BEC-4B83C10CDCC0%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: nesting double curly brackets

2017-03-01 Thread Dave
Thank you so much for explaining these concepts to me Jed (and Mat and 
PMario).  I can tell intuitively that TW5 is the tool I need for what I 
want to do, but sometimes the details of how everything relates (macros and 
widgets and filter lists) is a little mindboggling sometimes (I'm not a 
programmer by profession)

I'll play with this for a while and post how it goes either way :)

-- 
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/73dc07f0-4751-40e7-a318-939aa9204ba1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using TW as a professional webpage

2017-03-01 Thread Siniy-Kit
Hi! I have made many *static* TW5 sites  here is the last one in English 
http://magast.ru/en/portfolio.htm  and TW5 variant 
 http://magast.ru/en/heeg.html#index
old Russian site https://design4shop.ru/heeg.html 
real working internet shop on TW5 http://luckysushi.ru/habarovsk/heeg.html 
(static full)
and my homepage http://heeg.ru/ where you can download all my tw5 sites, 
empty (clean 
https://design4shop.ru/heeg.html#%D0%A3%D0%B4%D0%B0%D0%BB%D0%B8%D1%82%D1%8C) 
them by tag $:/Note  and 
$:/TOC  and make your own 
site.

I think TW5 is a good CMS for all static projects. 
 


среда, 1 марта 2017 г., 12:15:04 UTC+3 пользователь peuhpeuh singe написал:
>
> Hi,
>
> I am considering to use tiddlywiki to create a quite simple professional 
> homepage (grossly consisting of a set of elaborated summaries of my past 
> activities). The reason to this is that, as for now, tw is the only tool I 
> used to produce html pages which is , while pragmatic, a bad reason I 
> guess. So here are my two questions:
>
> - do you think, it is not too contraining to perform this task with tw 
> (considering that I already know most I need to know about tw for that) ?
> - are you aware of any such webpages (or similar) generated using tw and 
> which I could use inspired myself ?
>
> Thanks a lot.
> P.
>

-- 
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/e24f79e4-9e85-4126-9694-c8ca5aea2297%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] @Federation Github Pages now supports HTTPS

2017-03-01 Thread Arlen Beiler
Hello everyone,
Just saw this and thought I would post it. GitHub Pages now supports HTTPS.
So now federation wikis hosted on Dropbox can talk to wikis hosted on
GitHub pages.

And my TiddlyWiki in the Sky for Dropbox can now be hosted on GitHub. We'll
see when that happens. Stay tuned.

-Arlen

-- 
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/CAJ1vdSQcqWayGJE1iZBVxqhP2bhPa2RYpnMM7oLCc0oh_DGRkA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How do I indent?

2017-03-01 Thread PMario
On Tuesday, February 28, 2017 at 11:18:49 PM UTC+1, philosopherhobbs wrote:
>
> if (whatever)
>{
>   Do stuff;
>}
>else
>   {
>  Do other stuff;
>   }
>
>
Oh, It's not intended to be used that way. It will make your life much 
harder, at it should be :)

Why don't you use: 

```
if (whatever)
  {
Do stuff;
  }
else
  {
Do other stuff;
  }
```

Which is the right way to show program code.

-m

-- 
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/ffd58a9e-4738-4a7e-804c-62f9e1067fa9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] How to create a basic plugin that bundles some content?

2017-03-01 Thread PMario
On Tuesday, February 28, 2017 at 6:08:48 PM UTC+1, TheDiveO wrote:
>
> .. use stupid alphabetical names, such as aaa, and zzz.
>

Oh, that's a simple and battle tested way, from the days of zzConfig ;)

Now slightly adapted to system tiddlers: $:/_mySystemTiddler ... because 
the underline will push them to the top of the list \o/

-m 

-m 

-- 
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/38fd778d-5d6a-4e6d-992a-ccec29921887%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using TW as a professional webpage

2017-03-01 Thread Jed Carty
If what you want to make fits into the general working of TiddlyWiki I 
think it is a good choice. I don't think it is very constraining unless you 
have something specific in mind.

I am not sure what the urls are at the moment, but I think that sini-Kit 
has made multiple professional store websites using tiddlywiki. There are a 
few other examples I have seen but I am not sure who made them or the urls. 
If you search the group for sini-Kit you should be able to find links to 
what he has made.

-- 
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/cf7e1eb0-33a9-4c2f-a0c9-277cdf4b8a28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: IndieWeb and TW

2017-03-01 Thread Jed Carty
Somewhere on the site (right after they said 'implementation matters far 
more than technology, make it work then we will worry about how it works') 
it said 'and no, so-called single page applications don't count, if you 
can't curl it it isn't online'. They may have changed this since it has 
been a while since I had time to look at any new progress being made.

-- 
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/6713bf25-a175-4ef2-b06a-c44b244fdbef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: nesting double curly brackets

2017-03-01 Thread Jed Carty
You can not set a value in one widget with another widget, that is the 
whole problem here. Your line 

<$set name="foo" value="<$transclude tiddler='$(mytestname)$' 
field='$(mytestfield)$'>"/>

won't work. You can just use the {{ }} syntax like this:

<$set name='foo' value={{$(mytestname)$!!$(mytestfield)$}}/>

although that line does nothing because the variable foo is only defined 
inside the start and end tags of the set widget so I am not sure what is 
supposed to happen there.

For the full thing, try this:

\define s.test.result()
<$transclude tiddler='$(mytestname)$' field='$(mytestfield)$'/>
<$set name="foo" value={{$(mytestname)$!!$(mytestfield)$}}>
foo is <> or $foo$ or $(foo)$.

\end

\define s.test(testname,testfield)
<$set name="mytestname" value="$testname$">
<$set name="mytestfield" value="$testfield$">




<$select tiddler="""$testname$""" field="""$testfield$""">


<$list filter="[list[testDictionary##$testname$]]">
>><$text text=<>/>


:<>:



\end


-- 
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/6527a085-e046-473c-a926-f4c5080e6c1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Use $ as KaTeX delimiters

2017-03-01 Thread Szabolcs Horvát
Hello,

Is it possible to configure the delimiters used by the KaTeX plugin?

Instead of $$, I would prefer to use $ for inline math and $$ (or \[ \]) 
for display math.

I want to do this for better interoperability. I would like to be able to 
copy/paste between TW, Markdown and LaTeX documents with as little manual 
editing as possible.  I use TW for notes, and some of that stuff will end 
up in LaTeX documents.  Some old LaTeX notes will also end up 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/78052f7d-be91-4d3d-83ec-139fa89f3cea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Simple Javascript insertion in tiddlers (text/vnd.tiddlywiki)

2017-03-01 Thread Ton Gerner
Hi Matt 

>
> https://www.reddit.com/.embed?limit=5"; type="text/javascript"
> >
>
> Create a tiddler, tagged with $:/tags/RawMarkup, with the above script in 
it. Do not set a type, or set the type to text/vnd.tiddlywiki (without type 
it defaults to that).
The embedded 'reddit' will be shown at the end of the story river.
 
Cheers,

Ton

-- 
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/a6c657bb-ae5f-4d71-89d1-05bffcaa3c54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] iframe google group on tiddlywiki site. Example.

2017-03-01 Thread Matt Groth
Any idea why this is not working for me? It's coming out blank.

On Thursday, January 5, 2017 at 10:28:26 AM UTC-5, Siniy-Kit wrote:
>
> Hi! I found a very easy way to put google group to tiddlywiki 
>
> https://groups.google.com/forum/embed/?place=forum/heeg=true=true=false=http%3A%2F%2Fheeg.ru%2Fforum.html
> " scrolling="no" frameborder="0" width="100%" height="700">
>  
>
>
> here is google group on my site http://heeg.ru/heeg.html#forum
>
> unfortunately this iframe don't work local. And I don't know why...
>
>

-- 
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/9c441e4c-8d59-43d6-a7ae-4ca897808cdd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] TW5 - replacing all my old inline JS

2017-03-01 Thread tejjyid
Thanks Jeremy - I don't think the lack of refresh will be an issue (as I 
understand the limitation), but I can  cross the bidge if I need to later. 
I suspect you've given me enough to go on, and I think I can puzzle out the 
"require" and "exports" mechanism, but I do have a couple of questions if 
you have the time:

My google-driven understanding of require/exports is that it's node, not 
javascript. I know TW5 is built around node, but I'm not running it. So, is 
the TW5 core emulating something in mode? Is there a good place to read up 
on this? Also, I had a look at 

var Widget = require("$:/core/modules/widgets/widget.js").widget;
, which I assume is what you wanted me to look at.

I'm sure a bunch of trial-and-error will get me home, but:
1.) I don't think I'll be putting my code into "$:/core/modules" anytime 
soon. Or is that where they have to go for this to work?
2.) is that statement a specific instance of "var Anyname = 
require("anywhere/anycode.anysuffix").anymethod? It's not clear to me which 
of those elements are by documentary convenience & which are by necessity.

I would love to find stuff to copy/modify, but it's easier said than done. 
When I got into this originally, I couldn't find anyone else interested in 
analysing/annotating text.  I had the time to look at a ton of TWC stuff 
then; now, it's taken me a year to get around to getting out of Tiddlyspace 
& upgrading to TW5.

Anyway I very much appreciate your work & help. I actually submitted my MA 
research paper as a TWC tiddlywiki a few years ago - my supervisor was so 
impressed by the technology she forgot to check the content, which was fine 
by me :-) The examiners likewise. (That had things in it that were more 
"standard"; bibliography, for example, so copy/modify was easier) Probably 
I should offer to share it with you.

Cheers, Andrew

On Tuesday, 28 February 2017 23:21:08 UTC+11, Jeremy Ruston wrote:
>
> Hi tejjyid
>
> I've managed to update many of my simpler macros, but now I'm moving on to 
> the more complicated ones.
>
> There are two scenarios that I used to have:
>
> 1.) a list of words stored in one tiddler that I would highlight in a 
> range of texts stored in other tiddlers. That list of words would be 
> converted into a regex via some inline js, and I could then use that regex 
> in other macros, because once created the regex variable was "visible" 
> everywhere. Frbut I can crossom my point of view, this was an easy option 
> because I could update the list of words to be annotated easily.
>
>
> The simplest type of JavaScript module to write for TiddlyWiki5 is a JS 
> macro. The semantics are extremely simple: the macro defines the names of 
> its parameters, and exports a handler function that is called when the 
> macro is invoked. Here’s a simple example from the core:
>
>
> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/macros/makedatauri.js
>
> There are quite a few restrictions and limitations with macros, though.
>
> Firstly, a macro is not supposed to have any side effects (it cannot 
> create or modify tiddlers, for example), and is supposed to return the same 
> result every time it is called with a given set of parameters.
>
> Secondly, they don’t participate in the refresh mechanism (which is one of 
> the things that makes them simple to write). This means that you can’t 
> easily arrange for them to automatically refresh if underlying data should 
> change.
>
> Nonetheless, in many situations, writing a macro is adequate. There is 
> some documentation here:
>
> http://tiddlywiki.com/dev/#JavaScript%20Macros
>
> In your case, you could write a macro <> that would 
> retrieve the tiddlers matching a filter, and retrieve the highlights from 
> inside them, and then return the resulting regexp.
>
> Then, you could use an action-setfield widget within a button to allow the 
> user to manually trigger the assignment of the regular expression to a 
> tiddler.
>
> 2.) I had a library of functions stored in one tiddler that I could use in 
> varying combinations in different macros. 
>
> I can't work out to do either thing in the TW5 framework. I don't mind 
> doing it a better way, if the better way doesn't involve complex code. Or 
> alternatively, how do I make the same arrangement work?
>
>
> TiddlyWiki 5 provides a Common/JS compatible module loader that makes it 
> easy to require() other modules and access their exports. Here’s an example 
> from one of the core plugins:
>
>
> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/widgets/button.js#L15
>  
> 
>
> Something else - I used to be able to get tiddlers into my macros with 
> code like "store.getTiddlerText" - does that functionality still exist? Can 
> someone point me to where it's documented?
>
>
> Within a macro, 

[tw] Using TW as a professional webpage

2017-03-01 Thread peuhpeuh singe
Hi,

I am considering to use tiddlywiki to create a quite simple professional 
homepage (grossly consisting of a set of elaborated summaries of my past 
activities). The reason to this is that, as for now, tw is the only tool I 
used to produce html pages which is , while pragmatic, a bad reason I 
guess. So here are my two questions:

- do you think, it is not too contraining to perform this task with tw 
(considering that I already know most I need to know about tw for that) ?
- are you aware of any such webpages (or similar) generated using tw and 
which I could use inspired myself ?

Thanks a lot.
P.

-- 
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/f3a89c32-0fa5-4b5b-8c89-dc47bb0f1e5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 - replacing all my old inline JS

2017-03-01 Thread tejjyid
That is exceptionally generous of you! I think I can puzzle out a lot about 
the internals from your's and Jeremy's posts. Appeciate it.

It may be a bridge too far (and maybe I can work it out with what you've 
already given me), but if you could stand to look at POSTagger.js: mainly 
because it uses a very large variable LEXICON (which is in Lexicon.js_) and 
I'm wondering what the best way to handle that volume of data is. It used 
to break IE8, but it's slow-ish to load anywhere.

Thanks regardless; you've been very helpful. WHen I finish this lot I'll be 
free to start thinking about the content and not the machinery.

Andrew

On Wednesday, 1 March 2017 03:36:36 UTC+11, BJ wrote:
>
>
> I have had a quick hack to indicate what I think may be the best approach 
> - see attached,
>
> all the best
> BJ
>
>
> On Tuesday, February 28, 2017 at 12:04:57 PM UTC+1, tejjyid wrote:
>>
>> I've managed to update many of my simpler macros, but now I'm moving on 
>> to the more complicated ones.
>>
>> There are two scenarios that I used to have:
>>
>> 1.) a list of words stored in one tiddler that I would highlight in a 
>> range of texts stored in other tiddlers. That list of words would be 
>> converted into a regex via some inline js, and I could then use that regex 
>> in other macros, because once created the regex variable was "visible" 
>> everywhere. From my point of view, this was an easy option because I could 
>> update the list of words to be annotated easily.
>>
>> 2.) I had a library of functions stored in one tiddler that I could use 
>> in varying combinations in different macros. 
>>
>> I can't work out to do either thing in the TW5 framework. I don't mind 
>> doing it a better way, if the better way doesn't involve complex code. Or 
>> alternatively, how do I make the same arrangement work?
>>
>> Something else - I used to be able to get tiddlers into my macros with 
>> code like "store.getTiddlerText" - does that functionality still exist? Can 
>> someone point me to where it's documented?
>>
>> If anyone feels they need to look at old code to answer the questions: 
>> the attached has everything. But probably some ideas on how to do it & 
>> pointers to useful documentation would be enough.
>>
>> 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/0ef6d892-38c8-4a47-b4c1-b1a66c45ec46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.