Difference between revisions of "HypertWiki:Code/lib/data"

From HypertWiki
Jump to navigation Jump to search
(adding func ShowBlogPost (to be tested))
(removed "hide" inside func and used "echo" to display stuff; hope this works)
Line 98: Line 98:


<func ShowBlogPost>
<func ShowBlogPost>
  <hide>
   <let name=PostDate copy=data[TimeStamp] len=10 />
   <let name=PostDate copy=data[TimeStamp] len=10 />
   <let name=wtDate>[[</let>
   <let name=wtDate>[[</let>
Line 183: Line 182:
     <let name=wtUser>''unknown''</let>
     <let name=wtUser>''unknown''</let>
   </else>
   </else>
   </hide>__NOEDITSECTION__
   <echo>__NOEDITSECTION__
==Specs==
==Specs==
{|  
{|  
Line 196: Line 195:
|}
|}
<get name=wtTitle />
<get name=wtTitle />
<get name=data index=Text /><get name=wtTextBrief /><get name=wtTextFull />
<get name=data index=Text /><get name=wtTextBrief /><get name=wtTextFull /></echo>
</func>
</func>


</hide>
</hide>

Revision as of 14:09, 14 February 2009