[tw5] Re: Link to a Tiddler in a "local" TiddlyWiki file

2019-08-23 Thread Mohamed Amin
Thanks a Million Tony for your reply/support,

 I'll try your method.

On Thursday, August 22, 2019 at 2:01:08 AM UTC+2, TonyM wrote:
>
> Mohammad,
>
> The point is if you want to do things which requires permissions on your 
> local system, use something with permissions on your local system 
> *TiddlyDesktop*
>
> Browsers treat file:// links as possible threats and whilst you can do 
> some things with them, try file://C:\Users\*username*\Documents in your 
> browser address bar, it will allow you to browse your file system but you 
> can only "download" the files you find. The browser is "protecting" you.
>
> *If however in TiddlyDesktop* which is a local application (with built in 
> simplified browser) without the security limitations a browser on the 
> internet deserves,  tiddlywiki allows;
>
>- Open Excel file://C:\ProgramData\Microsoft\Windows\Start 
>Menu\Programs\Excel.lnk
>- Visit my Printer on the LAN 
>http://192.168.1.228/PRESENTATION/HTML/TOP/INDEX.HTML
>- Open a document in its default app 
>[[filename|file:///C:\path\folder\worddocument.docx]]
>- Open a folder in WIndows Explorer 
>[[filename|file:///C:\path\folder\]]
>
> I have tiddlers with custom fields such as "desktop-link" containing a 
> link and a macro to prefix it with file:// if is starts with C:/ D:/ etc...
>
> On tiddly desktop try the `<$browse>` widget to import files.
>
> Regards
> Tony
>
> On Tuesday, August 20, 2019 at 11:38:45 PM UTC+10, Mohamed Amin wrote:
>>
>> Thanks a lot Tony for your reply/information,
>>
>> So, in my case where I use only local file stored in my Hard disk (with 
>> Tiddly Desktop or directly in a Browser), I need to wait till this feature 
>> is implemented. is that correct?
>>
>> On Monday, August 19, 2019 at 5:55:14 AM UTC+2, TonyM wrote:
>>>
>>> Mohammad,
>>>
>>> I too have a lot of links to other TiddlyWiki elements. Recently I was 
>>> thinking I would like to simplify this. 
>>>
>>> If you use a html link of the form 
>>> http://192.168.1.81/Instances/TW5Reference.html#Align%20Top%20middle%20bottom
>>> "  target="wikiname">Align Top middle bottom
>>> The link will always open in the same tab with the same target=
>>> "wikiname"
>>>
>>>
>>> It would be nice if we could capture a link to a tiddler in another wiki 
>>> such as my example
>>>
>>> http://192.168.1.81/Instances/TW5Reference.html#Align%20Top%20middle%20bottom
>>>
>>> And automatically craft  a link by extracting from the above
>>>
>>>- The full path to the wiki 
>>>http://192.168.1.81/Instances/TW5Reference.html
>>>- The Wikis name TW5Reference and set the target to this name
>>>- The specific tiddlers name "Align Top middle bottom"
>>>- Then display the link as something like "TW5Reference:Align Top 
>>>middle bottom" (Much more readable)
>>>- That on click would open in the named tiddler in the named wiki 
>>>with in a target tab by the name of the wiki
>>>
>>> This would improve readability of the link in wiki text, always open 
>>> references to tiddlers in the same tab (unless you "open in new tab") 
>>> stopping a proliferation of tabs and reducing the chance that changes in 
>>> one tab will overwrite changes in another tab.
>>>
>>> I submitted an Issue in Github for this 
>>> https://github.com/Jermolene/TiddlyWiki5/issues/4183
>>>
>>> Regards
>>> Tony
>>>
>>> On Monday, August 19, 2019 at 8:55:52 AM UTC+10, Mohamed Amin wrote:

 Dear All,

 I've tried to figure this out reading some old cases , but I failed (I 
 just meet TW5 2 months ago), so I appreciate your support here.

 Suppose that I've 2 TW5 files (TW01 and TW02), I'm trying to put a link 
 in "TW01" so when I click that link it should open the "TW02" file and 
 show 
 a Tiddler named "MyTiddler00", I've tried the following:-


1. If the "TW02" is hosted in a "http server", and I use the link = 
[[myLink|http://TW02/#MyTiddler00]] , the link is working perfect 
and the TW02 is opened with the correct Tiddler MyTiddler00
2. If the "TW02" is stored locally (i.e. in drive "D:"), and I use 
the link = [ext[myLink|D:/TW02/#MyTiddler00]] , Nothing is happened (No 
response)
3. If the "TW02" is stored locally (i.e. in drive "D:"), and I use 
the link = [ext[myLink|D:/TW02#MyTiddler00]] (removing the LAST forward 
slash before the "#" sign), the file "TW02" is open BUT with the 
 "default" 
tiddler (ex. HelloThere)


 So, did I miss something here?

 Thanks in Advance

>>>

-- 
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/a478905b-3c59-493f-b392-d800ed90dc2c%40googlegroups.com.


[tw5] Re: Link to a Tiddler in a "local" TiddlyWiki file

2019-08-21 Thread TonyM
Mohammad,

The point is if you want to do things which requires permissions on your 
local system, use something with permissions on your local system 
*TiddlyDesktop*

Browsers treat file:// links as possible threats and whilst you can do some 
things with them, try file://C:\Users\*username*\Documents in your browser 
address bar, it will allow you to browse your file system but you can only 
"download" the files you find. The browser is "protecting" you.

*If however in TiddlyDesktop* which is a local application (with built in 
simplified browser) without the security limitations a browser on the 
internet deserves,  tiddlywiki allows;

   - Open Excel file://C:\ProgramData\Microsoft\Windows\Start 
   Menu\Programs\Excel.lnk
   - Visit my Printer on the 
   LAN http://192.168.1.228/PRESENTATION/HTML/TOP/INDEX.HTML
   - Open a document in its default app 
   [[filename|file:///C:\path\folder\worddocument.docx]]
   - Open a folder in WIndows Explorer [[filename|file:///C:\path\folder\]]
   
I have tiddlers with custom fields such as "desktop-link" containing a link 
and a macro to prefix it with file:// if is starts with C:/ D:/ etc...

On tiddly desktop try the `<$browse>` widget to import files.

Regards
Tony

On Tuesday, August 20, 2019 at 11:38:45 PM UTC+10, Mohamed Amin wrote:
>
> Thanks a lot Tony for your reply/information,
>
> So, in my case where I use only local file stored in my Hard disk (with 
> Tiddly Desktop or directly in a Browser), I need to wait till this feature 
> is implemented. is that correct?
>
> On Monday, August 19, 2019 at 5:55:14 AM UTC+2, TonyM wrote:
>>
>> Mohammad,
>>
>> I too have a lot of links to other TiddlyWiki elements. Recently I was 
>> thinking I would like to simplify this. 
>>
>> If you use a html link of the form 
>> http://192.168.1.81/Instances/TW5Reference.html#Align%20Top%20middle%20bottom
>> "  target="wikiname">Align Top middle bottom
>> The link will always open in the same tab with the same target="wikiname"
>>
>>
>> It would be nice if we could capture a link to a tiddler in another wiki 
>> such as my example
>>
>> http://192.168.1.81/Instances/TW5Reference.html#Align%20Top%20middle%20bottom
>>
>> And automatically craft  a link by extracting from the above
>>
>>- The full path to the wiki 
>>http://192.168.1.81/Instances/TW5Reference.html
>>- The Wikis name TW5Reference and set the target to this name
>>- The specific tiddlers name "Align Top middle bottom"
>>- Then display the link as something like "TW5Reference:Align Top 
>>middle bottom" (Much more readable)
>>- That on click would open in the named tiddler in the named wiki 
>>with in a target tab by the name of the wiki
>>
>> This would improve readability of the link in wiki text, always open 
>> references to tiddlers in the same tab (unless you "open in new tab") 
>> stopping a proliferation of tabs and reducing the chance that changes in 
>> one tab will overwrite changes in another tab.
>>
>> I submitted an Issue in Github for this 
>> https://github.com/Jermolene/TiddlyWiki5/issues/4183
>>
>> Regards
>> Tony
>>
>> On Monday, August 19, 2019 at 8:55:52 AM UTC+10, Mohamed Amin wrote:
>>>
>>> Dear All,
>>>
>>> I've tried to figure this out reading some old cases , but I failed (I 
>>> just meet TW5 2 months ago), so I appreciate your support here.
>>>
>>> Suppose that I've 2 TW5 files (TW01 and TW02), I'm trying to put a link 
>>> in "TW01" so when I click that link it should open the "TW02" file and show 
>>> a Tiddler named "MyTiddler00", I've tried the following:-
>>>
>>>
>>>1. If the "TW02" is hosted in a "http server", and I use the link = 
>>>[[myLink|http://TW02/#MyTiddler00]] , the link is working perfect 
>>>and the TW02 is opened with the correct Tiddler MyTiddler00
>>>2. If the "TW02" is stored locally (i.e. in drive "D:"), and I use 
>>>the link = [ext[myLink|D:/TW02/#MyTiddler00]] , Nothing is happened (No 
>>>response)
>>>3. If the "TW02" is stored locally (i.e. in drive "D:"), and I use 
>>>the link = [ext[myLink|D:/TW02#MyTiddler00]] (removing the LAST forward 
>>>slash before the "#" sign), the file "TW02" is open BUT with the 
>>> "default" 
>>>tiddler (ex. HelloThere)
>>>
>>>
>>> So, did I miss something here?
>>>
>>> Thanks in Advance
>>>
>>

-- 
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/f6e14908-2417-42bc-9cec-0bbba8e838ac%40googlegroups.com.


[tw5] Re: Link to a Tiddler in a "local" TiddlyWiki file

2019-08-21 Thread Mohamed Amin
Thanks kat for pointing that this method is working with you, as I found 
the following

A link like :
[ext[myLink|D:/TW02.html#MyTiddler00]]

- Is working OK if I click it within Chrome (open the TW02 wiki in a new 
tab and show the correct Tiddler MyTiddler00)
- BUT it does NOT work if I'm in TiddlyDesktop (it open the TW02 in Chrome 
BUT show the wrong Tiddler)

Any idea if there is any configuration in TiddlyDesktop to correct this 
behaviour?

Regards
Mohamed Amin

On Wednesday, August 21, 2019 at 12:13:17 PM UTC+2, kat wrote:
>
> I just realized that my example was wrong, I had not included the ".html" 
> extension.
>
> It should be:
>
> [ext[myLink|file:///D:/TW02.html#MyTiddler00]]
>
> or
>
> [[myLink|file:///D:/TW02.html#MyTiddler00]]
>
> Maybe this was your problem?
>
> On Tuesday, August 20, 2019 at 2:41:03 PM UTC+1, Mohamed Amin wrote:
>
>> Thanks kat for your reply, but I did try to add the "fill:///" part after 
>> the "Permalink", and it doesn't work in the case of "Local files", It works 
>> ONLY if the target TiddlyWiki is hosted in a "HTTP Server"
>>
>> On Monday, August 19, 2019 at 3:46:06 PM UTC+2, kat wrote:
>>>
>>> If you are working in the browser I think you need to prepend "file:///" 
>>> to the path.
>>>
>>> For example:
>>>
>>> [ext[myLink|file:///D:/TW02#MyTiddler00]]
>>>
>>> This is the path you get when you select "Permalink" from the tiddler 
>>> menu.
>>>
>>> On Sunday, August 18, 2019 at 11:55:52 PM UTC+1, Mohamed Amin wrote:

 Dear All,

 I've tried to figure this out reading some old cases , but I failed (I 
 just meet TW5 2 months ago), so I appreciate your support here.

 Suppose that I've 2 TW5 files (TW01 and TW02), I'm trying to put a link 
 in "TW01" so when I click that link it should open the "TW02" file and 
 show 
 a Tiddler named "MyTiddler00", I've tried the following:-


1. If the "TW02" is hosted in a "http server", and I use the link = 
[[myLink|http://TW02/#MyTiddler00]] , the link is working perfect 
and the TW02 is opened with the correct Tiddler MyTiddler00
2. If the "TW02" is stored locally (i.e. in drive "D:"), and I use 
the link = [ext[myLink|D:/TW02/#MyTiddler00]] , Nothing is happened (No 
response)
3. If the "TW02" is stored locally (i.e. in drive "D:"), and I use 
the link = [ext[myLink|D:/TW02#MyTiddler00]] (removing the LAST forward 
slash before the "#" sign), the file "TW02" is open BUT with the 
 "default" 
tiddler (ex. HelloThere)


 So, did I miss something here?

 Thanks in Advance

>>>

-- 
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/a90d526b-7cd3-44e0-9d07-fb03475af0e2%40googlegroups.com.


[tw5] Re: Link to a Tiddler in a "local" TiddlyWiki file

2019-08-21 Thread kat
I just realized that my example was wrong, I had not included the ".html" 
extension.

It should be:

[ext[myLink|file:///D:/TW02.html#MyTiddler00]]

or

[[myLink|file:///D:/TW02.html#MyTiddler00]]

Maybe this was your problem?

On Tuesday, August 20, 2019 at 2:41:03 PM UTC+1, Mohamed Amin wrote:

> Thanks kat for your reply, but I did try to add the "fill:///" part after 
> the "Permalink", and it doesn't work in the case of "Local files", It works 
> ONLY if the target TiddlyWiki is hosted in a "HTTP Server"
>
> On Monday, August 19, 2019 at 3:46:06 PM UTC+2, kat wrote:
>>
>> If you are working in the browser I think you need to prepend "file:///" 
>> to the path.
>>
>> For example:
>>
>> [ext[myLink|file:///D:/TW02#MyTiddler00]]
>>
>> This is the path you get when you select "Permalink" from the tiddler 
>> menu.
>>
>> On Sunday, August 18, 2019 at 11:55:52 PM UTC+1, Mohamed Amin wrote:
>>>
>>> Dear All,
>>>
>>> I've tried to figure this out reading some old cases , but I failed (I 
>>> just meet TW5 2 months ago), so I appreciate your support here.
>>>
>>> Suppose that I've 2 TW5 files (TW01 and TW02), I'm trying to put a link 
>>> in "TW01" so when I click that link it should open the "TW02" file and show 
>>> a Tiddler named "MyTiddler00", I've tried the following:-
>>>
>>>
>>>1. If the "TW02" is hosted in a "http server", and I use the link = 
>>>[[myLink|http://TW02/#MyTiddler00]] , the link is working perfect 
>>>and the TW02 is opened with the correct Tiddler MyTiddler00
>>>2. If the "TW02" is stored locally (i.e. in drive "D:"), and I use 
>>>the link = [ext[myLink|D:/TW02/#MyTiddler00]] , Nothing is happened (No 
>>>response)
>>>3. If the "TW02" is stored locally (i.e. in drive "D:"), and I use 
>>>the link = [ext[myLink|D:/TW02#MyTiddler00]] (removing the LAST forward 
>>>slash before the "#" sign), the file "TW02" is open BUT with the 
>>> "default" 
>>>tiddler (ex. HelloThere)
>>>
>>>
>>> So, did I miss something here?
>>>
>>> Thanks in Advance
>>>
>>

-- 
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/c1d9142c-4ca6-4f73-b0f1-66c7cd469791%40googlegroups.com.


[tw5] Re: Link to a Tiddler in a "local" TiddlyWiki file

2019-08-20 Thread kat
Hmm I'm not sure then. It works for me.

Here is the relevant page in the docs if you haven't already seen it: 
https://tiddlywiki.com/#Linking%20in%20WikiText

Sorry I can't be of more help.

On Tuesday, August 20, 2019 at 2:41:03 PM UTC+1, Mohamed Amin wrote:
>
> Thanks kat for your reply, but I did try to add the "fill:///" part after 
> the "Permalink", and it doesn't work in the case of "Local files", It works 
> ONLY if the target TiddlyWiki is hosted in a "HTTP Server"
>
> On Monday, August 19, 2019 at 3:46:06 PM UTC+2, kat wrote:
>>
>> If you are working in the browser I think you need to prepend "file:///" 
>> to the path.
>>
>> For example:
>>
>> [ext[myLink|file:///D:/TW02#MyTiddler00]]
>>
>> This is the path you get when you select "Permalink" from the tiddler 
>> menu.
>>
>> On Sunday, August 18, 2019 at 11:55:52 PM UTC+1, Mohamed Amin wrote:
>>>
>>> Dear All,
>>>
>>> I've tried to figure this out reading some old cases , but I failed (I 
>>> just meet TW5 2 months ago), so I appreciate your support here.
>>>
>>> Suppose that I've 2 TW5 files (TW01 and TW02), I'm trying to put a link 
>>> in "TW01" so when I click that link it should open the "TW02" file and show 
>>> a Tiddler named "MyTiddler00", I've tried the following:-
>>>
>>>
>>>1. If the "TW02" is hosted in a "http server", and I use the link = 
>>>[[myLink|http://TW02/#MyTiddler00]] , the link is working perfect 
>>>and the TW02 is opened with the correct Tiddler MyTiddler00
>>>2. If the "TW02" is stored locally (i.e. in drive "D:"), and I use 
>>>the link = [ext[myLink|D:/TW02/#MyTiddler00]] , Nothing is happened (No 
>>>response)
>>>3. If the "TW02" is stored locally (i.e. in drive "D:"), and I use 
>>>the link = [ext[myLink|D:/TW02#MyTiddler00]] (removing the LAST forward 
>>>slash before the "#" sign), the file "TW02" is open BUT with the 
>>> "default" 
>>>tiddler (ex. HelloThere)
>>>
>>>
>>> So, did I miss something here?
>>>
>>> Thanks in Advance
>>>
>>

-- 
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/9c467785-86e3-472f-aa58-0739fe2c24f0%40googlegroups.com.


[tw5] Re: Link to a Tiddler in a "local" TiddlyWiki file

2019-08-20 Thread Mohamed Amin
Thanks kat for your reply, but I did try to add the "fill:///" part after 
the "Permalink", and it doesn't work in the case of "Local files", It works 
ONLY if the target TiddlyWiki is hosted in a "HTTP Server"

On Monday, August 19, 2019 at 3:46:06 PM UTC+2, kat wrote:
>
> If you are working in the browser I think you need to prepend "file:///" 
> to the path.
>
> For example:
>
> [ext[myLink|file:///D:/TW02#MyTiddler00]]
>
> This is the path you get when you select "Permalink" from the tiddler menu.
>
> On Sunday, August 18, 2019 at 11:55:52 PM UTC+1, Mohamed Amin wrote:
>>
>> Dear All,
>>
>> I've tried to figure this out reading some old cases , but I failed (I 
>> just meet TW5 2 months ago), so I appreciate your support here.
>>
>> Suppose that I've 2 TW5 files (TW01 and TW02), I'm trying to put a link 
>> in "TW01" so when I click that link it should open the "TW02" file and show 
>> a Tiddler named "MyTiddler00", I've tried the following:-
>>
>>
>>1. If the "TW02" is hosted in a "http server", and I use the link = 
>>[[myLink|http://TW02/#MyTiddler00]] , the link is working perfect and 
>>the TW02 is opened with the correct Tiddler MyTiddler00
>>2. If the "TW02" is stored locally (i.e. in drive "D:"), and I use 
>>the link = [ext[myLink|D:/TW02/#MyTiddler00]] , Nothing is happened (No 
>>response)
>>3. If the "TW02" is stored locally (i.e. in drive "D:"), and I use 
>>the link = [ext[myLink|D:/TW02#MyTiddler00]] (removing the LAST forward 
>>slash before the "#" sign), the file "TW02" is open BUT with the 
>> "default" 
>>tiddler (ex. HelloThere)
>>
>>
>> So, did I miss something here?
>>
>> Thanks in Advance
>>
>

-- 
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/ca1b6656-a3f7-45b8-8fb3-aee2a83fb327%40googlegroups.com.


[tw5] Re: Link to a Tiddler in a "local" TiddlyWiki file

2019-08-20 Thread Mohamed Amin
Thanks a lot Tony for your reply/information,

So, in my case where I use only local file stored in my Hard disk (with 
Tiddly Desktop or directly in a Browser), I need to wait till this feature 
is implemented. is that correct?

On Monday, August 19, 2019 at 5:55:14 AM UTC+2, TonyM wrote:
>
> Mohammad,
>
> I too have a lot of links to other TiddlyWiki elements. Recently I was 
> thinking I would like to simplify this. 
>
> If you use a html link of the form 
> http://192.168.1.81/Instances/TW5Reference.html#Align%20Top%20middle%20bottom
> "  target="wikiname">Align Top middle bottom
> The link will always open in the same tab with the same target="wikiname"
>
>
> It would be nice if we could capture a link to a tiddler in another wiki 
> such as my example
>
> http://192.168.1.81/Instances/TW5Reference.html#Align%20Top%20middle%20bottom
>
> And automatically craft  a link by extracting from the above
>
>- The full path to the wiki 
>http://192.168.1.81/Instances/TW5Reference.html
>- The Wikis name TW5Reference and set the target to this name
>- The specific tiddlers name "Align Top middle bottom"
>- Then display the link as something like "TW5Reference:Align Top 
>middle bottom" (Much more readable)
>- That on click would open in the named tiddler in the named wiki with 
>in a target tab by the name of the wiki
>
> This would improve readability of the link in wiki text, always open 
> references to tiddlers in the same tab (unless you "open in new tab") 
> stopping a proliferation of tabs and reducing the chance that changes in 
> one tab will overwrite changes in another tab.
>
> I submitted an Issue in Github for this 
> https://github.com/Jermolene/TiddlyWiki5/issues/4183
>
> Regards
> Tony
>
> On Monday, August 19, 2019 at 8:55:52 AM UTC+10, Mohamed Amin wrote:
>>
>> Dear All,
>>
>> I've tried to figure this out reading some old cases , but I failed (I 
>> just meet TW5 2 months ago), so I appreciate your support here.
>>
>> Suppose that I've 2 TW5 files (TW01 and TW02), I'm trying to put a link 
>> in "TW01" so when I click that link it should open the "TW02" file and show 
>> a Tiddler named "MyTiddler00", I've tried the following:-
>>
>>
>>1. If the "TW02" is hosted in a "http server", and I use the link = 
>>[[myLink|http://TW02/#MyTiddler00]] , the link is working perfect and 
>>the TW02 is opened with the correct Tiddler MyTiddler00
>>2. If the "TW02" is stored locally (i.e. in drive "D:"), and I use 
>>the link = [ext[myLink|D:/TW02/#MyTiddler00]] , Nothing is happened (No 
>>response)
>>3. If the "TW02" is stored locally (i.e. in drive "D:"), and I use 
>>the link = [ext[myLink|D:/TW02#MyTiddler00]] (removing the LAST forward 
>>slash before the "#" sign), the file "TW02" is open BUT with the 
>> "default" 
>>tiddler (ex. HelloThere)
>>
>>
>> So, did I miss something here?
>>
>> Thanks in Advance
>>
>

-- 
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/069aa3f3-6f94-4a5c-8c66-5bcb23cddfb9%40googlegroups.com.


[tw5] Re: Link to a Tiddler in a "local" TiddlyWiki file

2019-08-19 Thread kat
If you are working in the browser I think you need to prepend "file:///" to 
the path.

For example:

[ext[myLink|file:///D:/TW02#MyTiddler00]]

This is the path you get when you select "Permalink" from the tiddler menu.

On Sunday, August 18, 2019 at 11:55:52 PM UTC+1, Mohamed Amin wrote:
>
> Dear All,
>
> I've tried to figure this out reading some old cases , but I failed (I 
> just meet TW5 2 months ago), so I appreciate your support here.
>
> Suppose that I've 2 TW5 files (TW01 and TW02), I'm trying to put a link in 
> "TW01" so when I click that link it should open the "TW02" file and show a 
> Tiddler named "MyTiddler00", I've tried the following:-
>
>
>1. If the "TW02" is hosted in a "http server", and I use the link = 
>[[myLink|http://TW02/#MyTiddler00]] , the link is working perfect and 
>the TW02 is opened with the correct Tiddler MyTiddler00
>2. If the "TW02" is stored locally (i.e. in drive "D:"), and I use the 
>link = [ext[myLink|D:/TW02/#MyTiddler00]] , Nothing is happened (No 
>response)
>3. If the "TW02" is stored locally (i.e. in drive "D:"), and I use the 
>link = [ext[myLink|D:/TW02#MyTiddler00]] (removing the LAST forward slash 
>before the "#" sign), the file "TW02" is open BUT with the "default" 
>tiddler (ex. HelloThere)
>
>
> So, did I miss something here?
>
> Thanks in Advance
>

-- 
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/46b5322a-2edc-4e15-b83c-74a60ae9d02a%40googlegroups.com.


[tw5] Re: Link to a Tiddler in a "local" TiddlyWiki file

2019-08-18 Thread TonyM
Mohammad,

I too have a lot of links to other TiddlyWiki elements. Recently I was 
thinking I would like to simplify this. 

If you use a html link of the form 
http://192.168.1.81/Instances/TW5Reference.html#Align%20Top%20middle%20bottom; 
 target="wikiname">Align Top middle bottom
The link will always open in the same tab with the same target="wikiname"


It would be nice if we could capture a link to a tiddler in another wiki 
such as my example
http://192.168.1.81/Instances/TW5Reference.html#Align%20Top%20middle%20bottom

And automatically craft  a link by extracting from the above

   - The full path to the wiki 
   http://192.168.1.81/Instances/TW5Reference.html
   - The Wikis name TW5Reference and set the target to this name
   - The specific tiddlers name "Align Top middle bottom"
   - Then display the link as something like "TW5Reference:Align Top middle 
   bottom" (Much more readable)
   - That on click would open in the named tiddler in the named wiki with 
   in a target tab by the name of the wiki

This would improve readability of the link in wiki text, always open 
references to tiddlers in the same tab (unless you "open in new tab") 
stopping a proliferation of tabs and reducing the chance that changes in 
one tab will overwrite changes in another tab.

I submitted an Issue in Github for this 
https://github.com/Jermolene/TiddlyWiki5/issues/4183

Regards
Tony

On Monday, August 19, 2019 at 8:55:52 AM UTC+10, Mohamed Amin wrote:
>
> Dear All,
>
> I've tried to figure this out reading some old cases , but I failed (I 
> just meet TW5 2 months ago), so I appreciate your support here.
>
> Suppose that I've 2 TW5 files (TW01 and TW02), I'm trying to put a link in 
> "TW01" so when I click that link it should open the "TW02" file and show a 
> Tiddler named "MyTiddler00", I've tried the following:-
>
>
>1. If the "TW02" is hosted in a "http server", and I use the link = 
>[[myLink|http://TW02/#MyTiddler00]] , the link is working perfect and 
>the TW02 is opened with the correct Tiddler MyTiddler00
>2. If the "TW02" is stored locally (i.e. in drive "D:"), and I use the 
>link = [ext[myLink|D:/TW02/#MyTiddler00]] , Nothing is happened (No 
>response)
>3. If the "TW02" is stored locally (i.e. in drive "D:"), and I use the 
>link = [ext[myLink|D:/TW02#MyTiddler00]] (removing the LAST forward slash 
>before the "#" sign), the file "TW02" is open BUT with the "default" 
>tiddler (ex. HelloThere)
>
>
> So, did I miss something here?
>
> Thanks in Advance
>

-- 
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/b7d5bf01-a4ae-4f14-8f25-b6db08ef321d%40googlegroups.com.