AVR32 Linux Developer Blog

Function: RenderBlogEntriesInCategory

Renders a set of BlogEntry teasers in a SubjectCategory

Parameters

  • NAME: name of a SubjectCategory
  • LIMIT: number of postings per page
  • SKIP: offset into the archive

Implementation

%STARTINCLUDE%
*~~
<h1 style="margin-bottom:0px;padding-bottom:0px">%NAME%</h1>
<div class="blogArchiveDescription">
  %DBQUERY{topics="%NAME%" format="$expand(TopicDescription)"}% 
</div>
%~~ DBCALL{"RenderFrontPage" 
~~~   %IFDEFINED{"%SKIP%" then="SKIP=\"%SKIP%\"" glue="off"}%  
~~~   %IFDEFINED{"%LIMIT%" then="LIMIT=\"%LIMIT%\"" glue="off"}%  
~~~   CAT="%NAME%"
~~~ }%
*~~ 
%STOPINCLUDE%

Test

BlogDev

Development information about blogging on the AVR32 Linux project.

Calls to 'RenderBlogEntriesInCategory'

TopicForm
TopicType: TopicFunction
TopicDescription: Renders a set of BlogEntry teasers in a SubjectCategory
r1 - 2005-11-09 - 17:06:20 - 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.