Hi James
You need to open your tiddlywiki with google chrome and press F12 to open
development tool.
You will be able to see 'Console' next to 'Elements' at the top.
Copy and paste that script into there.
Don't forget to change 'mytag' to the tag you want to count word.
Best wishes
CL
2015년 12월 7일 월요일 오후 2시 9분 10초 UTC+11, James 님의 말:
>
> Hi Jeremy,
>
> My question is where I need to paste this "var
> tag="mytag";r="";$tw.wiki.each(function(t){if(t.hasTag(tag)){r=r+"
> "+(t.fields.text||"")}});r.trim().replace(/\s+/gi," ").split(" ").length"
> script in my TW in order to use the word count. Thanks
>
>
> On Wednesday, 2 December 2015 22:48:28 UTC+8, Jeremy Ruston wrote:
>>
>> Hi James
>>
>> Any idea how to use this in TW5?
>>>
>>
>>
>>> Sorry for the stupid question. I am looking forward for a copy and
>>> paste solution. Thanks.
>>>
>>
>> The instructions that you linked to apply to TiddlyWiki5. Have you tried
>> those steps and encountered a problem, or are you looking for a different
>> solution?
>>
>> Best wishes
>>
>> Jeremy.
>>
>>
>>
>>
>>>
>>>
>>>
>>> On Wednesday, 4 March 2015 03:29:22 UTC+8, Jeremy Ruston wrote:
>>>>
>>>> Here's a quick and dirty hack to count the number of words in the
>>>> tiddlers with a particular tag in TiddlyWiki 5:
>>>>
>>>> https://gist.github.com/Jermolene/47f5607cbae2fb7a4376
>>>>
>>>> It counts the number of words in the raw text, not the wikified output.
>>>>
>>>> Best wishes
>>>>
>>>> Jeremy
>>>>
>>>> --
>>>> Jeremy Ruston
>>>> mailto:[email protected]
>>>>
>>>
>>
>>
>> --
>> Jeremy Ruston
>> mailto:[email protected]
>>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/f90f6361-8091-41a6-9173-9f69afa8c9d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.