Mario,
I think I am using the text variable wrong. . . (or I am not
understanding the usage)
also how do I limit the script to the desired section? (more than one
section in the tiddler)
<script show>
var text='!!!Section2';
match = text.match(/^[*|#]/im);
if (match != null) {
// matched text: match[0]
// match start: match.index
// capturing group n: match[n]
} else {
// Match attempt failed
return ('*No Items')
}
</script>
Missing something obvious. . .
Mike
On Apr 30, 9:27 am, Mike <[email protected]> wrote:
> Mario,
> Thanks for the feedback, might be a few days before I can wrap my head
> around the code, gotta full plate at home this week :D
>
> Tony,
> I am using the default web interface, and just this week Jonathon
> showed me how to change topics - so I am not changing the subject
> manualy, I do monitor twgg via RSS, and as far as I can tell this is a
> default behaviour. . .
> If you want we can start a new thread and experiment, maybe I am doing
> something out of the ordinary and do not realize it.
>
> Mike
>
> On Apr 29, 11:54 pm, Anthony Muscio <[email protected]> wrote:
>
>
>
> > Mike,
>
> > Personally I cant answer your question. Just let you know something I
> > observed.
>
> > FYI Have you noticed your replys in this forum have "Re: " in the title ?
>
> > I have all tiddlywiki posts sent to me by mail. Having exactly the same
> > subject keeps the thread of posts together. The inclusion of Re: in the
> > subject creates a new thread.
>
> > TonyM
>
> > If you have not found an easy way to do it with TiddlyWiki, you have missed
> > something.www.tiddlywiki.com
>
> > On Fri, Apr 30, 2010 at 02:34, Mike <[email protected]> wrote:
> > > Is that handled by a formatter?
>
> > > Mike
>
> > > On Apr 29, 12:06 am, Anthony Muscio <[email protected]> wrote:
> > > > A Thought !
>
> > > > Would the core code that deals with numbered lists;
>
> > > > #Item 1
> > > > #item 2
>
> > > > Already have some of this same behaviour already.
>
> > > > Eg;
> > > > !Sec1
> > > > #Item a
> > > > #item B
> > > > !Sec 2
> > > > #item c
> > > > #item d
>
> > > > Gives
> > > > Sec1
>
> > > > 1. Item a
> > > > 2. item B
>
> > > > Sec 2
>
> > > > 1. item c
> > > > 2. item d
>
> > > > So it must be counting and resetting each section !
>
> > > > Tony
>
> > > > TonyM
>
> > > > If you have not found an easy way to do it with TiddlyWiki, you have
> > > missed
> > > > something.www.tiddlywiki.com
>
> > > > On Thu, Apr 29, 2010 at 13:35, Mike <[email protected]> wrote:
> > > > > I would like to have a script that can identify if any *list (<li>)
> > > > > elements are present in a section, if not return *No Items, if so
> > > > > return nothing. . .
>
> > > > > !!!Section1
> > > > > *list
> > > > > *list
> > > > > !!!Section1
> > > > > *No Items
> > > > > @@display:none
> > > > > !!!End
> > > > > @@
> > > > > I am having a hard time figuring out how to identify if any *list
> > > > > (<li>) items are present between sections
>
> > > > > Thoughts or Guidance?
>
> > > > > Mike
>
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> > > Groups
> > > > > "TiddlyWiki" group.
> > > > > To post to this group, send email to [email protected].
> > > > > To unsubscribe from this group, send email to
> > > > > [email protected]<tiddlywiki%2bunsubscr...@googlegrou
> > > > > ps.com>
> > > <tiddlywiki%2bunsubscr...@googlegrou ps.com>
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/tiddlywiki?hl=en.
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > > > Groups
> > > "TiddlyWiki" group.
> > > > To post to this group, send email to [email protected].
> > > > To unsubscribe from this group, send email to
> > > [email protected]<tiddlywiki%2bunsubscr...@googlegrou
> > > ps.com>
> > > .
> > > > For more options, visit this group athttp://
> > > groups.google.com/group/tiddlywiki?hl=en.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "TiddlyWiki" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<tiddlywiki%2bunsubscr...@googlegrou
> > > ps.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/tiddlywiki?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "TiddlyWiki" 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
> > athttp://groups.google.com/group/tiddlywiki?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" 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
> athttp://groups.google.com/group/tiddlywiki?hl=en.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" 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/tiddlywiki?hl=en.