This is a stripped-down version of a single section of Grok TiddlyWiki, optimized for fast loading and readability by search engines. Some features are missing.

For the full Grok TiddlyWiki experience, please visit the wiki version of this page.


18th July 2020 at 3:14pm

Here's what I ended up with:

\define excerptify(title)
  <$wikify name=wikitext text={{$title$}}>
    <$text text={{{ [<wikitext>split[]first[200]join[]] }}} />...

\define linkDisplay(title, filterFragment)

<$list filter="[all[current]$filterFragment$]">
    <$link to=<<currentTiddler>>><<currentTiddler>></$link>: <$macrocall $name=excerptify title={{!!title}}/>

<<linkDisplay "Links" "links[]">>
<<linkDisplay "Backlinks" "backlinks[]">>

You might notice that if the first line is shorter than 200 characters, the lines are run together. This is a common issue with excerpting algorithms which you'll often see even on professional blogs and websites. While it's undoubtedly possible to fix, we won't get into the necessary machinations here; feel free to take it on as a challenge project if you like!

Go to question: Ex:LinkedTiddlerExcerpt