>> How do we handle the importing of Tiddlers with the same Title?

I have not looked at the twederation code but here's my 2 pfennings

The easiest way to do this without dependencies would be to do the following
1. The importing TiddlyWiki would assign a GUID (guid_tw_path) to the path 
to the tiddler from which the new tiddler is being imported
2. The importing TiddlyWiki would assign a GUID (guid_tw_tiddler) to the 
tiddler being imported
3. The importing TiddlyWiki creates a new tiddler that shadows the external 
tiddler (and copies its contents so it doesn't have to be imported every 
time?)
    a. Assigns guid_tw_path    to the field    "guid_tw_path"
    b. Assigns guid_tw_tiddler to the field     "title"
    c. Assigns the foreign tiddler's title to a field called 
"twederation_title"
    d. Alter the view template to display both title and  twederation_title 
with twederation_title emphasized if it exists

This way you have the following
1. A copy of the external tiddler available for offline use
2. A unique link from your TW to the foreign TW (GUID 1)
3. A unique Id for the foreign tiddler (GUID 2)
4. A unique id for the path from the local content to be able to refresh 
from the foreign TW (GUID1 + 2)
5. If the foreign TW renames the tiddler or edits it beyond recognition, 
local fallback content
6. The ability to cache or provide history for foreign changes etc. as an 
add on for controlling your content

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/3f27ea69-8757-494d-9232-d95f2ee11298%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to