Jeremy,

As you know from
http://groups.google.com/group/tiddlywiki/browse_frm/thread/b272acab87b70f51/4048693aabf15ca6#4048693aabf15ca6

I've been playing with the new parsing and rendering code you've
been working on.

One thing I've noticed that might be improved or changes is that
currently dependencies are managed as a simple list of link targets.
This means that when you query the dependencies of a single tiddler
you might get output like this:

[ 'TiddlySpace',
  'TiddlySpaceSockets',
  'https://github.com/cdent/tapas',
  'http://tiddlyspace.com/bags/tapas_extra/tiddlers/tiddlersocket.js',
  'https://github.com/cdent/tapas/issues',
  '@tapas',
  'TiddlySpaceSockets#d75673c75548023b8b8acf782a002b85' ]

(these are the dependencies from my http://cdent.tiddlyspace.com/tapas
tiddler)

We've got basically two types of links here: a wikilink or an
external link. I haven't inspected WikiTextRules in detail but I'm
guess there could be more and there might be others that result from
plugins, etc.

In my experiments I now need to branch on whether the link is a Wiki
link (free or camel) or something else to choose whether to pull an
additional tiddler into the store. Is this what you're
intending/expected, or is this an interim state of affairs?

The gravy train version of dependencies, for my use case, would be
something like this: A dictionary with keys representing types of
links and values that are the links themselves. The types would be
things like:

1 link to tiddler no text required
2 link to tiddler requiring text
3 url

I recognize this may be a bit outside the immediate remit, but if
you're still fleshing it out, there are some ideas.

For the time being I can still do what I need to do with stuff as
is.

--
Chris Dent                                   http://burningchrome.com/
                                [...]

--
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywikidev?hl=en.

Reply via email to