List Info

Thread: Re: FET filtering tiddlers w/ today's date as tag - howto?




Re: FET filtering tiddlers w/ today's date as tag - howto?
user name
2008-02-23 21:13:54
> - I see no difference in the result of the following
two calls
> (created 2 tiddlers):
>   <<list filter {{"[tag[logPart]]"}}
>>
>   <<list filter {{"[tag[logPart]]
[tag["+new
>
Date().formatString("YY-0MM-0DD")+"]]"}}
>>
>   both list all tiddlers w/ tag 'logPart'.

oops!  I left out a "+" preceding the second
occurence of 'tag'...
instead of:
   [tag[...]] it should read [+tag[...]]

The filter "[tag[foo]] [tag[bar]]" means
"tagged with foo OR bar"
while "[tag[foo]] [+tag[bar]]" means "tagged
with foo AND bar"

Thus, your filter should look like this:

{{"[tag[logPart]] [+tag["+new
Date().formatString("YY-0MM-0DD")+"]]"}}


> - is there an equivalent to the 'write' segment in FET
to influence
> formating? (don't like the itemized default, for
example)

The <<list>> macro always creates LI ("list
item") elements, which are
normally displayed with bullets.  However, you CAN style the
elements
to remove the bullets and indentation... in [[StyleSheet]],
define a
custom class:
   .nobullets li { list-style-type: none; margin-left:-2em;
}
then, wrap the <<list>> macro in that custom
class:
   {{nobullets{<<list filter ...>>}}}

enjoy,
-e

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


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )