[tw5] Re: What is the purpose of source field in a tiddler?

2020-09-09 Thread talha131


Thank you all. 

The reason is you could then write wiki text to turn the contents of any 
field name with -link into a link by the prefixes name

Great tip.

I decided to use source-url, source-book, source-person, depending on from 
where I collected the note.
​

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4c0073c3-1873-45a0-b7fb-cbc1fd7a4d9ao%40googlegroups.com.


[tw5] Re: What is the purpose of source field in a tiddler?

2020-09-07 Thread TiddlyTweeter
talha131 and PMario

"source" is fine to use as you need in most tiddlers. It has special 
meaning, I believe, in plugins only (PMario?)

The TW ADVICE is ... 

*source = The source URL associated with a tiddler*

You can interpret this liberally. For instance, I have use it not for URLs, 
but book title references with no link.

Best wishes
TT



On Monday, 7 September 2020 09:38:07 UTC+2, PMario wrote:
>
> Hi,
> There is only 1 field that you have to use to create a valid tiddler. The 
> "title". That's it.
>
> Every other field name is just a convention. 
> https://tiddlywiki.com/#TiddlerFields shows all fields that are used by 
> core tiddlers. 
>
> As far as I know, It's OK to use source. Especially as you want to use it 
> in the exact way as it is described.
>
> I'll have a closer look at the core code but I'm pretty sure there is no 
> side effect.
>
> -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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b84e1af9-60f6-484f-aa02-2c9f0df3aacao%40googlegroups.com.


[tw5] Re: What is the purpose of source field in a tiddler?

2020-09-07 Thread PMario
Hi,
There is only 1 field that you have to use to create a valid tiddler. The 
"title". That's it.

Every other field name is just a convention. 
https://tiddlywiki.com/#TiddlerFields shows all fields that are used by 
core tiddlers. 

As far as I know, It's OK to use source. Especially as you want to use it 
in the exact way as it is described.

I'll have a closer look at the core code but I'm pretty sure there is no 
side effect.

-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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8fcd0ee4-186a-409e-9634-41cfe333eab8o%40googlegroups.com.


[tw5] Re: What is the purpose of source field in a tiddler?

2020-09-06 Thread TW Tones
This answer lays with yourself.

Perhaps fine if your not editing the plugin Tiddler.

However can I suggest source-link

The reason is you could then write wiki text to turn the contents of any 
field name with -link into a link by the prefixes name

E.g. source is the title of a link stored in source-link

Perhaps a nice little defacto standard
Tony

On Monday, 7 September 2020 at 07:17:57 UTC+10 talha131 wrote:

> Though I could not find official documentation, but it seems source field 
> has special usage in TW.
>
> For example, this edition uses source field for creating a hierarchy of 
> tiddlers.
>
> http://tw5.scholars.tiddlyspot.com/
>
> It is also used for the source URL of a plugin.
>
> (optional) Source URL of plugin
>
> https://tiddlywiki.com/static/Plugin%2520Fields.html
>
> My understanding is that it is better to avoid source and use some other 
> custom field for my use case.
>
> Do let me know if my understanding is incorrect.
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/52ad4f7a-a5f0-4325-ae8b-54fb6f59d09cn%40googlegroups.com.


[tw5] Re: What is the purpose of source field in a tiddler?

2020-09-06 Thread talha131


Though I could not find official documentation, but it seems source field 
has special usage in TW.

For example, this edition uses source field for creating a hierarchy of 
tiddlers.

http://tw5.scholars.tiddlyspot.com/

It is also used for the source URL of a plugin.

(optional) Source URL of plugin

https://tiddlywiki.com/static/Plugin%2520Fields.html

My understanding is that it is better to avoid source and use some other 
custom field for my use case.

Do let me know if my understanding is incorrect.
​

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8cc5eb6b-1a2a-42be-861e-5b83e14f13b7o%40googlegroups.com.