| View previous topic :: View next topic |
| Author |
Message |
kunicki
Joined: 17 Oct 2007 Posts: 59 :
Items
|
Posted: Wed Oct 17, 2007 7:03 pm Post subject: CLOSED :: Link to another collection |
|
|
I currently have 3 collections for very unrelated information. However, I'd like to make possible to link between collections. So, for example when blade wiki starts i can see a list of all my collections and click on the one I want.
It may also be helpful to cross-link pages between collections.
Is this possible? |
|
| Back to top |
|
 |
dalelane Site Admin

Joined: 26 Sep 2007 Posts: 334 :
Items
|
Posted: Wed Oct 17, 2007 8:25 pm Post subject: |
|
|
not sure... maybe.
wanna suggest a syntax? |
|
| Back to top |
|
 |
kunicki
Joined: 17 Oct 2007 Posts: 59 :
Items
|
Posted: Thu Oct 18, 2007 10:50 am Post subject: Syntax |
|
|
Good question. I guess some type of tag to indicate a collection change and then a tag for the specific page. Maybe something similar to:
[[@Collection Name#Page][Alternative Text]] |
|
| Back to top |
|
 |
dalelane Site Admin

Joined: 26 Sep 2007 Posts: 334 :
Items
|
Posted: Thu Oct 18, 2007 11:00 am Post subject: |
|
|
when you say "Collection Name", do you mean the path to the wiki location? If so - how do we handle syncing this between desktop and mobile - where the paths will likely be different.
For example, I have several wikis on my desktop, including:
- C:\Documents and Settings\Administrator\My Documents\Ameo My Documents\WM_Wiki_Pages\
- C:\Documents and Settings\Administrator\My Documents\My Personal\My WM Wikis\WPS\
- C:\Documents and Settings\Administrator\My Documents\My Personal\My WM Wikis\Solent Youth Action\
- H:\Shared\TeamWiki\
which sync to the following folders on the mobile:
- \My Documents\WM_Wiki_Pages\
- \MicroDrive\Wikis\WPS\
- \MicroDrive\Wikis\Solent Youth Action\
- \MicroDrive\Wikis\WPS Team\
How could a link syntax accommodate the fact that another wiki could live anywhere?
(Don't get me wrong... I'm not trying to be awkward. I like the idea, and would have done it months ago, but I never worked out a decent answer to this question.) |
|
| Back to top |
|
 |
kunicki
Joined: 17 Oct 2007 Posts: 59 :
Items
|
Posted: Sat Oct 20, 2007 5:39 am Post subject: |
|
|
This is a good question. Yes, I guess I made up the word "colllection" sorry. I do mean a wiki location. I guess here is one way you could approach it. Maybe it is time to add a "settings" file to a wiki location.
This is a good question. Yes, I guess I made up the word "colllection" sorry. I do mean a wiki location. I guess here is one way you could approach it. Maybe it is time to add a "settings" file to a wiki location.
1) When a new location is created, a homepage.txt and a settings . ini file is created. The settings . ini file is never show in the wiki, but is a place to store wiki related information that can then be synchronized.
Settings . ini might have something like a line:
| Code: | | WikiName=My GTD Projects List |
So with that information in had, everytime the PPC or PC starts, it opens each settings . ini file an creates an internal array of wiki names that then will respond to links.
Or another option is store a hidden variable in the homepage file, example: @@My Wiki@@
Sorry for the boring detail, but that is what I thought might be a simple solution.
Chris
P.S. I am the one that contacted you about the Mac Version
P.S.S. Sorry for the wacky setting . ini reference, but the forums software would not accept it as one word. Complained I was creating a hyperlink. |
|
| Back to top |
|
 |
chasedeluca

Joined: 11 Oct 2007 Posts: 90 : Location: Los Angeles, California, USA
Items
|
Posted: Sun Oct 21, 2007 4:39 am Post subject: |
|
|
Sounds like we're creating a library, a la NoteStudio!
I think you would want to make the list of "locations" a little more formal. Right now, it's kinda like a history list. Instead, make the user "add a wiki collection" and "assign the wiki a unique name," then store that information in the preferences.txt file that you've got in appdata.
Then, you could use the same wiki syntax as notestudio:
| Code: | | [[WikiName|PageName][FriendlyName]] |
The problem I see, is, this wouldn't be immediately backwards-compatible for some users. Forgive me if I don't shed any tears. |
|
| Back to top |
|
 |
sabre23t

Joined: 06 Nov 2007 Posts: 89 : Location: Klang, Malaysia
Items
|
Posted: Mon Nov 12, 2007 7:34 am Post subject: |
|
|
| chasedeluca wrote: | Sounds like we're creating a library, a la NoteStudio!
... make the user "add a wiki collection" and "assign the wiki a unique name," then store that information in the preferences.txt file that you've got in appdata ... same wiki syntax as notestudio |
I'll echo this suggestion of defining a "collection" (library) of "wiki locations" (books).
In Volker Kurz GtD templates for NoteStudio (NS), he used five wiki books in NS; (i) GTD, (ii) Jour, (iii) Arch, (iv) Ref & (v) People.
In my implementation of VK's GtD templates in bLADE Wiki, I've conflated the GTD and Ref books into one Wiki Location. I don't need the Jour book (I use WM's Calendar) and Arch book (bLADE wiki has archiving) .
However, I really see making the People a separate book (or "wiki location") would make sense to ensure I don't accidentally publish a page about a person that should remain in a wiki only on my device. Now, I just need a simple way of linking to that separate wiki location from my main GTD wiki location.
NS's wiki syntax to refer to separate book is okay with me ...
| Code: | | [[WikiName|PageName][FriendlyName]] |
Our mobile and desktop have separate bLADE Wiki "preferences.txt" that can store something like the following ...
| Code: | [Locations]
WM_GTD=\My Documents\WM_GTD\
WM_Wiki_Pages=My Documents\WM_Wiki_Pages\ |
| Code: | [Locations]
WM_GTD=C:\Documents and Settings\sabre23t\My Documents\S_TyTN_II My Documents\WM_GTD\
WM_Wiki_Pages=C:\Documents and Settings\sabre23t\My Documents\S_TyTN_II My Documents\WM_Wiki_Pages\ |
Then the same wiki markup such as [[WM_GTD|homepage] [MyGTDHomePage]] will refer to appropriate locations on both mobile and desktop.  |
|
| Back to top |
|
 |
