[tw] Re: How do I list a collection of tiddlers by the creation date

2009-09-10 Thread Eric Shulman

 This lead me to creating this: list filter [tag[systemConfig]] [sort
 [created]] which means I don't need the FET plugin.  Cool.  Now, if
 there were a way to tag tiddlers linked from a particular tiddler, I'd
 be set.

Using InlineJavascriptPlugin:

script
   var tid=AParticularTiddler;
   var tag=tagToAdd;
   var links=store.getTiddler(tid).links;
   store.suspendNotifications();
   for (var i=0; ilinks.length; i++)
  if (store.tiddlerExists(links[i])
 store.setTiddlerTag(links[i],true,tag);
   store.resumeNotifications();
/script

enjoy,
-e

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: How do I list a collection of tiddlers by the creation date

2009-09-10 Thread M)

 Using InlineJavascriptPlugin:

 script
    var tid=AParticularTiddler;
    var tag=tagToAdd;
    var links=store.getTiddler(tid).links;
    store.suspendNotifications();
    for (var i=0; ilinks.length; i++)
       if (store.tiddlerExists(links[i])
          store.setTiddlerTag(links[i],true,tag);
    store.resumeNotifications();
 /script

Fantastic.  I'll be using this a number of times.  FYI, a ) was
missing and what follows works:

script
   var tid=AParticularTiddler;
   var tag=tagToAdd;
   var links=store.getTiddler(tid).links;
   store.suspendNotifications();
   for (var i=0; ilinks.length; i++)
  if (store.tiddlerExists(links[i]))
 store.setTiddlerTag(links[i],true,tag);
   store.resumeNotifications();
/script

I've tried

list filter [tag[systemConfig]] [sort[+created]]
list filter [tag[systemConfig]] [sort[-created]]
list filter [tag[systemConfig]] [sort[+modified]]
list filter [tag[systemConfig]] [sort[-modified]]

And the sorting isn't working.  Anyone know what I am doing wrong?
I'm using 2.5.0.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: How do I list a collection of tiddlers by the creation date

2009-09-10 Thread Eric Shulman

 list filter [tag[systemConfig]] [sort[+created]]
 list filter [tag[systemConfig]] [sort[-created]]
 list filter [tag[systemConfig]] [sort[+modified]]
 list filter [tag[systemConfig]] [sort[-modified]]
 And the sorting isn't working.  Anyone know what I am doing wrong?

The filter criteria must be one parameter, but you've got a space in
the middle, which makes the criteria [tag[systemConfig]] and leaves
[sort[...]] as an ignored parameter.  Either
   A) remove the space:
   list filter [tag[systemConfig]][sort[-modified]]
or
   B) enclose the criteria in quotes:
   list filter [tag[systemConfig]] [sort[-modified]]

enjoy,
-e


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: How do I list a collection of tiddlers by the creation date

2009-09-10 Thread M)

Ah.  Thanks.  I'll add this to tw.org.

M)


On Sep 10, 12:05 pm, Eric Shulman elsdes...@gmail.com wrote:
  list filter [tag[systemConfig]] [sort[+created]]
  list filter [tag[systemConfig]] [sort[-created]]
  list filter [tag[systemConfig]] [sort[+modified]]
  list filter [tag[systemConfig]] [sort[-modified]]
  And the sorting isn't working.  Anyone know what I am doing wrong?

 The filter criteria must be one parameter, but you've got a space in
 the middle, which makes the criteria [tag[systemConfig]] and leaves
 [sort[...]] as an ignored parameter.  Either
    A) remove the space:
    list filter [tag[systemConfig]][sort[-modified]]
 or
    B) enclose the criteria in quotes:
    list filter [tag[systemConfig]] [sort[-modified]]

 enjoy,
 -e
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: How do I list a collection of tiddlers by the creation date

2009-09-09 Thread M)

 If the tagging tag macro could be tweaked to tagging tag
 created or tagging tag modified so that the listing presents the
 date and is sorted by date, then I'd be off to the races.  Is there a
 way to do this?

I see if http://tiddlywiki.abego-software.de/#ForEachTiddlerPlugin is
used, then something like this can be used:
forEachTiddler where 'tiddler.tags.contains(systemConfig)' where
'tiddler.created' sortBy 'tiddler.created' descending   I now have
to figure the tweaking of existing tiddlers.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: How do I list a collection of tiddlers by the creation date

2009-09-09 Thread Alex Hough
You could try;


timeline created 0 ddd, -0MM-0DD


[1]http://tiddlywiki.org/wiki/Timeline_%28macro%29

ALex

[1]
http://groups.google.com/group/TiddlyWiki/browse_thread/thread/ae694362a7e3ec87#

2009/9/9 M) marc.bu...@gmail.com


  If the tagging tag macro could be tweaked to tagging tag
  created or tagging tag modified so that the listing presents the
  date and is sorted by date, then I'd be off to the races.  Is there a
  way to do this?

 I see if http://tiddlywiki.abego-software.de/#ForEachTiddlerPlugin is
 used, then something like this can be used:
 forEachTiddler where 'tiddler.tags.contains(systemConfig)' where
 'tiddler.created' sortBy 'tiddler.created' descending   I now have
 to figure the tweaking of existing tiddlers.
 



-- 
http://www.multiurl.com/g/64

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: How do I list a collection of tiddlers by the creation date

2009-09-09 Thread M)

 You could try;

 timeline created 0 ddd, -0MM-0DD

FYI, I want to create a timeline of selected tiddlers.

 [1]http://groups.google.com/group/TiddlyWiki/browse_thread/thread/ae6943...

This lead me to creating this: list filter [tag[systemConfig]] [sort
[created]] which means I don't need the FET plugin.  Cool.  Now, if
there were a way to tag tiddlers linked from a particular tiddler, I'd
be set.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---