Decent Blogging using TWiki

Function: RenderBlogLinksInCategory

Render list of all BlogLinks of a given SubjectCategory

Parameters

Implementation

%STARTINCLUDE%
%~~ DBQUERY{"TopicType='BlogLink' AND SubjectCategory=~'\b%NAME%\b'"
~~~        separator="$n" hidenull="on"
~~~        header="| *%NAME% links* ||"
~~~        format="| [[$web.$topic][$formfield(Name)]] | $formfield(Headline) |"
~~~ }% 
%STOPINCLUDE%

Test

Calls to 'RenderBlogLinksInCategory'

TopicForm
TopicType: TopicFunction
TopicDescription: Render list of all BlogLinks of a given SubjectCategory
r1 - 2005-11-07 - 21:00:49 - TWikiContributor
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Atmel®, AVR® and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries.
All other trademarks are the property of their respective owners.