dalelane Site Admin

Joined: 26 Sep 2007 Posts: 334 :
Items
|
Posted: Fri Jan 18, 2008 1:24 am Post subject: |
|
|
done in 2.23.0
the first time you click on a link using either:
| Code: | | [Short Wiki Name|Page Name] | or | Code: | | [[Short Wiki Name|Page Name][Friendly Link Label]] |
you will be prompted to pair 'Short Wiki Name' with one of your wiki locations.
As highlighted in previous posts here, as long as you keep the 'Short Wiki Name' consistent between mobile and desktop, then everything should sync okay. You just pair the short wiki names to a different actual directory location on each platform.
I still need to add a form to let you modify these pairings if you change your mind, but that can wait for another evening. [/code] |
|
| Back to top |
|
 |
algotrix
Joined: 07 Jan 2008 Posts: 13 :
Items
|
Posted: Fri Jan 18, 2008 3:11 am Post subject: |
|
|
| Thanks!!!! Dale!!!!!!!!!!!!!!! |
|
| Back to top |
|
 |
sabre23t

Joined: 06 Nov 2007 Posts: 89 : Location: Klang, Malaysia
Items
|
Posted: Fri Jan 18, 2008 4:10 am Post subject: |
|
|
Thanks Dale.
I now have the following locations working ...
| Code: | [GTD|homepage]
[WP|homepage]
[SD|homepage]
| ... paired to the following locations in preferences.txt ... | Code: | [Locations]
GTD*C:\My Documents\S_TyTN_II My Documents\WM_GTD\
WP*C:\My Documents\S_TyTN_II My Documents\WM_Wiki_Pages\
SD*C:\My Documents\WM_Storage_Card\ |
Some comments ...
(1) I find that we can pair multiple shortnames to the same Location while running. However, bLADE will only store one of the shortname pairs when we exit.
(2) I wish for the image tag [$picture.jpg$] to work with wiki shortnames. Unfortunately both the following possible markups didn't work ... | Code: | [SD|$big-picture.jpg$]
[$SD|big-picture.jpg$] | ... I suspect the second markup would be the choice if it works, right? |
|
| Back to top |
|
 |
kunicki
Joined: 17 Oct 2007 Posts: 59 :
Items
|
Posted: Fri Jan 18, 2008 7:40 am Post subject: |
|
|
Wow, now we are just missing the kitchen sink
Much thanks! |
|
| Back to top |
|
 |
sabre23t

Joined: 06 Nov 2007 Posts: 89 : Location: Klang, Malaysia
Items
|
Posted: Fri Jan 18, 2008 10:16 am Post subject: |
|
|
| kunicki wrote: | Wow, now we are just missing the kitchen sink
Much thanks! |
Just in case it wasn't obvious, I'm as appreciative for this "kitchen sink" feature as kunicki, or more.  |
|
| Back to top |
|
 |
dalelane Site Admin

Joined: 26 Sep 2007 Posts: 334 :
Items
|
Posted: Fri Jan 18, 2008 11:53 am Post subject: |
|
|
you're very welcome.
as always, i'm just sorry that it takes so long! you guys think of features faster than I get time to code them  |
|
| Back to top |
|
 |
chasedeluca

Joined: 11 Oct 2007 Posts: 90 : Location: Los Angeles, California, USA
Items
|
Posted: Sun Jan 20, 2008 2:18 am Post subject: |
|
|
Bug?
When I link to another location, I can't hit the "back" button to get back to where I came from in the previous location.
Also, the prompt window doesn't have a cancel button of any kind. Not a BIG deal, but in case I misspelled something, and only notice it at the prompt, and want to cancel the pairing... |
|
| Back to top |
|
 |
dalelane Site Admin

Joined: 26 Sep 2007 Posts: 334 :
Items
|
Posted: Sun Jan 27, 2008 3:08 am Post subject: |
|
|
| chasedeluca wrote: | Bug?
When I link to another location, I can't hit the "back" button to get back to where I came from in the previous location. |
interesting... NoteStudio users might remember that NS had the same limitation.
the reason why my wiki has it is because the stack of strings used to store the page history is a stack of page names. a history of locations isn't stored.
I wonder if that's why NS couldn't go 'Back' across wiki changes... |
|
| Back to top |
|
 |
26th Oct 09 - For urgent error, please post at our FaceBook group. Support platform will be back within 1-2 days.
|
|