fmt=#recentblog

include the first five blog entries and an edit link

[[#recentblog]]
(:template defaults order=-ctime list=blog count=3:)
(:template each:)
(:div0 class=blogpost:)
(:div1 class=post-title:)
%center%[[{=$PageUrl}("Permanent Link: {=$Titlespaced}")|{=$Titlespaced}]]%%
(:div1end:)
(:div1 class=blogpost-meta:)
(:template first {=$BlogDate2}:)%blogpost-date%{=$BlogDate}%%\\
(:template each:)
%blogpost-time%{=$BlogTimeOfDay}%%
(:div2 class=blogpost-commentlink:)
(:if exists PostComments.{=$Group}-{=$Name}:)[[{=$FullName}#comments| Show Comments]] ({PostComments.{=$Group}-{=$Name}$FoxPostCount})(:if:)
(:if !exists PostComments.{=$Group}-{=$Name}:)[[{=$FullName}?action=set#commentbox| Add Comment]](:if:)
(:div2end:)
(:div2 class=editlink:)
(:if auth edit:)[[Edit this entry -> {=$FullName}?action=edit]](:if:)
(:div2end:)
(:div2 class=blogpost-categories:)
Posted in (:listcategories comma {=$FullName}:)
(:div2end:)
(:div2 class='socialbookmarks':)
|| text-align=right
||[[http://del.icio.us/post?v=4&url=(:urlencode {=$PageUrl}:)&title=(:urlencode {$WikiTitle}:)+:+(:urlencode {=$Titlespaced}:) | Attach:Site/delicious.png"Save to del.icio.us"]]||[[http://ma.gnolia.com/beta/bookmarklet/add?url=(:urlencode {=$PageUrl}:)&title=(:urlencode {$WikiTitle}:)+:+(:urlencode {=$Titlespaced}:)&description=(:urlencode {=$Titlespaced}:) | Attach:Site/magnolia.png"Save to Ma.gnolia"]]||
(:div2end:)
(:div1end:)
(:div1 class=blogpost-content:)
(:include {=$FullName}##more:)
(:div1end:)
(:div0end:)
[[#recentblogend]]
(:pagelist fmt=#recentblog $:Blog=1:)

fmt=#blogdate

pagelist by blogdate

[[#blogdate]]
(:template defaults order=-ctime list=blog:)
(:template first:)
>>blogdatelist<<
(:template first {=$BlogDate2}:)%sidehead%{=$BlogDate}
(:template each:)
* {=$BlogTimeOfDay}: [[{=$FullName}|{=$Titlespaced}]]
(:template last:)
>><<
[[#blogdateend]]
(:pagelist fmt=#blogdate $:Blog=1:)

fmt=#blogarchive

pagelist by blogdate and only list pages with the same creation month as the name of the page i.e. 2006-02

[[#blogarchive]]
(:if equal {=$BlogMonth2} {*$Name}:)
* [[{=$FullName}|{=$Titlespaced}]]
(:if:)
[[#blogarchiveend]]

This one won't work unless the page you are using is something like 2006-02. But then you would use (:pagelist fmt=#blogarchive order=-ctime $:Blog=1 list=blog:)


fmt=#monthlist

pagelist of blog month archive links

[[#monthlist]]
(:template first {=$BlogMonth2}:)
* [[BlogArchive.{=$BlogMonth2}?action=browse|{=$BlogMonth3}]]
[[#monthlistend]]
(:pagelist $:Blog=1 fmt=#monthlist order=-ctime list=blog:)

fmt=#socialbookmarklist

pagelist used to add social bookmark list

[[#socialbookmarklist]]
>>socialbookmarks center<<
* [[http://del.icio.us/post?v=4&url={=$PageUrl}&title={$WikiTitlePlussed}+:+{=$Titleplussed} | Attach:Site/delicious.png"Save to del.icio.us"]]
* [[http://ma.gnolia.com/beta/bookmarklet/add?url={=$PageUrl}&title={$WikiTitlePlussed}+:+{=$Titleplussed}&description={=$Titleplussed} | Attach:Site/magnolia.png"Save to Ma.gnolia"]]
>><<
[[#socialbookmarklistend]]

fmt=#previousposts

pagelist by blogdate, just dates and titles

[[#previousposts]]
(:template defaults order=-ctime list=blog count=2..6:)
(:template first:)
>>previous-posts<<
(:template each:)
*[[{=$FullName}|{=$Titlespaced}\\
%pdate%{=$BlogTimeOfDay}, {=$BlogDate}%%]]
(:template last:)
>><<
[[#previouspostsend]]
(:pagelist $:Blog=1 fmt=#previousposts:)

[[#currentpost]]
(:template defaults order=-ctime list=blog count=1:)
(:template each:)
(:div0 class=blogpost:)
(:if auth edit:)%post-edit-link%[[Edit this entry -> {=$FullName}?action=edit]]%%(:if:)%post-title%[[{=$PageUrl}("Permanent Link: {=$Titlespaced}")|{=$Titlespaced}]]%%\\
%post-comment-link%(:if exists PostComments.{=$Group}-{=$Name}:)[[{=$FullName}#comments| Show Comments]] ({PostComments.{=$Group}-{=$Name}$FoxPostCount})(:if !exists PostComments.{=$Group}-{=$Name}:)[[{=$FullName}?action=set#commentbox| Add Comment]](:if:)%post-date%{=$BlogDate}%%, %post-time%{=$BlogTimeOfDay}%%
(:div1 class=post-content:)
(:include {=$FullName}##more:)
(:div1end:)
(:div1 class=post-categories:)
Posted in (:listcategories comma {=$FullName}:)
(:div1end:)
(:div1 class='social-bookmarks':)
|| text-align=right
||[[http://del.icio.us/post?v=4&url=(:urlencode {=$PageUrl}:)&title=(:urlencode {$WikiTitle}:)+:+(:urlencode {=$Titlespaced}:) | Attach:Site/delicious.png"Save to del.icio.us"]]||[[http://ma.gnolia.com/beta/bookmarklet/add?url=(:urlencode {=$PageUrl}:)&title=(:urlencode {$WikiTitle}:)+:+(:urlencode {=$Titlespaced}:)&description=(:urlencode {=$Titlespaced}:) | Attach:Site/magnolia.png"Save to Ma.gnolia"]]||
(:div1end:)
(:div0end:)
[[#recentblog2end]]
(:pagelist fmt=#currentpost $:Blog=1:)

This page last modified September 12, 2007, at 04:37 PM. Josquin.us is powered by pmwiki-2.2.134.