AVR32 Linux Developer Blog

Function: RenderBlogEntriesOfAuthor

Render all BlogEntries of a BlogAuthor as teaser.

Parameters

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

Implementation

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

Test

Michael Daum

Calls to 'RenderBlogEntriesOfAuthor'

TopicForm
TopicType: TopicFunction
TopicDescription: Render all BlogEntries of a BlogAuthor as teaser.
r1 - 2005-11-09 - 17:06:50 - 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.