Hello,

someone able for a testcase, car I get an error by applying the code of 
Eric ...

Best Regards

Am Dienstag, 28. Februar 2012 13:04:02 UTC+1 schrieb magev958:
>
> Hi, a long time ago I got some help with the code to get a one line of 
> the tiddler content in an FET-list - 
>
> http://groups.google.com/group/tiddlywiki/browse_frm/thread/72450492805721f0?hl=en&tvc=1
>  
>
> <<forEachTiddler 
>  where 
>  'tiddler.tags.contains("information")' 
>  sortBy 
>  'store.getValue(tiddler,"created")' 
>  descending 
>  script 
>  ' 
>  function getFirstLine(s) { 
>  var m = s.match(/\s*(.*)/); 
>  return m != null && m.length >= 1 ? m[1] : ""; 
>  } 
>  ' write 
>  '(index < 5) ? "[["+tiddler.title+"]] - "+tiddler.creator+" - 
> "+tiddler.created+" - "+getFirstLine(tiddler.text)+"\n" : ""'>> 
>
> My question this time is if I can get different formating depending on 
> tag? For example if I have "priority1", "priority2", "priority3", can 
> I get "priority2" with a red border and "priority3" with a yellow 
> background? 
>
> Thanks in advance/

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/HuqxbvuOPngJ.
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.

Reply via email to