Author: MichaelDaum
Date: 2006-03-01 09:06:15 -0800 (Wed, 01 Mar 2006)
New Revision: 9021
Removed:
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogSideBar.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderArchiveLink.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogEntriesInSpan.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderCategoriesInSpan.txt
Modified:
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/TWiki/BlogPlugin.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogAbout.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogArchive.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogEntry.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogEntry0.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogEntryForm.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogHelpText.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderArchives.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderAuthorTools.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogAuthorSwitch.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogEntriesInCategory.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogEntriesOfAuthor.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogEntry.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogLink.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogPage.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogTeaser.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderCategories.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderFrontPage.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderFullTeaser.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderNewTWikiTopicButton.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderPageNavigation.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderRecentPostings.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderSideBar.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderWebChanges.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/TestBlogEntry0.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/WebChanges.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/WebHome.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/WebNotify.txt
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/lib/TWiki/Plugins/BlogPlugin/DEPENDENCIES
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/lib/TWiki/Plugins/BlogPlugin/MANIFEST
twiki/branches/DEVELOP/twikiplugins/BlogPlugin/pub/TWiki/BlogPlugin/style.css
Log:
Item840:
* grand rework of the BlogArchive
* added BlogTags for BlogEntries
* added dependency on TagCloudPlugin
* added rel="tag" to links to tags and categories to make technorati happy
* reworked category and archive in sidebar using the new DBSTATS tag of the
* recent DBCachePlugin resulting in a drastic speed improvement on the front pages
* removed unused TopicFunctions
released as v0.60
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/TWiki/BlogPlugin.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/TWiki/BlogPlugin.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/TWiki/BlogPlugin.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -202,8 +202,15 @@
| Plugin Author: | TWiki:Main.MichaelDaum |
| Copyright ©: | 2006, Michael Daum |
| License: | GPL ([[http://www.gnu.org/copyleft/gpl.html][GNU General Public License]]) |
-| Version: | v0.52 |
+| Version: | v0.60 |
| Change History: | <!-- versions below in reverse order --> |
+| 01 Mar 2006: | grand rework of the <nop>BlogArchive; \
+ added <nop>BlogTags for <nop>BlogEntries; \
+ added dependency on <nop>TagCloudPlugin; \
+ added rel="tag" to links to tags and categories to make technorati happy; \
+ reworked category and archive in sidebar using the new DBSTATS tag of the \
+ recent <nop>DBCachePlugin resulting in a drastic speed improvement on the front pages; \
+ removed unused <nop>TopicFunctions |
| 22 Feb 2006: | tighter control of alias substitution; \
removed % in RenderBlogEntryButton; |
| 21 Feb 2006: | removed dependency on the <nop>NatSkin; \
@@ -262,10 +269,11 @@
TWiki:Plugins/HeadlinesPlugin, \
TWiki:Plugins/IfDefinedPlugin, \
TWiki:Plugins/RedDotPlugin, \
-TWiki:Plugins/SpreadSheetPlugin \
+TWiki:Plugins/SpreadSheetPlugin, \
+TWiki:Plugins/TagCloudPlugin, \
TWiki:Plugins/TimeSincePlugin, \
TWiki:Plugins/TwistyPlugin, \
-TWiki:Plugins/UserInfoPlugin (optional), \
+TWiki:Plugins/UserInfoPlugin (optional) \
|
| Perl Version: | 5.8 |
| [[TWiki:Plugins/Benchmark][Benchmarks]]: | %TWIKIWEB%.GoodStyle nn%, %TWIKIWEB%.FormattedSearch nn%, %TOPIC% nn% |
@@ -273,4 +281,4 @@
| Feedback: | TWiki:Plugins/%TOPIC%Dev |
| Appraisal: | TWiki:Plugins/%TOPIC%Appraisal |
--- TWiki:Main.MichaelDaum - 21 Feb 2006
+-- TWiki:Main.MichaelDaum - 01 Mar 2006
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogAbout.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogAbout.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogAbout.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -1,20 +1,18 @@
%META:TOPICINFO{author="TWikiContributor" date="1134754113" format="1.1" version="1.1"}%
%META:TOPICPARENT{name="AdminTool"}%
----++ About
----+++ About the author
+---++ About the author
<!-- note: this section is included in the about section in the sidebar of the front page -->
%STARTINCLUDE%
-%RED%TODO%ENDCOLOR%
+%RED%TODO: Edit the [[%WEB%.%TOPIC%][%TOPIC%]] page. %ENDCOLOR%
%STOPINCLUDE%
----+++ About this site
+---++ About this site
%RED%TODO%ENDCOLOR%
----++ Subscription
----+++ News Feeds
+---++ News Feeds
%DBCALL{"WebSyndication"}%
----+++ Email Notification
+---++ Email Notification
This blog offers a subscription service to be automatically notified by e-mail
when topics change in this blog. This is a convenient service, so you do not
have to come back and check all the time if something has changed. To
@@ -36,12 +34,17 @@
</style>
<!--
- * Set PAGETITLE = About the %WIKITOOLNAME% blog
* Set ALLOWTOPICCHANGE = %MAINWEB%.BlogAdminGroup
- * Set STYLESIDEBAR = off
- * Set SIDEBAR = Nosidebar
+ * #Set STYLESIDEBAR = off
+ * Set SIDEBAR = Page
+ * Set WEBBUTTONSCLASS_ABOUT = current
-->
-%META:FORM{name="TopicForm"}%
-%META:FIELD{name="TopicType" attributes="M" title="TopicType" value="TWikiTopic"}%
-%META:FIELD{name="TopicDescription" attributes="M" title="TopicDescription" value="This blog's about page"}%
+%META:FORM{name="BlogPageForm"}%
+%META:FIELD{name="TopicType" attributes="M" title="TopicType" value="BlogPage"}%
+%META:FIELD{name="BlogAuthor" attributes="M" title="BlogAuthor" value="MichaelDaum"}%
+%META:FIELD{name="Date" attributes="M" title="Date" value="15 Feb 2006 - 17:02"}%
+%META:FIELD{name="Headline" attributes="M" title="Headline" value="About the %25WIKITOOLNAME%25 Blog"}%
+%META:FIELD{name="SubjectCategory" attributes="" title="SubjectCategory" value=""}%
+%META:FIELD{name="Related" attributes="" title="Related" value="BlogPage0"}%
+%META:FIELD{name="State" attributes="" title="State" value="enabled"}%
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogArchive.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogArchive.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogArchive.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -1,25 +1,328 @@
-%META:TOPICINFO{author="TWikiContributor" date="1139334691" format="1.1" version="1.1"}%
+%META:TOPICINFO{author="TWikiContributor" date="1141073901" format="1.1" version="1.1"}%
%META:TOPICPARENT{name="AdminTool"}%
+<div class="blogArchiveModes">
+<span class="blogArchiveMode blogArchiveModeChron">
+~~~ <a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?mode=chron"
+~~~ title="Browse the Archive in Chronological Order"
+~~~ class="%CALC{"$IF($EXACT(%URLPARAM{"mode" default="chron"}%,chron),$SET(CHRON_MODE,on)current)"}%">
+*~~ Chron
+*~~ </a>
+</span>
+<span class="blogArchiveMode blogArchiveModeCat">
+~~~ <a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?mode=cat"
+~~~ title="Browse the Archive by Category"
+~~~ class="%CALC{"$IF($EXACT(%URLPARAM{"mode"}%,cat),$SET(CAT_MODE,on)current)"}%">Cat</a>
+</span>
+<span class="blogArchiveMode blogArchiveModeTag">
+~~~ <a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?mode=tag"
+~~~ title="Browse the Archive by Tag"
+~~~ class="%CALC{"$IF($EXACT(%URLPARAM{"mode"}%,tag),$SET(TAG_MODE,on)current)"}%">Tag</a>
+</span>
+<span class="blogArchiveMode blogArchiveModeLex">
+~~~ <a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?mode=lex"
+~~~ title="Browse the Archive by Lexical Analysis"
+~~~ class="%CALC{"$IF($EXACT(%URLPARAM{"mode"}%,lex),$SET(LEX_MODE,on)current)"}%">Lex</a>
+</span>
+</div>
+
+%STOPALIASAREA%
+%IFDEFINEDTHEN{"%CALC{"$GET(CAT_MODE)"}%"}%
+
+%~~ $nopTAGCLOUD{"
+%~~ $nopDBQUERY{"TopicType=~'\bBlogEntry\b' AND State='enabled'"
+~~~ format="$formfield(SubjectCategory)" separator=", "
+~~~ }%"
+~~~ buckets="30"
+~~~ offset="9"
+~~~ split="[,\s]+"
+~~~ header="<div class=\"blogArchiveTagCloud\">"
+~~~ format="<span style=\"font-size:$weightpx;line-height:90%;margin:0;padding:0;\">
+~~~ <a href=\"%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?mode=cat;search=$term\"
+~~~ title=\"$count\"
+~~~ style=\"color:$fadeRGB(124,164,204,0,102,204);\"
+~~~ class=\"$percntCALC{\"$IF($EXACT(%$nopURLPARAM{"search"}%,$term),current)\"}$percnt\"
+~~~ >$term</a></span>"
+~~~ footer="</div>"
+~~~ }%
+
+%$nopIFDEFINEDTHEN{"%URLPARAM{"search"}%"}%
+<div class="blogArchiveHitList">
+<a name="hits"></a>
<noautolink>
----+ %IF{"defined cat and $ cat != '.*'" then="%URLPARAM{"cat"}%"}%
-~~~ Archive
-~~~ %IF{"defined title" then="%URLPARAM{"title"}%"}%
+%~~ $nopDBQUERY{"TopicType=~'\bBlogEntry\b' AND State='enabled'
+~~~ %$nopIFDEFINED{"%$nopURLPARAM{"search"}%" then="AND SubjectCategory=~'\b%$nopURLPARAM{"search"}%'" glue="off"}%
+~~~ "
+~~~ %$nopIFDEFINED{"%$nopURLPARAM{"skip"}%" then="skip=\"%$nopURLPARAM{"skip"}%\""}%
+~~~ limit="15"
+~~~ order="created" reverse="on"
+~~~ hidenull="on"
+~~~ header="<div style=\"text-align:center;padding:2em;\"><table border=\"0\">"
+~~~ format="<tr>
+~~~ <td style=\"padding-left:1em;\" align=\"right\"> $index </td>
+~~~ <td style=\"padding-left:1em;\" align=\"right\"> <nobr>$formatTime(createdate,'$day $mon $year')</nobr> </td>
+~~~ <td style=\"padding-left:1em;\" align=\"left\" width=\"100%\"> [[$web.$topic][$formfield(Headline)]]$percntREDDOT{\"$web.$topic\"}$percnt
+~~~ $percntCOUNTCOMMENTS{\"$web.$topic\" hidenull=\"on\" format=\"($dollarcount)\"}$percnt </td>
+~~~ </tr>"
+~~~ footer="</table>$percnt$nopDBCALL{\"RenderPageNavigation\"
+~~~ SKIP=\"%$nopURLPARAM{"skip" default=" 0"}%\"
+~~~ MAX=\"$count\"
+~~~ LIMIT=\"15\"
+~~~ PARAMS=\"
+*~~ mode=%$nopURLPARAM{"mode" default="cat"}%;
+*~~ search=%$nopURLPARAM{"search" default=".*"}%
+*~~ \"
+~~~ }$percnt</div>"
+~~~ }%
</noautolink>
+</div>
+%$nopFIDEFINED%
-%~~ DBCALL{"RenderBlogEntriesInSpan"
-~~~ FROM="%IFDEFINED{"%URLPARAM{"from"}%" then="%URLPARAM{"from"}%" else="1"}%"
-~~~ TO="%IFDEFINED{"%URLPARAM{"to"}%" then="%URLPARAM{"to"}%" else="9999999999"}%"
-~~~ CAT="%URLPARAM{"cat" default=".*"}%"
+%ELSIFDEFINED{"%CALC{"$GET(TAG_MODE)"}%"}%
+
+%~~ $nopTAGCLOUD{"
+%~~ $nopDBQUERY{"TopicType=~'\bBlogEntry\b' AND State='enabled'"
+~~~ format="$formfield(BlogTag)" separator=", "
+~~~ }%"
+~~~ buckets="40"
+~~~ offset="9"
+~~~ split="[,\s]+"
+~~~ header="<div class=\"blogArchiveTagCloud\">"
+~~~ format="<span style=\"font-size:$weightpx;line-height:90%;margin:0;padding:0;\">
+~~~ <a href=\"%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?mode=tag;search=$term\"
+~~~ title=\"$count\"
+~~~ style=\"color:$fadeRGB(124,164,204,0,102,204);\"
+~~~ class=\"$percntCALC{\"$IF($EXACT(%$nopURLPARAM{"search"}%,$term),current)\"}$percnt\"
+~~~ >$term</a></span>"
+~~~ footer="</div>"
~~~ }%
-%IFDEFINEDTHEN{"%URLPARAM{"cat"}%"}%
+%$nopIFDEFINEDTHEN{"%URLPARAM{"search"}%"}%
+<div class="blogArchiveHitList">
+<a name="hits"></a>
+<noautolink>
+%~~ $nopDBQUERY{"TopicType=~'\bBlogEntry\b' AND State='enabled'
+~~~ %$nopIFDEFINED{"%$nopURLPARAM{"search"}%" then="AND BlogTag=~'\b%$nopURLPARAM{"search"}%'" glue="off"}%
+~~~ "
+~~~ %$nopIFDEFINED{"%$nopURLPARAM{"skip"}%" then="skip=\"%$nopURLPARAM{"skip"}%\""}%
+~~~ limit="15"
+~~~ order="created" reverse="on"
+~~~ hidenull="on"
+~~~ header="<div style=\"text-align:center;padding:2em;\"><table>"
+~~~ format="<tr>
+~~~ <td style=\"padding-left:1em;\" align=\"right\"> $index </td>
+~~~ <td style=\"padding-left:1em;\" align=\"right\"> <nobr>$formatTime(createdate,'$day $mon $year')</nobr> </td>
+~~~ <td style=\"padding-left:1em;\" align=\"left\" width=\"100%\"> [[$web.$topic][$formfield(Headline)]]$percntREDDOT{\"$web.$topic\"}$percnt
+~~~ $percntCOUNTCOMMENTS{\"$web.$topic\" hidenull=\"on\" format=\"($dollarcount)\"}$percnt </td>
+~~~ </tr>"
+~~~ footer="</table>$percnt$nopDBCALL{\"RenderPageNavigation\"
+~~~ SKIP=\"%$nopURLPARAM{"skip" default=" 0"}%\"
+~~~ MAX=\"$count\"
+~~~ LIMIT=\"15\"
+~~~ PARAMS=\"
+*~~ mode=%$nopURLPARAM{"mode" default="cat"}%;
+*~~ search=%$nopURLPARAM{"search" default=".*"}%
+*~~ \"
+~~~ }$percnt</div>"
+~~~ }%
+</noautolink>
+</div>
+%$nopFIDEFINED%
+
+%ELSIFDEFINED{"%CALC{"$GET(LEX_MODE)"}%"}%
+
+<div class="blogArchiveLexMins">
+ <span class="blogArchiveLexMin">
+ <a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?mode=lex;min=1"
+~~~ title="every occurrence"
+~~~ class="%$nopCALC{"$IF($EXACT(%$nopURLPARAM{"min"}%,1),current)"}%">1</a>
+ </span>
+ <span class="blogArchiveLexMin">
+ <a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?mode=lex;min=2"
+~~~ title="at least two ocurrences"
+~~~ class="%$nopCALC{"$IF($EXACT(%$nopURLPARAM{"min"}%,2),current)"}%">2</a>
+ </span>
+ <span class="blogArchiveLexMin">
+ <a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?mode=lex;min=3"
+~~~ title="at least three ocurrences"
+~~~ class="%$nopCALC{"$IF($EXACT(%$nopURLPARAM{"min"}%,3),current)"}%">3</a>
+ </span>
+ <span class="blogArchiveLexMin">
+ <a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?mode=lex;min=4"
+~~~ title="at least four ocurrences"
+~~~ class="%$nopCALC{"$IF($EXACT(%$nopURLPARAM{"min"}%,4),current)"}%">4</a>
+ </span>
+ <span class="blogArchiveLexMin">
+ <a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?mode=lex;min=5"
+~~~ title="at least five ocurrences"
+~~~ class="%$nopCALC{"$IF($EXACT(%$nopURLPARAM{"min" default="5"}%,5),current)"}%">5</a>
+ </span>
+ <span class="blogArchiveLexMin">
+ <a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?mode=lex;min=6"
+~~~ title="at least six ocurrences"
+~~~ class="%$nopCALC{"$IF($EXACT(%$nopURLPARAM{"min"}%,6),current)"}%">6</a>
+ </span>
+ <span class="blogArchiveLexMin">
+ <a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?mode=lex;min=7"
+~~~ title="at least seven ocurrences"
+~~~ class="%$nopCALC{"$IF($EXACT(%$nopURLPARAM{"min"}%,7),current)"}%">7</a>
+ </span>
+ <span class="blogArchiveLexMin">
+ <a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?mode=lex;min=8"
+~~~ title="at least eight ocurrences"
+~~~ class="%$nopCALC{"$IF($EXACT(%$nopURLPARAM{"min"}%,8),current)"}%">8</a>
+ </span>
+ <span class="blogArchiveLexMin">
+ <a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?mode=lex;min=9"
+~~~ title="at least nine ocurrences"
+~~~ class="%$nopCALC{"$IF($EXACT(%$nopURLPARAM{"min"}%,9),current)"}%">9</a>
+ </span>
+ <span class="blogArchiveLexMin">
+ <a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?mode=lex;min=10"
+~~~ title="at least ten ocurrences"
+~~~ class="%$nopCALC{"$IF($EXACT(%$nopURLPARAM{"min"}%,10),current)"}%">10</a>
+ </span>
+</div>
+%~~ $nopTAGCLOUD{"
+%~~ $nopDBQUERY{"TopicType=~'\bBlogEntry\b' AND State='enabled'
+~~~ "
+~~~ format="$flatten($formfield(Headline) $formfield(Teaser) $formfield(Text))" separator=", "
+~~~ }%"
+~~~ header="<div class=\"blogArchiveTagCloud\">"
+~~~ format="<span style=\"font-size:$weightpx;line-height:90%;margin:0;padding:0;\">
+~~~ <a href=\"%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?
+*~~ mode=lex;
+*~~ search=$term;
+*~~ min=%$nopURLPARAM{"min" default="5"}%
+*~~ #hits
+*~~ \"
+~~~ class=\"$percntCALC{\"$IF($EXACT(%$nopURLPARAM{"search"}%,$term),current)\"}$percnt\"
+~~~ style=\"color:$fadeRGB(124,164,204,0,102,204);\"
+~~~ title=\"$count\">$term</a></span>"
+~~~ footer="</div>"
+~~~ min="%URLPARAM{"min" default="5"}%"
+~~~ buckets="40"
+~~~ offset="9"
+~~~ stopwords="on"
+~~~ plural="off"
+~~~ exclude="http.*|citeblog.*|xxxxxxxxxx|www.*|WebPreferences|WebHome|MAINWEB|com"
+~~~ map="twiki=TWiki"
+~~~ }%
+
+%$nopIFDEFINEDTHEN{"%URLPARAM{"search"}%"}%
+<div class="blogArchiveHitList">
+<a name="hits"></a>
+<noautolink>
+%~~ $nopDBQUERY{"TopicType=~'\bBlogEntry\b' AND State='enabled' AND
+~~~ ( Headline=~'%URLPARAM{"search" default=".*"}%' OR
+~~~ Teaser=~'%URLPARAM{"search" default=".*"}%' OR
+~~~ Text=~'%URLPARAM{"search" default=".*"}%'
+~~~ )
+~~~ "
+~~~ %$nopIFDEFINED{"%$nopURLPARAM{"skip"}%" then="skip=\"%$nopURLPARAM{"skip"}%\""}%
+~~~ limit="15"
+~~~ order="created" reverse="on"
+~~~ hidenull="on"
+~~~ header="<div style=\"text-align:center;padding:2em;\"><table>"
+~~~ format="<tr>
+~~~ <td style=\"padding-left:1em;\" align=\"right\"> $index </td>
+~~~ <td style=\"padding-left:1em;\" align=\"right\"> <nobr>$formatTime(createdate,'$day $mon $year')</nobr> </td>
+~~~ <td style=\"padding-left:1em;\" align=\"left\" width=\"100%\"> [[$web.$topic][$formfield(Headline)]]$percntREDDOT{\"$web.$topic\"}$percnt
+~~~ $percntCOUNTCOMMENTS{\"$web.$topic\" hidenull=\"on\" format=\"($dollarcount)\"}$percnt </td>
+~~~ </tr>"
+~~~ footer="</table>$percnt$nopDBCALL{\"RenderPageNavigation\"
+~~~ SKIP=\"%$nopURLPARAM{"skip" default=" 0"}%\"
+~~~ MAX=\"$count\"
+~~~ LIMIT=\"15\"
+~~~ PARAMS=\"
+*~~ mode=%$nopURLPARAM{"mode" default="cat"}%;
+*~~ min=%$nopURLPARAM{"min" default="5"}%;
+*~~ search=%$nopURLPARAM{"search" default=".*"}%
+*~~ #hits
+*~~ \"
+~~~ }$percnt</div>"
+~~~ }%
+</noautolink>
+</div>
+%$nopFIDEFINED%
+
%ELSEDEFINED%
-%~~ $nopDBCALL{"RenderCategoriesInSpan"
-~~~ FROM="%IFDEFINED{"%URLPARAM{"from"}%" then="%URLPARAM{"from"}%" else="1"}%"
-~~~ TO="%IFDEFINED{"%URLPARAM{"to"}%" then="%URLPARAM{"to"}%" else="9999999999"}%"
+
+<div class="blogArchiveDateSelect">
+<div class="blogArchiveYears">
+%~~ $nopDBSTATS{"TopicType=~'\bBlogEntry\b' AND State='enabled'
+~~~ %$nopIFDEFINED{"%$nopURLPARAM{"year"}%" then="AND Date=~'%$nopURLPARAM{"year"}%'" glue="off"}%
+~~~ "
+~~~ field="Date" sort="created"
+~~~ pattern="(\d\d\d\d)"
+~~~ format="
+~~~ <span class=\"blogArchiveYear\">
+~~~ <a href=\"%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?mode=chron;year=$key
+~~~ %$nopIFDEFINED{"%$nopURLPARAM{"month"}%" then=";month=%$nopURLPARAM{"month"}%"}%
+~~~ \"
+~~~ class=\"$percntCALC{\"$IF($EXACT(%$nopURLPARAM{"year"}%,$key),current)\"}$percnt\"
+~~~ >$key</a>
+~~~ </span>"
~~~ }%
+</div>
+<div class="blogArchiveMonths">
+%~~ $nopDBSTATS{"TopicType=~'\bBlogEntry\b' AND State='enabled'
+~~~ %$nopIFDEFINED{"%$nopURLPARAM{"year"}%" then="AND Date=~'%$nopURLPARAM{"year"}%'" glue="off"}%
+~~~ %$nopIFDEFINED{"%$nopURLPARAM{"month"}%" then="AND Date=~'%$nopURLPARAM{"month"}%'" glue="off"}%
+~~~ "
+~~~ field="Date" sort="created"
+~~~ pattern="(\w+) \d\d\d\d"
+~~~ format="
+~~~ <span class=\"blogArchiveMonth\">
+~~~ <a href=\"%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?
+*~~ mode=chron;month=$key;year=%URLPARAM{"year" default=".*"}%\"
+~~~ class=\"$percntCALC{\"$IF($EXACT(%$nopURLPARAM{"month"}%,$key),current)\"}$percnt\"
+~~~ >$key</a>
+~~~ </span>"
+~~~ }%
+</div>
+</div>
+<div class="blogArchiveHitList">
+<a name="hits"></a>
+<noautolink>
+%~~ $nopDBQUERY{"TopicType=~'\bBlogEntry\b' AND State='enabled'
+~~~ %$nopIFDEFINED{"%$nopURLPARAM{"year"}%" then="AND Date=~'%$nopURLPARAM{"year"}%'" glue="off"}%
+~~~ %$nopIFDEFINED{"%$nopURLPARAM{"month"}%" then="AND Date=~'%$nopURLPARAM{"month"}%'" glue="off"}%
+~~~ "
+~~~ %$nopIFDEFINED{"%$nopURLPARAM{"skip"}%" then="skip=\"%$nopURLPARAM{"skip"}%\""}%
+~~~ limit="15"
+~~~ order="created"
+~~~ reverse="on"
+~~~ hidenull="on"
+~~~ header="<div style=\"text-align:center;padding:2em;\"><table>"
+~~~ format="<tr>
+~~~ <td style=\"padding-left:1em;\" align=\"right\"> $index </td>
+~~~ <td style=\"padding-left:1em;\" align=\"right\"> <nobr>$formatTime(createdate,'$day $mon $year')</nobr> </td>
+~~~ <td style=\"padding-left:1em;\" align=\"left\" width=\"100%\"> [[$web.$topic][$formfield(Headline)]]$percntREDDOT{\"$web.$topic\"}$percnt
+~~~ $percntCOUNTCOMMENTS{\"$web.$topic\" hidenull=\"on\" format=\"($dollarcount)\"}$percnt </td>
+~~~ </tr>"
+~~~ footer="</table>$percnt$nopDBCALL{\"RenderPageNavigation\"
+~~~ SKIP=\"%$nopURLPARAM{"skip" default=" 0"}%\"
+~~~ MAX=\"$count\"
+~~~ LIMIT=\"15\"
+~~~ PARAMS=\"
+*~~ mode=%$nopURLPARAM{"mode" default="chron"}%;
+*~~ month=%$nopURLPARAM{"month" default=".*"}%;
+*~~ year=%$nopURLPARAM{"year" default=".*"}%
+*~~ \"
+~~~ }$percnt</div>"
+~~~ }%
+</noautolink>
+</div>
+
%FIDEFINED%
-<style type="text/css">.natTopicForm, .twikiForm {display:none}</style>
+
+
+<style type="text/css">
+ .natTopicForm, .twikiForm {
+ display:none
+ }
+</style>
+
<!--
* Set ALLOWTOPICCHANGE = %MAINWEB%.BlogAdminGroup
* Set SIDEBAR = Archive
@@ -28,7 +331,11 @@
* Set WEBBUTTONSCLASS_ARCHIVE = current
-->
-
-%META:FORM{name="TopicForm"}%
-%META:FIELD{name="TopicType" attributes="M" title="TopicType" value="TWikiTopic"}%
-%META:FIELD{name="TopicDescription" attributes="M" title="TopicDescription" value="Blog Archive"}%
+%META:FORM{name="BlogPageForm"}%
+%META:FIELD{name="TopicType" attributes="M" title="TopicType" value="BlogPage"}%
+%META:FIELD{name="BlogAuthor" attributes="M" title="BlogAuthor" value="MichaelDaum"}%
+%META:FIELD{name="Date" attributes="M" title="Date" value="27 Feb 2006 - 18:43"}%
+%META:FIELD{name="Headline" attributes="M" title="Headline" value="Blog Archive"}%
+%META:FIELD{name="SubjectCategory" attributes="" title="SubjectCategory" value=""}%
+%META:FIELD{name="Related" attributes="" title="Related" value=""}%
+%META:FIELD{name="State" attributes="" title="State" value="enabled"}%
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogEntry.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogEntry.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogEntry.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -7,16 +7,25 @@
---++ List of all BlogEntries
<noautolink>
-| *Name* | *Headline* | *Author* | *Comments*| *Date* |
+<div class="tableModDiv">
+| *Date* | *Headline* | *Category* | *Tag* |
%~~ DBQUERY{"TopicType='BlogEntry'" order="createdate" reverse="on"
-~~~ format="| [[$web.$topic][$topic]]$percntREDDOT{\"$web.$topic\"}$percnt
-~~~ | $expand(Headline)
-~~~ | [[$web.$formfield(BlogAuthor)][$formfield(BlogAuthor)]]
-~~~ | $percntDBQUERY{\"BaseRef='$topic'\" hidenull=\"on\"
-~~~ separator=\"none\" format=\"none\" header=\"$dollarcount\"}$percnt
+~~~ format="
~~~ | <nobr>$formatTime(createdate)</nobr>
+~~~ | [[$web.$topic][$formfield(Headline)]]$percntREDDOT{\"$web.$topic\"}$percnt
+~~~ | $percntFORMATLIST{\"$formfield(SubjectCategory)\" sort=\"on\"
+~~~ format=\"[[$web.$1][$1]]\" sort=\"on\"
+~~~ }$percnt
+~~~ | $percntFORMATLIST{\"$formfield(BlogTag)\" sort=\"on\"
+~~~ split=\"[,\s:\d]+\" exclude=\"^$\"
+~~~ format=\"<a href=\\"%SCRIPTURL{"view"}%/$web/BlogArchive?mode=tag;search=$1\\">$1</a>\"
+~~~ }$percnt
~~~ |"
~~~ }%
+</div>
+~~~ <style type="text/css">
+~~~ .tableModDiv .twikiTable td { vertical-align:top; }
+~~~ </style>
</noautolink>
See also: %TOPIC%Template, BlogEntryForm
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogEntry0.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogEntry0.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogEntry0.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -1,4 +1,4 @@
-%META:TOPICINFO{author="TWikiContributor" date="1139244648" format="1.1" version="1.1"}%
+%META:TOPICINFO{author="TWikiContributor" date="1141055212" format="1.1" version="1.1"}%
%META:TOPICPARENT{name="WebHome"}%
%DBCALL{"RenderBlogEntry" NAME="%TOPIC%"}%
%DBCALL{"RenderBlogComments" NAME="%TOPIC%"}%
@@ -22,3 +22,4 @@
%META:FIELD{name="State" attributes="" title="State" value="enabled"}%
%META:FIELD{name="Related" attributes="" title="Related" value=""}%
%META:FIELD{name="Date" attributes="M" title="Date" value="20 Aug 2005 - 11:38"}%
+%META:FIELD{name="BlogTag" attributes="" title="BlogTag" value="blogging, help"}%
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogEntryForm.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogEntryForm.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogEntryForm.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -10,6 +10,8 @@
| Headline | text | 78 | | headline of the blog entry | M |
| Teaser | textarea | 80x4 | | teaser displayed in front pages | M |
| Text | textarea | 80x15 | | client data | |
+| BlogTag | text | 78 | | Blog entry tags | |
+| | label | 3 |<div style="margin-bottom:1em;margin-right:4em"> *Known tags:* %DBSTATS{"TopicType=~'\bBlogEntry\b' AND State='enabled'" field="BlogTag" format="$key" separator=", " pattern="(\w+)[\d+:]*"}%</div>|||
| SubjectCategory | checkbox | 3 | %DBQUERY{"TopicType=~'\bSubjectCategory\b'" separator=", "}% | Blog entry categories | M |
| Related | select+multi+values | 5 | %DBQUERY{"(TopicType=~'\bBlogPage\b' OR TopicType=~'\bBlogEntry\b') AND State='enabled'" format="$percntENCODE{\"$formatTime(createdate): $expand(Headline or TopicDescription)\"}$percnt=$topic" separator=", " order="created" reverse="on" limit="100"}%| list of related blog pages | |
| State | select | 1 | enabled, disabled | | |
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogHelpText.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogHelpText.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogHelpText.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -40,10 +40,24 @@
---++ Archive section
%STARTSECTION{"Archive"}%
You are in the archive section. This is the complete collection of all
-articles that have been posted
-%IFDEFINED{"%URLPARAM{"cat"}%" then=" in the %URLPARAM{"cat"}% category"}%
-%IFDEFINED{"%URLPARAM{"title"}%" then=" %URLPARAM{"title"}%"}%.
+articles that have been posted here.
+
+You are currently browsing the archive in <b>%URLPARAM{"mode" default="chron"}%
+mode</b>.
%ENDSECTION{"Archive"}%
+%STARTSECTION{"Archive2"}%
+<div class="blogSideBarSection blogHelpText">
+The <nop>%WEB% Archive may be used in four modes that differ in the
+way the data is made accessible:
+ * *CHRON*: this is a chronological way of browsing the archive; select a year
+ and a month to restrict the list of postings to that timespan.
+ * *CAT*: use the CAT mode to list postings in each <nop>SubjectCategory
+ * *TAG*: list postings by exploring their <nop>BlogTags
+ * *LEX*: retrieve postings by exploring most frequently used words
+The CAT, TAG, and LEX modes use <nop>TagClouds to visualize the frequency of the
+cateogries, tags and words respectively.
+</div>
+%ENDSECTION{"Archive2"}%
---++ Category section
%STARTSECTION{"Category"}%
Deleted: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogSideBar.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogSideBar.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/BlogSideBar.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -1,158 +0,0 @@
-%META:TOPICINFO{author="TWikiContributor" date="1134064810" format="1.1" version="1.1"}%
----+ Default sidebar
-<div class="alt">
-<verbatim>
-%STARTINCLUDE%
-%STARTSECTION{"Default"}%---+ About%REDDOT{"%WEB%.BlogAbout"}%%REDDOT{"%WEB%.BlogSideBar"}%
-<div class="blogAbout">
-%DBCALL{"BlogAbout" section="Default"}%
-</div>
-%IFSKINSTATETHEN{searchbox="pos2"}%
-<div class="natSearchBox natSearchBoxPos2">
-%$nopTMPL:P{"searchbox"}%
-<p/>
-</div>
-%FISKINSTATE%
-%DBCALL{"RenderAuthorTools" warn="off"}%
-%DBCALL{"RenderRecentComments" LIMIT="5" CAT=".*"}%
-%DBCALL{"RenderRecentPostings" LIMIT="10"}%
-%DBCALL{"RenderArchives"}%
-%DBCALL{"RenderCategories"}%
-%DBCALL{"RenderBlogRoll" CAT=".*"}%
-%DBCALL{"RenderAdminTools" warn="off"}%
-<!-- %<nop>DBCALL{"RenderVisitors"}% -->
-%IFDEFINEDTHEN{"%TECHNORATICODE%" glue="off"}%
----+ Technorati
-<script type="text/javascript" src="http://embed.technorati.com/embed/%TECHNORATICODE%.js"></script>
-%FIDEFINED%
-%ENDSECTION{"Default"}%
-%STOPINCLUDE%
-</verbatim>
-</div>
-
----+ Admin sidebar
-<div class="alt">
-<verbatim>
-%STARTSECTION{"Admin"}%---+ About%REDDOT{"%WEB%.BlogAbout"}%%REDDOT{"%WEB%.BlogSideBar"}%
-<div class="blogAbout">
-%DBCALL{"BlogAbout" section="Admin"}%
-</div>
-%IFSKINSTATETHEN{searchbox="pos2"}%
-<div class="natSearchBox natSearchBoxPos2">
-%$nopTMPL:P{"searchbox"}%
-<p/>
-</div>
-%FISKINSTATE%
-%DBCALL{"RenderNewTopicTypeForm"
- NAME="%IFDEFINED{"%SIDEBARARG%" then="%SIDEBARARG%" else="%INCLUDINGTOPIC%"}%" warn="off"}%
-%DBCALL{"RenderValidateButton" TEXT="Validate Html"}%
-%DBCALL{"RenderTopicTypes"
- NAME="%IFDEFINED{"%SIDEBARARG%" then="%SIDEBARARG%" else="%INCLUDINGTOPIC%"}%"}%
-%ENDSECTION{"Admin"}%
-</verbatim>
-</div>
-
----+ BlogEntry sidebar
-<div class="alt">
-<verbatim>
-%STARTSECTION{"BlogEntry"}%---+ About%REDDOT{"%WEB%.BlogAbout"}%%REDDOT{"%WEB%.BlogSideBar"}%
-<div class="blogAbout">
-%DBCALL{"BlogAbout" section="Default"}%
-</div>
-%IFSKINSTATETHEN{searchbox="pos2"}%
-<div class="natSearchBox natSearchBoxPos2">
-%$nopTMPL:P{"searchbox"}%
-<p/>
-</div>
-%FISKINSTATE%
-%DBCALL{"RenderAuthorTools" warn="off"}%
-%DBCALL{"RenderRelatedEntries" NAME="%BASETOPIC%"}%
-%DBCALL{"RenderRecentPostings" LIMIT="10"}%
-%DBCALL{"RenderAdminTools" warn="off"}%
-%ENDSECTION{"BlogEntry"}%
-</verbatim>
-</div>
-
----+ Aggregation sidebar
-<div class="alt">
-<verbatim>
-%STARTSECTION{"Aggregation"}%---+ About%REDDOT{"%WEB%.BlogAbout"}%%REDDOT{"%WEB%.BlogSideBar"}%
-<div class="blogAbout">
-%DBCALL{"BlogAbout" section="Aggregation"}%
-</div>
-%IFSKINSTATETHEN{searchbox="pos2"}%
-<div class="natSearchBox natSearchBoxPos2">
-%$nopTMPL:P{"searchbox"}%
-<p/>
-</div>
-%FISKINSTATE%
-%DBCALL{"RenderAuthorTools" warn="off"}%
-%DBCALL{"RenderBlogRoll" CAT=".*"}%
-%DBCALL{"RenderAdminTools" warn="off"}%
-%ENDSECTION{"Aggregation"}%
-</verbatim>
-</div>
-
----+ Archive sidebar
-<div class="alt">
-<verbatim>
-%STARTSECTION{"Archive"}%---+ About%REDDOT{"%WEB%.BlogAbout"}%%REDDOT{"%WEB%.BlogSideBar"}%
-<div class="blogAbout">
-%DBCALL{"BlogAbout" section="Archive"}%
-</div>
-%IFSKINSTATETHEN{searchbox="pos2"}%
-<div class="natSearchBox natSearchBoxPos2">
-%$nopTMPL:P{"searchbox"}%
-<p/>
-</div>
-%FISKINSTATE%
-%DBCALL{"RenderArchives" CAT="%URLPARAM{"cat"}%"}%
-%DBCALL{"RenderCategories"}%
-%DBCALL{"RenderAdminTools" warn="off"}%
-%ENDSECTION{"Archive"}%
-</verbatim>
-</div>
-
----+ Category sidebar
-<div class="alt">
-<verbatim>
-%STARTSECTION{"Category"}%---+ About%REDDOT{"%WEB%.BlogAbout"}%%REDDOT{"%WEB%.BlogSideBar"}%
-<div class="blogAbout">
-%DBCALL{"BlogAbout" section="Category"}%
-</div>
-%IFSKINSTATETHEN{searchbox="pos2"}%
-<div class="natSearchBox natSearchBoxPos2">
-%$nopTMPL:P{"searchbox"}%
-<p/>
-</div>
-%FISKINSTATE%
-%DBCALL{"RenderAuthorTools" warn="off"}%
-%DBCALL{"RenderRecentComments" LIMIT="10" CAT="%BASETOPIC%"}%
-%DBCALL{"RenderRecentPostings" LIMIT="10" CAT="%BASETOPIC%"}%
-%DBCALL{"RenderArchives" CAT="%BASETOPIC%"}%
-%DBCALL{"RenderCategories"}%
-%DBCALL{"RenderBlogRoll" CAT="%BASETOPIC%"}%
-%DBCALL{"RenderAdminTools" warn="off"}%
-%ENDSECTION{"Category"}%
-</verbatim>
-</div>
-
-
----+ Nosidebar sidebar
-<div class="alt">
-<verbatim>
-%STARTSECTION{"nosidebar"}%
-%ENDSECTION{"nosidebar"}%
-</verbatim>
-</div>
-
-<!--
- * Set ALLOWTOPICCHANGE = %MAINWEB%.BlogAdminGroup
- * Set SIDEBAR = Admin
- * Set SIDEBARARG = AdminTool
--->
-
-
-%META:FORM{name="TopicForm"}%
-%META:FIELD{name="TopicType" attributes="M" title="TopicType" value="AdminTool"}%
-%META:FIELD{name="TopicDescription" attributes="M" title="TopicDescription" value="BlogSideBar: set of sidebar sections included by the WebSideBar"}%
Deleted: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderArchiveLink.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderArchiveLink.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderArchiveLink.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -1,66 +0,0 @@
-%META:TOPICINFO{author="TWikiContributor" date="1138207743" format="1.1" version="1.1"}%
-%META:TOPICPARENT{}%
----+ Function: %TOPIC%
-%FORMFIELD{"TopicDescription"}%
-
-The lin will only be rendered if there is at least one posting
-in the given timespan.
-
----++ Parameters
- * FROM: start of archive
- * TO: end of archive
- * CAT: restrict to entries in this SubjectCategory
- * TITLE: link text
-
----++ Implementation
-<verbatim>
-%STARTINCLUDE%
-*~~
-%~~ DBQUERY{
-~~~ "TopicType=~'\bBlogEntry\b' AND
-~~~ State='enabled' AND
-~~~ SubjectCategory=~'%IFDEFINED{"%CAT%" then="\b%CAT%\b" else=".*"}%' AND
-~~~ createdate >= %CALC{"$TIME(%FROM%)"}% AND
-~~~ createdate < %CALC{"$TIME(%TO%)"}%"
-~~~ header="<!-- entries: $count -->"
-~~~ separator="none"
-~~~ limit="1"
-~~~ format="$percntCALC{\"$IF($count>0,$SET(foundArchive,1))\"}$percnt
-~~~ <tr><td><ul style=\"margin-top:0px;margin-bottom:0px;\"><li>
-~~~ <a href=\"%SCRIPTURL{"view"}%/%WEB%/BlogArchive?
-*~~ title=%ENCODE{"%TITLE%"}%;
-*~~ %IFDEFINED{"%CAT%" then="cat=%ENCODE{"%CAT%"}%;"}%
-*~~ from=%CALC{"$TIME(%FROM%)"}%;
-*~~ to=%CALC{"$TIME(%TO%)"}%\"
-~~~ title=\"Archive of
-*~~ %IFDEFINED{"%CAT%" then=" <nop>%CAT% in" glue="off"}% %TITLE%
-~~~ \">%TITLE%</a>
-~~~ </li></ul></td>
-~~~ <td valign=\"top\" class=\"blogEntryCount\">$count</td>
-~~~ </tr>$n*~~ "
-~~~ }%
-*~~
-%STOPINCLUDE%
-</verbatim>
-
----++ Test
-<div class="alt">
-<table width="100%" cellspacing="0" cellpadding="0" border="0">
-%DBCALL{"%TOPIC%" FROM="1 Oct 2005" TO="1 Nov 2005" TITLE="October 2005"}%
-%DBCALL{"%TOPIC%" FROM="1 Oct 2005" TO="1 Nov 2005" TITLE="October 2005 in <nop>BlogsWorld" CAT="BlogsWorld"}%
-%DBCALL{"%TOPIC%" FROM="1 Jul 2001" TO="1 Aug 2001" TITLE="July 2005" CAT="%CAT%"}%
-</table>
-</div>
-
-%DBCALL{"RenderFunctionCallers"}%
-
-<!--
- * Set ALLOWTOPICCHANGE = %MAINWEB%.BlogAdminGroup
- * Set SIDEBAR = Admin
- * Set SIDEBARARG = TopicFunction
--->
-
-
-%META:FORM{name="TopicForm"}%
-%META:FIELD{name="TopicType" attributes="M" title="TopicType" value="TopicFunction"}%
-%META:FIELD{name="TopicDescription" attributes="M" title="TopicDescription" value="Render a link into the BlogArchive that will extract a given timespan from it"}%
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderArchives.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderArchives.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderArchives.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -3,12 +3,6 @@
---+ Function: %TOPIC%
%FORMFIELD{"TopicDescription"}%
-%RED%Note%ENDCOLOR%: you need to edit this TopicFunction to display newer archives than
-December 2005. You can disable some calles to RenderArchiveLink below if your blog starts
-later than July 2005. This would have been automated _if_ that did not harm performance.
-
-See also: RenderArchiveLink, RenderBlogEntriesInSpan, RenderCategoriesInSpan
-
---++ Parameters
* CAT: render archive links in this SubjectCategory
@@ -18,21 +12,25 @@
*~~ <div class="blogSideBarSection blogSideBarArchive">
~~~ <h1> Archive%REDDOT{"%WEB%.%TOPIC%"}%</h1>
~~~ <table width="100%" cellspacing="0" cellpadding="0" border="0">
-%DBCALL{"RenderArchiveLink" FROM="1 Feb 2006" TO="1 Mar 2006" TITLE="February 2006" CAT="%CAT%"}%
-%DBCALL{"RenderArchiveLink" FROM="1 Jan 2006" TO="1 Feb 2006" TITLE="January 2006" CAT="%CAT%"}%
-%DBCALL{"RenderArchiveLink" FROM="1 Dec 2005" TO="1 Jan 2006" TITLE="December 2005" CAT="%CAT%"}%
-%DBCALL{"RenderArchiveLink" FROM="1 Nov 2005" TO="1 Dec 2005" TITLE="November 2005" CAT="%CAT%"}%
-%DBCALL{"RenderArchiveLink" FROM="1 Oct 2005" TO="1 Nov 2005" TITLE="October 2005" CAT="%CAT%"}%
-%DBCALL{"RenderArchiveLink" FROM="1 Sep 2005" TO="1 Oct 2005" TITLE="September 2005" CAT="%CAT%"}%
-%DBCALL{"RenderArchiveLink" FROM="1 Aug 2005" TO="1 Sep 2005" TITLE="August 2005" CAT="%CAT%"}%
-%DBCALL{"RenderArchiveLink" FROM="1 Jul 2005" TO="1 Aug 2005" TITLE="July 2005" CAT="%CAT%"}%
+%~~ DBSTATS{"TopicType=~'\bBlogEntry\b' AND State='enabled' AND
+~~~ SubjectCategory=~'%IFDEFINED{"%CAT%" then="\b%CAT%\b" else=".*"}%'"
+~~~ field="Date"
+~~~ sort="created" reverse="on"
+~~~ pattern="(\w+ \d\d\d\d)"
+~~~ format="
+~~~ <tr><td><ul style=\"margin-top:0px;margin-bottom:0px;\"><li>
+~~~ <a href=\"%SCRIPTURL{"view"}%/%WEB%/BlogArchive?mode=chron;
+*~~ month=$percntENCODE{\"$key\"}$percnt\"
+~~~ title=\"Archive of
+~~~ %IFDEFINED{"%CAT%" then="<nop>%CAT% in" glue="off"}% $key\"
+~~~ style=\"$percntCALC{\"$IF($EXACT(%URLPARAM{"month"}%,$key),color:red)\"}$percnt\">
+~~~ $key
+~~~ </a></li></ul></td>
+~~~ <td valign=\"top\" class=\"blogEntryCount\">$count</td>
+~~~ </tr>"
+~~~ }%
~~~ </table>
~~~ </div>
-~~~ <style type="text/css">
-~~~ .blogSideBarArchive {display:none}
-~~~ %CALC{"$IF($GET(foundArchive),.blogSideBarArchive {display:block})"}%
-~~~ </style>
-*~~
%STOPINCLUDE%
</verbatim>
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderAuthorTools.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderAuthorTools.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderAuthorTools.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -15,6 +15,7 @@
%DBCALL{"RenderNewCategoryButton" TEXT="New Category" warn="off"}%
%DBCALL{"RenderNewBlogLinkButton" TEXT="New Link" warn="off"}%
%DBCALL{"RenderNewBlogPageButton" TEXT="New Page" warn="off"}%
+%DBCALL{"RenderNewTWikiTopicButton" TEXT="New Topic" warn="off"}%
</div>
~~~
%STOPINCLUDE%
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogAuthorSwitch.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogAuthorSwitch.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogAuthorSwitch.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -14,7 +14,7 @@
~~~
%~~ DBQUERY{"TopicType=~'\bBlogAuthor\b'" web="%WEB%" limit="1"
~~~ header="$count" format="none" separator="none"
-~~~ }%<=1" then="<style type=\"text/css\">.blogAuthor {display:none;}</style>"
+~~~ }%<=1" then="<style type=\"text/css\">.blogAuthor, .blogAuthorSwitch {display:none;}</style>"
~~~ }%
*~~
%STOPINCLUDE%
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogEntriesInCategory.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogEntriesInCategory.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogEntriesInCategory.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -5,6 +5,7 @@
---++ Parameters
* NAME: name of a SubjectCategory
+ * LIMIT: number of postings per page
* SKIP: offset into the archive
---++ Implementation
@@ -13,15 +14,24 @@
*~~
<h1 style="margin-bottom:0px;padding-bottom:0px">%NAME%</h1>
<div class="blogArchiveDescription">
- %DBQUERY{topics="%NAME%" format="$expand(TopicDescription)"}%
+ %DBQUERY{topics="%NAME%" format="$expand(TopicDescription)"}%
</div>
-%DBCALL{"RenderFrontPage" SKIP="%SKIP%" CAT="%NAME%" AUTHOR=".*"}%
-*~~ %STOPINCLUDE%
+%~~ DBCALL{"RenderFrontPage"
+~~~ %IFDEFINED{"%SKIP%" then="SKIP=\"%SKIP%\"" glue="off"}%
+~~~ %IFDEFINED{"%LIMIT%" then="LIMIT=\"%LIMIT%\"" glue="off"}%
+~~~ CAT="%NAME%"
+~~~ }%
+*~~
+%STOPINCLUDE%
</verbatim>
---++ Test
<div class="alt">
-%DBCALL{"%TOPIC%" NAME="BlogDev"}%
+%~~ DBCALL{"%TOPIC%"
+~~~ NAME="BlogDev"
+~~~ LIMIT="%URLPARAM{"limit" default="2"}%"
+~~~ SKIP="%URLPARAM{"skip" default="0"}%"
+~~~ }%
</div>
%DBCALL{"RenderFunctionCallers"}%
Deleted: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogEntriesInSpan.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogEntriesInSpan.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogEntriesInSpan.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -1,51 +0,0 @@
-%META:TOPICINFO{author="TWikiContributor" date="1134063319" format="1.1" version="1.1"}%
-%META:TOPICPARENT{name="TopicFunction"}%
----+ Function: %TOPIC%
-%FORMFIELD{"TopicDescription"}%
-
----++ Parameters
- * FROM: starting timepoint in epoch seconds
- * TO: ending timepoint in epoch seconds
- * CAT: only show entries in this SubjectCategory
- * TITLE: optional title
-
----++ Implementation
-<verbatim>
-%STARTINCLUDE%
-%~~ DBQUERY{
-~~~ "TopicType=~'\bBlogEntry\b' AND
-~~~ State='enabled' AND
-~~~ SubjectCategory=~'\b%CAT%\b' AND
-~~~ createdate >= %FROM% AND
-~~~ createdate < %TO%
-~~~ "
-~~~ order="created" hidenull="on" reverse="on"
-~~~ header="$percntTABLE{valign=\"top\"}$percnt$n
-~~~ | *Nr* | *Date* | *Headline* | *SubjectCategory* |"
-~~~ format="| $index
-~~~ | <nobr>$formatTime(createdate, '$day $mon $year')</nobr>
-~~~ | [[$web.$topic][$formfield(Headline)]]
-~~~ | $percntFORMATLIST{\"$formfield(SubjectCategory)\" sort=\"on\" format=\"[[$web.$1][$1]]\"}$percnt
-~~~ |"
-~~~ }%
-%STOPINCLUDE%
-</verbatim>
-
----++ Test
-<div class="alt">
-%DBCALL{"%TOPIC%" FROM="%CALC{"$TIME(1 Aug 2005)"}%" TO="%CALC{"$TIME(1 Sep 2005)"}%" TITLE="August"}%
-</div>
-
-%DBCALL{"RenderFunctionCallers"}%
-
-<!--
- * Set ALLOWTOPICCHANGE = %MAINWEB%.BlogAdminGroup
- * Set SIDEBAR = Admin
- * Set SIDEBARARG = TopicFunction
--->
-
-
-%META:FORM{name="TopicForm"}%
-%META:FIELD{name="TopicType" attributes="M" title="TopicType" value="TopicFunction"}%
-%META:FIELD{name="TopicDescription" attributes="M" title="TopicDescription" value="Render a list of BlogEntries in a given time periot."}%
-%META:TOPICMOVED{by="MichaelDaum" date="1130332793" from="Blog.RenderBlogEntryListInSpan" to="Blog.RenderBlogEntriesInSpan"}%
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogEntriesOfAuthor.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogEntriesOfAuthor.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogEntriesOfAuthor.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -5,24 +5,35 @@
---++ Parameters
* NAME: name of a BlogAuthor
+ * LIMIT: number of postings per page
* SKIP: offset into the archive
---++ Implementation
<verbatim>
%STARTINCLUDE%
*~~
-<h1 style="margin-bottom:0px;padding-bottom:0px">[[%MAINWEB%.%NAME%][%SPACEOUT{"%NAME%"}%]]</h1>
+<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" SKIP="%SKIP%" CAT=".*" AUTHOR="%NAME%"}%
+%~~ DBCALL{"RenderFrontPage"
+~~~ %IFDEFINED{"%SKIP%" then="SKIP=\"%SKIP%\"" glue="off"}%
+~~~ %IFDEFINED{"%LIMIT%" then="LIMIT=\"%LIMIT%\"" glue="off"}%
+~~~ AUTHOR="%NAME%"
+~~~ }%
*~~
%STOPINCLUDE%
</verbatim>
---++ Test
<div class="alt">
-%DBCALL{"%TOPIC%" NAME="MichaelDaum"}%
+%~~ DBCALL{"%TOPIC%"
+~~~ NAME="MichaelDaum"
+~~~ LIMIT="%URLPARAM{"limit" default="2"}%"
+~~~ SKIP="%URLPARAM{"skip" default="0"}%"
+~~~ }%
</div>
%DBCALL{"RenderFunctionCallers"}%
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogEntry.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogEntry.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogEntry.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -11,6 +11,7 @@
<verbatim>
%STARTINCLUDE%
*~~
+~~~ %STOPALIASAREA%
%~~ DBCALL{"RenderDocNavigation"
~~~ NAME="%NAME%"
~~~ WHERE="TopicType=~'\bBlogEntry\b' AND State='enabled'"
@@ -26,6 +27,7 @@
~~~ REVERSE="on"
~~~ }%
%DBCALL{"RenderBlogAuthorSwitch"}%
+~~~ %STARTALIASAREA%
*~~
%STOPINCLUDE%
</verbatim>
@@ -34,7 +36,6 @@
<verbatim>
%STARTSECTION{"format"}%
*~~ <div class=\"blogEntry\">
-~~~ %STOPALIASAREA%
~~~ $n<noautolink>$n
~~~ <div class=\"blogHeadline\">
~~~ <h1>
@@ -48,11 +49,18 @@
~~~ <span class=\"blogDate\">
~~~ $formatTime(createdate, '$day $mon $year - $hour:$minute')
~~~ </span>
-~~~ in
-~~~ <span class=\"blogCategory\">
-~~~ $percntFORMATLIST{\"$formfield(SubjectCategory)\" sort=\"on\"
-~~~ format=\"[[$web.$1][$1]]\"}$percnt
-~~~ </span>
+~~~ $percntFORMATLIST{\"$formfield(SubjectCategory)\" sort=\"on\"
+~~~ header=\"in <span class=\\"blogCategory\\">\"
+~~~ format=\"<a href=\\"%SCRIPTURL{"view"}%/$web/$1\\" rel=\\"tag\\">$1</a>\"
+~~~ footer=\"</span>\"
+~~~ }$percnt
+~~~ $percntFORMATLIST{\"$formfield(BlogTag)\" sort=\"on\"
+~~~ split=\"[\s:\d,]+\"
+~~~ exclude=\"^$\"
+~~~ header=\"tagged <span class=\\"blogTag\\">\"
+~~~ format=\"<a href=\\"%SCRIPTURL{"view"}%/$web/BlogArchive?mode=tag;search=$1\\" rel=\\"tag\\">$1</a>\"
+~~~ footer=\"</span>\"
+~~~ }$percnt
~~~ <span class=\"blogAuthor\">by $formfield(BlogAuthor) </span>
~~~ $n
~~~ </div>
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogLink.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogLink.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogLink.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -23,7 +23,9 @@
~~~ format="
~~~ $percntIFDEFINEDTHEN{\"$formfield(Feed)\" glue=\"off\"}$percnt
~~~ <div class=\"blogSubjectCategory\">
-~~~ $percntFORMATLIST{\"$formfield(SubjectCategory)\" sort=\"on\" format=\"[[$web.$1][$1]]\"}$percnt
+~~~ $percntFORMATLIST{\"$formfield(SubjectCategory)\" sort=\"on\"
+~~~ format=\"[[$web.$1][$1]]\"
+~~~ }$percnt
~~~ </div>
~~~ <div> $formfield(Url) <p/>$formfield(Comment)</div>
~~~ $percntHEADLINES{
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogPage.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogPage.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogPage.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -29,7 +29,7 @@
~~~ </span>
~~~ $percntFORMATLIST{\"$formfield(SubjectCategory)\" sort=\"on\"
~~~ header=\"in <span class=\\"blogCategory\\">\"
-~~~ format=\"[[$web.$1][$1]]\"
+~~~ format=\"<a href=\\"%SCRIPTURL{"view"}%/$web/$1\\" rel=\\"tag\\">$1</a>\"
~~~ footer=\"</span>\"
~~~ }$percnt
~~~ <span class=\"blogAuthor\">by $formfield(BlogAuthor) </span>
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogTeaser.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogTeaser.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderBlogTeaser.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -49,7 +49,9 @@
~~~ </span> in
~~~ <span class=\"blogCategory\">
~~~ $percntFORMATLIST{\"$formfield(SubjectCategory)\"
-~~~ sort=\"on\" format=\"[[$web.$1][$1]]\"}$percnt
+~~~ sort=\"on\"
+~~~ format=\"<a href=\\"%SCRIPTURL{"view"}%/$web/$1\\" rel=\\"tag\\">$1</a>\"
+~~~ }$percnt
~~~ </span>
~~~ <span class=\"blogAuthor\">
~~~ by [[$web.$formfield(BlogAuthor)][$formfield(BlogAuthor)]]
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderCategories.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderCategories.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderCategories.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -8,27 +8,23 @@
---++ Implementation
%STARTINCLUDE%
-%~~ DBQUERY{"TopicType=~'\bSubjectCategory\b'"
-~~~ hidenull="on"
+*~~
+%~~ DBSTATS{"TopicType=~'\bBlogEntry\b' AND State='enabled'"
+~~~ field="SubjectCategory"
~~~ header="
~~~ <div class=\"blogSideBarSection blogSideBarCategories\">
~~~ <h1>Categories$percntREDDOT{\"%WEB%.%TOPIC%\"}$percnt</h1>
~~~ <noautolink>
~~~ <table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">"
-~~~ format="<tr><td><ul style=\"margin-top:0px;margin-bottom:0px;\"><li>
-~~~ <a href=\"%SCRIPTURL{"view"}%/$web/$topic\"
-~~~ title=\"$formfield(TopicDescription)\">$topic
-~~~ </a></li></ul></td>
+~~~ format="
+*~~ <tr><td><ul style=\"margin-top:0px;margin-bottom:0px;\"><li>
+~~~ <a href=\"%SCRIPTURL{"view"}%/%WEB%/$key\">$key</a></li></ul></td>
~~~ <td valign=\"top\" class=\"blogEntryCount\">
-~~~ $percntDBQUERY{\"TopicType='BlogEntry' AND
-~~~ SubjectCategory=~'\b$topic\b' AND
-~~~ State='enabled'\"
-~~~ hidenull=\"on\" format=\"none\" header=\"$dollarcount\"
-~~~ }$percnt
+~~~ $count
~~~ </td></tr>"
~~~ footer="</table></noautolink></div>"
~~~ }%
-~~~
+*~~
%STOPINCLUDE%
<!-- -->
@@ -44,4 +40,3 @@
%META:FORM{name="TopicForm"}%
%META:FIELD{name="TopicType" attributes="M" title="TopicType" value="TopicFunction"}%
%META:FIELD{name="TopicDescription" attributes="M" title="TopicDescription" value="Render the list of SubjectCategories in the sidebar"}%
-%META:TOPICMOVED{by="MichaelDaum" date="1129818691" from="Blog.RenderCategoryList" to="Blog.RenderCategories"}%
Deleted: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderCategoriesInSpan.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderCategoriesInSpan.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderCategoriesInSpan.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -1,64 +0,0 @@
-%META:TOPICINFO{author="TWikiContributor" date="1131399643" format="1.1" version="1.1"}%
-%META:TOPICPARENT{name="TopicFunction"}%
----+ Function: %TOPIC%
-%FORMFIELD{"TopicDescription"}%
-
----++ Parameters
- * FROM: starting timepoint
- * TO: ending timepoint
-
----++ Implementation
----+++ Main
-<verbatim>
-%STARTINCLUDE%
----++ Used categories
-<div class="specialArea">
-%~~ DBQUERY{"TopicType=~'\bSubjectCategory\b'"
-~~~ separator=" "
-~~~ header="$percntTABLE{sort=\"on\" initsort=\"2\" initdirection=\"up\"}$percnt$n
-~~~ | *SubjectCategory*
-~~~ | *Nr Postings* |$n"
-~~~ format="$percntDBCALL{\"%TOPIC%\" section=\"subquery\"
-~~~ CAT=\"$topic\"
-~~~ FROM=\"%FROM%\"
-~~~ TO=\"%TO%\"
-~~~ }$percnt"
-~~~ }%
-</div>
-<style type="text/css">
-.specialArea table th img {display:none}
-</style>
-%STOPINCLUDE%
-</verbatim>
-
----+++ Subquery
-<verbatim>
-%STARTSECTION{"subquery"}% %~~ DBQUERY{
-~~~ "TopicType='BlogEntry' AND
-~~~ SubjectCategory=~'\b%CAT%\b' AND
-~~~ State='enabled' AND
-~~~ createdate >= %FROM% AND
-~~~ createdate < %TO%
-~~~ "
-~~~ limit="1" hidenull="on"
-~~~ format="| [[$web.%CAT%][%CAT%]] | $count |$n"
-~~~ }%%ENDSECTION{"subquery"}%
-</verbatim>
-
----++ Test
-<div class="alt">
-%DBCALL{"%TOPIC%" FROM="%CALC{"$TIME(1 Aug 2005)"}%" TO="%CALC{"$TIME(1 Sep 2005)"}%"}%
-</div>
-
-%DBCALL{"RenderFunctionCallers"}%
-
-<!--
- * Set ALLOWTOPICCHANGE = %MAINWEB%.BlogAdminGroup
- * Set SIDEBAR = Admin
- * Set SIDEBARARG = TopicFunction
--->
-
-
-%META:FORM{name="TopicForm"}%
-%META:FIELD{name="TopicType" attributes="M" title="TopicType" value="TopicFunction"}%
-%META:FIELD{name="TopicDescription" attributes="M" title="TopicDescription" value="Render statistics of SubjectCategories used in a timespan"}%
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderFrontPage.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderFrontPage.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderFrontPage.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -7,6 +7,7 @@
---++ Parameters
* SKIP: offset into the archive
+ * LIMIT: number of postings to show maximal
* CAT: categories to extract
* AUTHOR: extract postings of this author
@@ -15,17 +16,19 @@
%STARTINCLUDE%
~~~
%~~ DBQUERY{
-~~~ "TopicType=~'\bBlogEntry\b' AND
-~~~ SubjectCategory=~'\b%CAT%\b' AND
-~~~ State='enabled' AND
-~~~ BlogAuthor='%AUTHOR%'
+~~~ "TopicType=~'\bBlogEntry\b' AND State='enabled'
+~~~ %IFDEFINED{"%CAT%" then="AND SubjectCategory=~'\b%CAT%\b'" glue="off"}%
+~~~ %IFDEFINED{"%AUTHOR%" then="AND BlogAuthor=~'\b%AUTHOR%\b'" glue="off"}%
~~~ "
-~~~ limit="5" skip="%SKIP%"
+~~~ limit="%IFDEFINED{"%LIMIT%" then="%LIMIT%" else="5"}%"
+~~~ skip="%IFDEFINED{"%SKIP%" then="%SKIP%" else="0"}%"
~~~ order="created" reverse="on" web="%WEB%"
~~~ format="%DBCALL{"RenderFullTeaser" section="format" NAME="$topic"}%"
~~~ footer="
*~~ $percntDBCALL{\"$web.RenderPageNavigation\"
-~~~ SKIP=\"%SKIP%\" INCR=\"5\" MAX=\"$count\"
+~~~ LIMIT=\"%IFDEFINED{"%LIMIT%" then="%LIMIT%" else="5"}%\"
+~~~ SKIP=\"%IFDEFINED{"%SKIP%" then="%SKIP%" else="0 "}%\"
+~~~ MAX=\"$count\"
~~~ }$percnt
*~~ "
~~~ }%
@@ -36,7 +39,7 @@
---++ Test
<div class="alt">
-%DBCALL{"%TOPIC%" SKIP="0" CAT="BlogDev" AUTHOR=".*"}%
+%DBCALL{"%TOPIC%" SKIP="%URLPARAM{"skip"}%" CAT="BlogDev" LIMIT="1"}%
</div>
%DBCALL{"RenderFunctionCallers"}%
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderFullTeaser.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderFullTeaser.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderFullTeaser.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -53,7 +53,9 @@
~~~ </span>
~~~ in
~~~ <span class=\"blogCategory\">
-~~~ $percntFORMATLIST{\"$formfield(SubjectCategory)\" sort=\"on\" format=\"[[$web.$1][$1]]\"}$percnt
+~~~ $percntFORMATLIST{\"$formfield(SubjectCategory)\" sort=\"on\"
+~~~ format=\"<a href=\\"%SCRIPTURL{"view"}%/$web/$1\\" rel=\\"tag\\">$1</a>\"
+~~~ }$percnt
~~~ </span>
~~~ <span class=\"blogAuthor\">
~~~ by [[$web.$formfield(BlogAuthor)][$formfield(BlogAuthor)]]
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderNewTWikiTopicButton.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderNewTWikiTopicButton.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderNewTWikiTopicButton.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -10,24 +10,14 @@
---++ Parameters
* TEXT: text to be displayed on the button
- * NAME: name for new topic
---++ Implementation
<verbatim>
%STARTINCLUDE%
*~~
-<noautolink>
-<form action="%SCRIPTURL{"edit"}%/%WEB%/%NAME%" method="post">
-<input type="hidden" name="onlywikiname" value="on" />
-<input type="hidden" name="templatetopic" value="WebTopicEditTemplate" />
-<input type="hidden" name="formtemplate" value="TopicForm" />
-<input type="hidden" name="topicparent" value="WebHome" />
-<input type="hidden" name="topic" value="%NAME%" />
-<input type="hidden" name="TopicType" value="%TOPIC%" />
-<input type="hidden" name="TopicDescription" value="" />
+<form action="%SCRIPTURL{"view"}%/%WEB%/TWikiTopic" method="get">
<input type="submit" class="blogSubmitButton" value="%TEXT%" />
</form>
-</noautolink>
*~~
%STOPINCLUDE%
</verbatim>
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderPageNavigation.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderPageNavigation.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderPageNavigation.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -5,8 +5,9 @@
---++ Parameters
* SKIP: initial offset
- * INCR: number of topics per page
- * MAX: maximum number of entries in the set
+ * LIMIT: number of items per page
+ * MAX: maximum number of items
+ * PARAMS: additional url parameters (optional)
---++ Implementation
<verbatim>
@@ -14,34 +15,34 @@
~~~
<!--
<noautolink>
-%~~ CALC{"
-~~~ $SET(theNextSkip,$EVAL(%SKIP%+%INCR%))
-~~~ $SET(thePrevSkip,$EVAL(%SKIP%-%INCR%))
-~~~ $IF($GET(thePrevSkip)<0,$SET(thePrevSkip,0))
-~~~ "}%
+%CALC{"$SET(theNextSkip,$EVAL(%SKIP%+%LIMIT%))$SET(thePrevSkip,$EVAL(%SKIP%-%LIMIT%))$IF($GET(thePrevSkip)<0,$SET(thePrevSkip,0))"}%
</noautolink>
-->
<div class="blogNavigation">
<table border="0" cellpadding="0" cellspacing="0"><tr>
<td class="blogPrev">
-~~~ <a style="%~~ CALC{"$IF(%SKIP%==0,display:none)"}%"
-~~~ href="?skip=%~~ CALC{"$GET(thePrevSkip)"}%">« previous page
+~~~ <a style="%CALC{"$IF(%SKIP%==0,display:none)"}%"
+~~~ href="?skip=%CALC{"$GET(thePrevSkip)"}%;limit=%LIMIT%
+*~~ %IFDEFINED{"%PARAMS%" then=";%PARAMS%"}%">
+*~~ « previous page
~~~ </a>
</td>
<td class="blogNext">
-~~~ <a style="%~~ CALC{"$IF($GET(theNextSkip)>%MAX%,display:none)"}%"
-~~~ href="?skip=%~~ CALC{"$GET(theNextSkip)"}%">next page »
+~~~ <a style="%CALC{"$IF($GET(theNextSkip)>%MAX%,display:none)"}%"
+~~~ href="?skip=%CALC{"$GET(theNextSkip)"}%;limit=%LIMIT%
+*~~ %IFDEFINED{"%PARAMS%" then=";%PARAMS%"}%">
+*~~ next page »
~~~ </a>
</td>
</tr></table>
</div>
-~~~
+*~~
%STOPINCLUDE%
</verbatim>
---++ Test
<div class="alt">
-%DBCALL{"%TOPIC%" SKIP="%URLPARAM{"skip" default=" 0"}%" INCR="10" MAX="200"}%
+%DBCALL{"%TOPIC%" SKIP="%URLPARAM{"skip" default=" 0"}%" LIMIT="10" MAX="200"}%
</div>
%DBCALL{"RenderFunctionCallers"}%
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderRecentPostings.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderRecentPostings.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderRecentPostings.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -10,7 +10,6 @@
---++ Implementation
<verbatim>
%STARTINCLUDE%
-~~~ <div class="blogSideBarSection blogSideBarLatest">
%~~ DBQUERY{"TopicType=~'\bBlogEntry\b' AND
~~~ State='enabled'
~~~ %IFDEFINED{"%CAT%" then="AND SubjectCategory=~'\b%CAT%\b'"}%"
@@ -28,13 +27,12 @@
~~~ title=\"RSS Feed for the Entries on this Site\"
~~~ href=\"%SCRIPTURL{"view"}%/%WEB%/WebRss\">RSS</a>
*~~ </td></tr>
-*~~ </table><ul><noautolink>"
+*~~ </table><ul style=\"margin-top:0px;margin-bottom:0px;\"><noautolink>"
~~~ format="<li><a href=\"%SCRIPTURL{"view"}%/$web/$topic\"
~~~ title=\"permalink to <nop>$topic\">
*~~ $formfield(Headline)</a></li>"
~~~ footer="</noautolink></ul></div>"
~~~ }%
-~~~ </div>
~~~
%STOPINCLUDE%
</verbatim>
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderSideBar.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderSideBar.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderSideBar.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -127,8 +127,7 @@
*~~
%DBCALL{"RenderAuthorTools" warn="off"}%
%DBCALL{"RenderAdminTools" warn="off"}%
-%DBCALL{"RenderArchives" CAT="%URLPARAM{"cat"}%"}%
-%DBCALL{"RenderCategories"}%
+%DBCALL{"BlogHelpText" section="Archive2"}%
%ENDSECTION{"Archive"}%
</verbatim>
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderWebChanges.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderWebChanges.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/RenderWebChanges.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -5,13 +5,17 @@
---++ Parameters
* SKIP: topic offset
+ * LIMIT: number of hits per page
---++ Implementation
<verbatim>
%STARTINCLUDE%
*~~
%~~ DBQUERY{
-~~~ order="modified" limit="10" reverse="on" skip="%SKIP%"
+~~~ order="modified"
+~~~ limit="%IFDEFINED{"%LIMIT%" then="%LIMIT%" else="10"}%"
+~~~ reverse="on"
+~~~ skip="%SKIP%"
~~~ header="<noautolink>$n
~~~ | * * | *Topic* | *Type* | *Changed* | *Author* |"
~~~ format="
@@ -25,7 +29,7 @@
%~~ DBCALL{"RenderPageNavigation"
~~~ SKIP="%SKIP%"
~~~ MAX="%CALC{"$GET(nrTopics)"}%"
-~~~ INCR="10"
+~~~ LIMIT="%IFDEFINED{"%LIMIT%" then="%LIMIT%" else="10"}%"
~~~ }%
*~~
%STOPINCLUDE%
@@ -33,7 +37,7 @@
---++ Test
<div class="alt">
-%DBCALL{"%TOPIC%" SKIP="%URLPARAM{"skip" default=" 0"}%"}%
+%DBCALL{"%TOPIC%" SKIP="%URLPARAM{"skip" default=" 0"}%" LIMIT="5"}%
</div>
%DBCALL{"RenderFunctionCallers"}%
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/TestBlogEntry0.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/TestBlogEntry0.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/TestBlogEntry0.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -1,4 +1,4 @@
-%META:TOPICINFO{author="TWikiContributor" date="1139578777" format="1.1" version="1.1"}%
+%META:TOPICINFO{author="TWikiContributor" date="1141055266" format="1.1" version="1.1"}%
%DBCALL{"RenderBlogEntry" NAME="%TOPIC%"}%
%DBCALL{"RenderBlogComments" NAME="%TOPIC%"}%
%DBCALL{"RenderAddComment"}%
@@ -20,3 +20,4 @@
%META:FIELD{name="State" attributes="" title="State" value="disabled"}%
%META:FIELD{name="Related" attributes="" title="Related" value="TestBlogEntry2"}%
%META:FIELD{name="Date" attributes="M" title="Date" value="13 Aug 2005 - 01:42"}%
+%META:FIELD{name="BlogTag" attributes="" title="BlogTag" value=""}%
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/WebChanges.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/WebChanges.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/WebChanges.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -1,6 +1,9 @@
%META:TOPICINFO{author="TWikiContributor" date="1139651993" format="1.1" version="1.1"}%
%META:TOPICPARENT{}%
-%DBCALL{"RenderWebChanges" SKIP="%URLPARAM{"skip" default=" 0"}%"}%
+%~~ DBCALL{"RenderWebChanges"
+~~~ SKIP="%URLPARAM{"skip" default=" 0"}%"
+~~~ LIMIT="%URLPARAM{"limit" default="10"}%"
+~~~ }%
<style type="text/css">
.natTopicForm {display:none}
</style>
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/WebHome.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/WebHome.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/WebHome.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -1,5 +1,10 @@
%META:TOPICINFO{author="TWikiContributor" date="1131556405" format="1.1" version="1.1"}%
-%DBCALL{"RenderFrontPage" SKIP="%URLPARAM{"skip" default=" 0"}%" CAT=".*" AUTHOR=".*"}%
+%~~ DBCALL{"RenderFrontPage"
+~~~ SKIP="%URLPARAM{"skip"}%"
+~~~ LIMIT="%URLPARAM{"limit"}%"
+~~~ CAT="%URLPARAM{"cat"}%"
+~~~ AUTHOR="%URLPARAM{"author" default=".*"}%"
+~~~ }%
<!--
* Set ALLOWTOPICCHANGE = %MAINWEB%.BlogAdminGroup
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/WebNotify.txt
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/WebNotify.txt 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/data/_BlogPlugin/WebNotify.txt 2006-03-01 17:06:15 UTC (rev 9021)
@@ -17,14 +17,6 @@
* Main.TWikiGuest - example@...
-->
-
-
-
-
-
-
-
-
<!--
* Set SIDEBAR = Nosidebar
* Set STYLESIDEBAR = off
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/lib/TWiki/Plugins/BlogPlugin/DEPENDENCIES
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/lib/TWiki/Plugins/BlogPlugin/DEPENDENCIES 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/lib/TWiki/Plugins/BlogPlugin/DEPENDENCIES 2006-03-01 17:06:15 UTC (rev 9021)
@@ -1,6 +1,6 @@
TWiki::Plugins,>=1.1,perl,TWiki Dakar release.
TWiki::Plugins::AliasPlugin,>=1.2,perl,Required
-TWiki::Plugins::DBCachePlugin,>=1.00,perl,Required
+TWiki::Plugins::DBCachePlugin,>=0.97,perl,Required
TWiki::Plugins::ExtendedSelectionPlugin,>=1.10,perl,Required
TWiki::Plugins::FilterPlugin,>=0.94,perl,Required
TWiki::Plugins::GluePlugin,>=1.5,perl,Required
@@ -8,6 +8,7 @@
TWiki::Plugins::IfDefinedPlugin,>0.90,perl,Required
TWiki::Plugins::RedDotPlugin,>=1.32,perl,Required
TWiki::Plugins::SpreadSheetPlugin,>=1.001,perl,Required
+TWiki::Plugins::TagCloudPlugin,>=0.10,perl,Required
TWiki::Plugins::TimeSincePlugin,>=0.99,perl,Required
TWiki::Plugins::TwistyPlugin,,perl,Required
TWiki::Plugins::UserInfoPlugin,>=1.5,perl,Optional
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/lib/TWiki/Plugins/BlogPlugin/MANIFEST
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/lib/TWiki/Plugins/BlogPlugin/MANIFEST 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/lib/TWiki/Plugins/BlogPlugin/MANIFEST 2006-03-01 17:06:15 UTC (rev 9021)
@@ -53,7 +53,6 @@
data/_BlogPlugin/NewsFeeds.txt 0440
data/_BlogPlugin/RenderAddComment.txt 0440
data/_BlogPlugin/RenderAdminTools.txt 0440
-data/_BlogPlugin/RenderArchiveLink.txt 0440
data/_BlogPlugin/RenderArchives.txt 0440
data/_BlogPlugin/RenderAtom.txt 0440
data/_BlogPlugin/RenderAuthorTools.txt 0440
@@ -61,7 +60,6 @@
data/_BlogPlugin/RenderBlogComment.txt 0440
data/_BlogPlugin/RenderBlogComments.txt 0440
data/_BlogPlugin/RenderBlogEntriesInCategory.txt 0440
-data/_BlogPlugin/RenderBlogEntriesInSpan.txt 0440
data/_BlogPlugin/RenderBlogEntriesOfAuthor.txt 0440
data/_BlogPlugin/RenderBlogEntry.txt 0440
data/_BlogPlugin/RenderBlogLink.txt 0440
@@ -70,7 +68,6 @@
data/_BlogPlugin/RenderBlogRoll.txt 0440
data/_BlogPlugin/RenderBlogTeaser.txt 0440
data/_BlogPlugin/RenderCategories.txt 0440
-data/_BlogPlugin/RenderCategoriesInSpan.txt 0440
data/_BlogPlugin/RenderDocNavigation.txt 0440
data/_BlogPlugin/RenderFrontPage.txt 0440
data/_BlogPlugin/RenderFrontTeaser.txt 0440
Modified: twiki/branches/DEVELOP/twikiplugins/BlogPlugin/pub/TWiki/BlogPlugin/style.css
===================================================================
--- twiki/branches/DEVELOP/twikiplugins/BlogPlugin/pub/TWiki/BlogPlugin/style.css 2006-03-01 15:56:48 UTC (rev 9020)
+++ twiki/branches/DEVELOP/twikiplugins/BlogPlugin/pub/TWiki/BlogPlugin/style.css 2006-03-01 17:06:15 UTC (rev 9021)
@@ -37,6 +37,9 @@
text-align:justify;
width:100%;
}
+.blogText cite {
+ text-align:left;
+}
.blogTeaser {
margin-bottom:1em;
}
@@ -164,7 +167,6 @@
margin-top:5px;
margin-bottom:5px;
}
-
.blogSideBarSection {
margin-top:10px;
margin-bottom:10px;
@@ -187,3 +189,50 @@
border:1px solid #E2DCC8;
}
+
+.blogArchiveModes {
+ font-size:1.2em;
+}
+.blogArchiveMode {
+ text-transform:uppercase;
+ margin:0 0.5em;
+ font-size:1.2em;
+}
+.blogArchiveModes a:hover {
+ border-bottom:2px solid #0066cc;
+ text-decoration:none;
+}
+.blogArchiveLexMins,
+.blogArchiveModes,
+.blogArchiveYears,
+.blogArchiveMonths {
+ text-align:center;
+ margin:1em 0;
+}
+.blogArchiveYear,
+.blogArchiveMonth {
+ margin:10px;
+ font-size:1em;
+}
+.blogArchiveHitList .blogNavigation {
+ margin:5px 0;
+}
+.blogArchiveHitList table td,
+.blogArchiveHitList table th {
+ vertical-align:top;
+ background:white;
+ padding-left:1em;
+}
+.blogArchiveHitList .twikiFirstCol {
+ width:2em;
+}
+.blogArchiveTagCloud {
+ text-align:center;
+ padding:20px 20px 15px 20px;
+ line-height:200%;
+}
+.blogArchiveLexMin a {
+ margin:10px 0;
+ font-size:1em;
+ padding:0 5px;
+}
|