Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Item14290: create an importer from WordPress
also:

   * improved compatibility with PatternSkin
   * using date2 instead of date formfield now
   * improved OpenGraph meta data in blog postings
   * disabled HyphenateContrib by default now due to typography issues
   * fixed calculation of comments
   * fixed rendering of breadcrumbs
   * fixed solr-based blog search
   * display type hierarchy on CompleteDocumentation now
   * improvements to FrontPageViewTemplate, RenderArchives, RenderBlogEntries, RenderBlogEntryPagination, RenderBlogEntryTitle, RenderRecentBlogEntries, RenderSimilarBlogEntries
   * improvements to rss and atom feeds, i.e. make them cacheable by default
   * new WordPress importer
   * index a publishdate property for dbcache entries
   * added new default WebLexicon feature part of latest WikiWorkbench and MultiLingualPlugin
   * added SeoTopic to blog template to be able to create seo pages that aren't necessarily a blog posting
   * added translation files
  • Loading branch information
MichaelDaum committed Jan 23, 2017
1 parent eab6231 commit 92a759e
Show file tree
Hide file tree
Showing 124 changed files with 98,740 additions and 871 deletions.
15 changes: 8 additions & 7 deletions .gitignore
@@ -1,14 +1,15 @@
*,v
*.gz
*.swp
*~
igp_*
pub/System/BlogPlugin/blogplugin.css
pub/System/BlogPlugin/blogplugin.js
BlogPlugin.md5
BlogPlugin.sha1
BlogPlugin.tgz
BlogPlugin.txt
BlogPlugin.zip
BlogPlugin_installer
BlogPlugin_installer.pl
/BlogPlugin.md5
/BlogPlugin.sha1
/BlogPlugin.tgz
/BlogPlugin.txt
/BlogPlugin.zip
/BlogPlugin_installer
/BlogPlugin_installer.pl
.changes
4 changes: 2 additions & 2 deletions data/Applications/BlogApp/ApplicationTopic.txt
@@ -1,9 +1,9 @@
%META:TOPICINFO{author="ProjectContributor" date="1425051371" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1485171728" format="1.1" version="1"}%
%META:TOPICPARENT{name="Applications.TopicStub"}%

%META:FORM{name="Applications.TopicStub"}%
%META:FIELD{name="TopicType" attributes="" title="TopicType" value="TopicStub, TopicType"}%
%META:FIELD{name="Summary" attributes="" title="Summary" value="A topic that is part of an application"}%
%META:FIELD{name="Summary" attributes="" title="Summary" value=""}%
%META:FIELD{name="WikiApplication" attributes="" title="WikiApplication" value="WikiWorkbench"}%
%META:FIELD{name="Target" attributes="" title="Target" value="Applications.ApplicationTopic"}%
%META:FIELD{name="Section" attributes="" title="Section" value=""}%
31 changes: 17 additions & 14 deletions data/Applications/BlogApp/BlogEntry.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1425051371" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485171728" format="1.1" version="1"}%
%META:TOPICPARENT{name="TopicType"}%
%DBCALL{"Applications.RenderTopicInstaller" TEXT="Install '%TOPIC%' TopicType" TYPE="TopicType"}%

Expand All @@ -10,7 +10,6 @@ This is the central TopicType to store blog entries.
%STARTINCLUDE%
%DBCALL{"Applications.RenderSimpleTopicCreator"
VALUE=""
FORM="%WEB%.%TOPIC%"
EDITOR="Applications.BlogApp.BlogEntryEdit"
EXTRA="<input type='hidden' name='State' value='unpublished' /><input type='hidden' name='DISPLAYCOMMENTS' value='on' />"
PARENT="none"
Expand All @@ -26,23 +25,27 @@ This is the central TopicType to store blog entries.

---++ <nop>%TOPIC% form
| *Name:*| *Type:* | *Size:* | *Values:* | *Description:* | *Attributes:* | *Default:* |
| TopicType | label | 1 | BlogEntry, SeoTopic, ClassifiedTopic, CategorizedTopic, TaggedTopic | Document type | | |
| TopicType | label | 1 | BlogEntry, SeoTopic, ClassifiedTopic, CategorizedTopic, TaggedTopic, WikiTopic | Document type | | |
| <nop>TopicTitle | text | 75 | | title of this blog entry | | |
| Summary | text | 75 | | enter a punch line | | |
| Tag | tag | 30 | | keywords | | |
| Category | cat | 1 | | categories this blog entry is field to | | |
| Summary | text | 75 | | enter a punch line | c | |
| Tag | tag | 30 | | keywords | | |
| Category | cat | 1 | | categories this blog entry is field to | | |
| Author | text | 75 | | author(s) of this posting | | |
| State | radio | 2 | published, unpublished | only blog entries in state published are readable by other users; unpublished blog entries are only visible for the authors of this blog entry | | |
| Publish Date | date | 10 | | date when this posting will be published automatically; leave it empty in case you manage publication state manually | | |
| Unpublish Date | date | 10 | | date when this posting will be unpublished again automatically; leave it empty in case you manage publication state manually | | |
| State | radio | 2 | published, unpublished | only blog entries in state published are readable by other users; unpublished blog entries are only visible for the authors of this blog entry | | unpublished |
| Publish Date | date2 | 10 | | date when this posting will be published automatically; leave it empty in case you manage publication state manually | | |
| Unpublish Date | date2 | 10 | | date when this posting will be unpublished again automatically; leave it empty in case you manage publication state manually | | |
| Sticky | checkbox+values | 4 | on frontpage=frontpage, on category=category | a sticky blog entries is rendered at the top of the frontpage or category independent of the normal timeline | | |
| HTML Title | text | 75 | | controls the title being added to the html page, defaults to <nop>TopicTitle if. <a href='#' id='clsGenerateTitle'>%MAKETEXT{"Generate title"}%</a> | | |
| Meta Description | textarea | 80x2 | | SEO description. Use a maximum of 160 chars for the description. <a href='#' id='clsGenerateDescription'>%MAKETEXT{"Generate description"}%</a> | | |
| Meta Keywords | text | 75 | | SEO keywords. Specify a comma separate list of keywords. <a href='#' id='clsGenerateKeywords'>%MAKETEXT{"Generate keywords"}%</a> | | |
| Meta Image | select2 | 30 | , %ATTACHMENTS{format="$name" separator=", "}% | name of attachment used as open graph image thumbnail | | |

%META:FORM{name="Applications.TopicType"}%
%META:FIELD{name="TopicType" title="TopicType" value="TopicType, DataForm, DocuTopic, ApplicationTopic"}%
%META:FIELD{name="TopicTitle" attributes="" title="<nop>TopicTitle" value=""}%
%META:FIELD{name="Inheritance" attributes="" title="Inheritance" value=""}%
%META:FIELD{name="Summary" attributes="c" title="Summary" value=""}%
%META:FIELD{name="WikiApplication" attributes="" title="WikiApplication" value="BlogApp"}%
%META:FIELD{name="TopicType" title="TopicType" value="TopicType, DataForm, DocuTopic, ApplicationTopic, WikiTopic"}%
%META:FIELD{name="TopicTitle" title="<nop>TopicTitle" value="Blog Entry"}%
%META:FIELD{name="Summary" title="Summary" value="a posting published in a blog web"}%
%META:FIELD{name="Icon" title="Icon" value="fa-rss"}%
%META:FIELD{name="Editor" title="Editor" value="Applications.BlogApp.BlogEntryEditTemplate"}%
%META:FIELD{name="Template" title="Template" value="Applications.BlogApp.BlogEntryTemplate"}%
%META:FIELD{name="TopicNaming" title="Topic Naming" value=""}%
%META:FIELD{name="WikiApplication" title="WikiApplication" value="BlogApp"}%
37 changes: 20 additions & 17 deletions data/Applications/BlogApp/BlogEntry0.txt

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions data/Applications/BlogApp/BlogEntryEditTemplate.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1425051371" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485171728" format="1.1" version="1"}%
%META:TOPICPARENT{name="TopicView"}%
%{<verbatim class="tml">}%
%TMPL:INCLUDE{"Applications.ClassificationApp.SeoTopicEdit"}%
Expand All @@ -18,7 +18,6 @@

%{<verbatim class="tml">}%
%TMPL:DEF{"formfields"}%<!-- -->
<input type="hidden" name="action" value="text" />
%TMPL:P{"publicationtab"}%
%TMPL:P{"categoriestab"}%
%TMPL:P{"tagstab"}%
Expand All @@ -43,7 +42,7 @@
%{</verbatim>}%


%META:FORM{name="Applications.ApplicationTopic"}%
%META:FORM{name="Applications.TopicView"}%
%META:FIELD{name="TopicType" title="TopicType" value="TopicView, WikiTopic"}%
%META:FIELD{name="TopicTitle" attributes="" title="<nop>TopicTitle" value=""}%
%META:FIELD{name="Summary" attributes="c" title="Summary" value="Editor for BlogEntries"}%
Expand Down
67 changes: 67 additions & 0 deletions data/Applications/BlogApp/BlogEntryRenderIndexItem.txt
@@ -0,0 +1,67 @@
%META:TOPICINFO{author="micha" comment="reprev" date="1467995753" format="1.1" reprev="1" version="1"}%
%META:TOPICPARENT{name="TopicFunction"}%
%TOC{depth="2"}%

---++ Documentation
%STARTSECTION{name="documentation" type="section"}%
This method is called by RenderCategory to display
a summary for an object of type ClassifiedTopic.

---+++++ Parameters
* OBJECT
* THEICON

%ENDSECTION{name="documentation" type="section"}%

---++ Implementation
<verbatim class="tml">
%STARTINCLUDE%<!-- -->
%DBQUERY{topic="%OBJECT%"
format="<div class='clsIndexItem clsTopicItem clsCassifiedTopicItem clearfix'>
%IF{"defined THEICON" then="$percntJQICON{%THEICON%}$percnt"}%<!-- -->
$percntDBCALL{\"$web.$topic->Applications.RenderTopicThumbnail\"
TYPE=\"plain\"
ALIGN=\"right\"
CROP=\"west\"
}$percnt<!-- -->
[[$web.$topic][$expand(topictitle)]]&nbsp;$percntREDDOT{\"$web.$topic\"}$percnt
$expand('<div class=\"foswikiTopicSummary\">' and Summary and '</div>')<!-- -->
<div class='foswikiTopicInfo'>
<span class='clsAuthorDateInfo'>
<!-- -->$formatTime(publishdate)
<span class='foswikiRevisionSep'>&#124;</span>
<nop>$percntGETTOPICTITLE{\"
$percntUSERINFO{\"$expand(Author or info.author)\"
format=\"$wikiusername\"
}$percnt\"
}$percnt
</span>
$percntCATINFO{\"$web.$topic\"
header=\" <span class='foswikiRevisionSep'>&#124;</span> <span class='clsCatInfo'>\"
exclude=\"TopCategory|%URLPARAM{"catname" default="%BASETOPIC%"}%\"
separator=\"&#44; \"
footer=\"</span>\"
}$percnt$percntTAGINFO{\"$web.$topic\"
header=\" <span class='foswikiRevisionSep'>&#124;</span> <span class='clsTagInfo'>\"
separator=\"&#44; \"
limit=\"5\"
footer=\"</span>\"
}$percnt<!-- -->
$percntIF{\"'$expand(total_likes)'>0\"
then=\"<span class='foswikiRevisionSep'>&#124;</span> <span class='clsLikeInfo'>$percntTRANSLATE{\"[quant,_1,like,likes]\" args=\"$expand(total_likes)\"}$percnt</span>\"
}$percnt<!-- -->
</div>
</div>"
}%<!-- -->%STOPINCLUDE%
</verbatim>

---++ Test
%DBCALL{"%TOPIC%" OBJECT="ThisIsATest"}%

%DBCALL{"%TOPIC%" OBJECT="BlogEntry0"}%

%META:FORM{name="Applications.TopicFunction"}%
%META:FIELD{name="TopicType" title="TopicType" value="TopicFunction, DocuTopic, ApplicationTopic, WikiTopic"}%
%META:FIELD{name="TopicTitle" title="<nop>TopicTitle" value=""}%
%META:FIELD{name="Summary" title="Summary" value="Render a summary for a BlogEntries"}%
%META:FIELD{name="WikiApplication" title="WikiApplication" value="BlogApp"}%
45 changes: 45 additions & 0 deletions data/Applications/BlogApp/BlogEntryRenderRss.txt
@@ -0,0 +1,45 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485171728" format="1.1" version="1"}%
%META:TOPICPARENT{name="TopicFunction"}%
%TOC{depth="2"}%

---++ Documentation
%STARTSECTION{"documentation"}%

---+++++ Parameters
* OBJECT

%ENDSECTION{"documentation"}%

---++ Implementation
<verbatim class="tml">
%STARTINCLUDE%%DBQUERY{topic="%OBJECT%"
format="<item rdf:about=\"%SCRIPTURL{"view"}%/$web/$topic\">
<title>$expand(topictitle)</title>
<link>%SCRIPTURL{"view"}%/$web/$topic</link>
<dc:creator>$expand(Author or @createauthor.topictitle)</dc:creator>
<dc:date>$formatTime(createdate, '$year-$mo-$dayT$hour:$minute:$secondsZ')</dc:date>
<dc:subject>$percntCATINFO{\"$web.$topic\" format=\"$dollartitle\"}$percnt, $expand(Tag)</dc:subject>
<dc:contributor>
<rdf:Description link=\"%SCRIPTURL{"view"}%/%USERSWEB%/$expand(Author or createauthor)\">
<rdf:value>$expand(Author @createauthor.topictitle)</rdf:value>
</rdf:Description>
</dc:contributor>
<description> <![CDATA[ $percntDBCALL{\"%OBJECT%\"}$percnt$percntTAGINFO{
\"$web.$topic\"
header=\"<p>%MAKETEXT{"Tags"}%: \"
format=\"$dollarname\"
separator=\", \"
footer=\"</p>\"
}$percnt
]]></description>
</item>"
}%%STOPINCLUDE%
</verbatim>


%META:FORM{name="Applications.TopicFunction"}%
%META:FIELD{name="TopicType" title="TopicType" value="TopicFunction, DocuTopic, ApplicationTopic, WikiTopic"}%
%META:FIELD{name="TopicTitle" title="<nop>TopicTitle" value=""}%
%META:FIELD{name="Summary" title="Summary" value="renders an item for a blog posting in an rss feed"}%
%META:FIELD{name="WikiApplication" title="WikiApplication" value="BlogApp"}%
%META:TOPICMOVED{by="micha" date="1438506421" from="Applications/BlogApp.RenderRss" to="Applications/BlogApp.BlogEntryRenderRss"}%
13 changes: 7 additions & 6 deletions data/Applications/BlogApp/BlogEntryTemplate.txt
@@ -1,11 +1,12 @@
%META:TOPICINFO{author="ProjectContributor" date="1425051371" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485171728" format="1.1" version="1"}%
%META:TOPICPARENT{name="TopicTemplate"}%
%STARTSECTION{"teaser"}%

%ENDSECTION{"teaser"}%

%META:FORM{name="Applications.ApplicationTopic"}%
%META:FIELD{name="TopicType" title="TopicType" value="TopicTemplate"}%
%META:FIELD{name="TopicTitle" attributes="" title="<nop>TopicTitle" value="BlogEntryTemplate"}%
%META:FIELD{name="Summary" attributes="c" title="Summary" value=""}%
%META:FIELD{name="WikiApplication" attributes="" title="WikiApplication" value="BlogApp"}%
%META:FORM{name="Applications.TopicTemplate"}%
%META:FIELD{name="TopicType" title="TopicType" value="TopicTemplate, ApplicationTopic, WikiTopic"}%
%META:FIELD{name="TopicTitle" title="<nop>TopicTitle" value=""}%
%META:FIELD{name="Summary" title="Summary" value=""}%
%META:FIELD{name="ForTopicType" title="For TopicType" value=""}%
%META:FIELD{name="WikiApplication" title="WikiApplication" value="BlogApp"}%
57 changes: 36 additions & 21 deletions data/Applications/BlogApp/BlogEntryViewTemplate.txt
@@ -1,31 +1,56 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1425051371" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485171728" format="1.1" version="1"}%
%META:TOPICPARENT{name="TopicView"}%
%{<verbatim class="tml">}%
%TMPL:INCLUDE{"Applications.ClassificationApp.SeoTopicView"}%
%{</verbatim>}%

%{<verbatim class="tml">}%
%TMPL:DEF{"beforetext"}%<!-- -->
<div class="blogEntry hyphenate">
<div class="blogEntry clearfix">
<div class="foswikiTopicInfo">
%DBCALL{"Applications.BlogApp.RenderBlogEntryTitle" TITLE_EXTRA="%TMPL:P{"titleextra"}%"}%<!-- -->
%JQREQUIRE{"button"}%<!-- -->
%ADDTOZONE{"head"
id="BLOGPLUGIN::CSS"
text="<link rel='stylesheet' href='%PUBURLPATH%/%SYSTEMWEB%/BlogPlugin/blogplugin.css' media='all' />"
}%<!-- -->
<!-- %JQREQUIRE{"hyphenator" warn="off"}% -->
</div>
%TMPL:P{"accesscontrol"}%<!-- -->
<div itemprop="articleBody">
<!-- -->%TMPL:END%
%{</verbatim>}%

%{<verbatim class="tml">}%
%TMPL:DEF{"comments"}%%IF{"State!='unpublished'"
then="$percntTMPL:PREV$percnt"
}%%TMPL:END%
%{</verbatim>}%

%{<verbatim class="tml">}%
%TMPL:DEF{"comments"}%%IF{
"State!='unpublished' and $'DISPLAYCOMMENTS'='on' and $'COMMENTFORMAT'!='insidetab' and not context save and not context preview and not context edit"
then="$percntTMPL:P{\"comments::system::%COMMENTSYSTEM{default="metacomment"}%\"}$percnt"
}%<!-- -->
%TMPL:P{"metacomments::init"}%<!-- -->
<!-- -->%TMPL:END%
%{</verbatim>}%

%{<verbatim class="tml">}%
%TMPL:DEF{"breadcrumbs::contents"}%%CATINFO{
topic="%BASEWEB%.%BASETOPIC%"
exclude="TopCategory"
header="$percntBREADCRUMBS{recurse=\"topicoff\" separator=\"%TMPL:P{"sep"}%\"}$percnt%TMPL:P{"sep"}%"
format="$breadcrumb"
separator="%TMPL:P{"sep"}%"
null="$percntBREADCRUMBS{separator=\"$percntTMPL:P{\"sep\"}$percnt\"}$percnt"
}%%TMPL:END%
%{</verbatim>}%

%{<verbatim class="tml">}%
%TMPL:DEF{"accesscontrol"}%<!-- -->
%SETVAR{field="State" matches="unpublished" var="ALLOWTOPICVIEW" type="Set" value="BlogAuthorGroup, $percntWIKINAME$percnt"}%
%SETVAR{field="State" matches="unpublished" var="ALLOWTOPICVIEW" type="Set" value="BlogAuthorGroup,$percntFORMFIELD{\"Author\" format=\" $value,\"}$percnt $percntWIKINAME$percnt"}%
%SETVAR{field="State" matches="unpublished" var="PERMSET_VIEW" value="details" type="Local"}%
%SETVAR{field="State" matches="unpublished" var="PERMSET_VIEW_DETAILS" value="BlogAuthorGroup, $percntWIKINAME$percnt" type="Local"}%
%SETVAR{field="State" matches="unpublished" var="PERMSET_VIEW_DETAILS" value="BlogAuthorGroup,$percntFORMFIELD{\"Author\" format=\" $value,\"}$percnt $percntWIKINAME$percnt" type="Local"}%
%UNSETVAR{field="State" matches="published" var="ALLOWTOPICVIEW"}%
%UNSETVAR{field="State" matches="published" var="PERMSET_VIEW"}%
%UNSETVAR{field="State" matches="published" var="PERMSET_VIEW_DETAILS"}%
Expand All @@ -35,8 +60,8 @@
%{<verbatim class="tml">}%
%TMPL:DEF{"aftertext"}%<!-- -->
</div>
%DBCALL{"Applications.BlogApp.RenderBlogEntryPagination" CLASS="blogBottomPagination"}%
</div>
%DBCALL{"Applications.BlogApp.RenderBlogEntryPagination" CLASS="blogBottomPagination"}%
<!-- -->%TMPL:END%
%{</verbatim>}%

Expand All @@ -50,22 +75,12 @@
}%%TMPL:END%
%{</verbatim>}%

%{<verbatim class="tml">}%
%TMPL:DEF{"breadcrumbs::contents"}%%CATINFO{
topic="%BASEWEB%.%BASETOPIC%"
header="$percntBREADCRUMBS{recurse=\"topicoff\" separator=\"%TMPL:P{"sep"}%\"}$percnt%TMPL:P{"sep"}%"
format="$breadcrumb"
separator="%TMPL:P{"sep"}%"
null="$percntBREADCRUMBS{separator=\"$percntTMPL:P{\"sep\"}$percnt\"}$percnt"
}%%TMPL:END%
%{</verbatim>}%

%{<verbatim class="tml">}%
%TMPL:DEF{"sidebar"}%%DBCALL{"Applications.BlogApp.RenderSideBar" SIDEBAR="BlogEntry"}%%TMPL:END%
%{</verbatim>}%

%META:FORM{name="Applications.ApplicationTopic"}%
%META:FIELD{name="TopicType" title="TopicType" value="TopicView, WikiTopic"}%
%META:FIELD{name="TopicTitle" attributes="" title="<nop>TopicTitle" value=""}%
%META:FIELD{name="Summary" attributes="c" title="Summary" value="TopicView for BlogEntries"}%
%META:FIELD{name="WikiApplication" attributes="" title="WikiApplication" value="BlogApp"}%
%META:FORM{name="Applications.TopicView"}%
%META:FIELD{name="TopicType" title="TopicType" value="TopicView, ApplicationTopic, WikiTopic"}%
%META:FIELD{name="TopicTitle" title="<nop>TopicTitle" value=""}%
%META:FIELD{name="Summary" title="Summary" value="TopicView for BlogEntries"}%
%META:FIELD{name="WikiApplication" title="WikiApplication" value="BlogApp"}%
22 changes: 15 additions & 7 deletions data/Applications/BlogApp/BlogSearchViewTemplate.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1425051371" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1485171728" format="1.1" version="1"}%
%META:TOPICPARENT{name="TopicView"}%
%{<verbatim class="tml">}%
%TMPL:INCLUDE{"SolrSearchView"}%
Expand All @@ -10,6 +10,14 @@
%TMPL:DEF{"solr::displayas"}%%TMPL:END%
%{</verbatim>}%

%{<verbatim class="tml">}%
%TMPL:DEF{"solr::assets"}%%TMPL:PREV%%ADDTOZONE{"head"
id="BLOGPLUGIN::CSS"
requires="SOLRPLUGIN"
text="<link rel='stylesheet' href='%PUBURLPATH%/%SYSTEMWEB%/BlogPlugin/blogplugin.css' media='all' />"
}%%TMPL:END%
%{</verbatim>}%

%{<verbatim class="tml">}%
%TMPL:DEF{"solr::dictionary"}%<literal>
<div class="solrDictionary solrJsonData">
Expand Down Expand Up @@ -61,7 +69,7 @@
%{</verbatim>}%

%{<verbatim class="tml">}%
%TMPL:DEF{"solr::extrafilter"}%field_TopicType_lst:BlogEntry -topic:WebTopicEditTemplate%TMPL:END%
%TMPL:DEF{"solr::extrafilter"}%web:%BASEWEB% field_TopicType_lst:BlogEntry -topic:WebTopicEditTemplate%TMPL:END%
%{</verbatim>}%

%{<verbatim class="tml">}%
Expand Down Expand Up @@ -109,7 +117,7 @@
<img src='%SCRIPTURLPATH{"rest"}%/ImagePlugin/resize?topic={{:web}}.{{:topic}};file={{:~encodeURIComponent(thumbnail)}};size=120>;crop=on' alt="{{:title}}" />
</div>
{{/if}}
<h2 style='margin-bottom:0'><a href='{{:url}}'>{{:title}}</a></h2>
<h2><a href='{{:url}}'>{{:title}}</a></h2>
<div class='foswikiTopicInfo' style='margin:0.5em 0'>
{{:~formatDate(createdate)}} | {{:author}}
{{if field_Category_flat_lst}}
Expand All @@ -126,8 +134,8 @@
</script>%TMPL:END%
%{</verbatim>}%

%META:FORM{name="Applications.ApplicationTopic"}%
%META:FIELD{name="TopicType" title="TopicType" value="TopicView"}%
%META:FIELD{name="TopicTitle" attributes="" title="<nop>TopicTitle" value=""}%
%META:FIELD{name="Summary" attributes="c" title="Summary" value="Solr search for blogs"}%
%META:FORM{name="Applications.TopicView"}%
%META:FIELD{name="TopicType" title="TopicType" value="TopicView, WikiTopic"}%
%META:FIELD{name="TopicTitle" title="<nop>TopicTitle" value=""}%
%META:FIELD{name="Summary" title="Summary" value="Solr search for blogs"}%
%META:FIELD{name="WikiApplication" attributes="" title="WikiApplication" value="BlogApp"}%

0 comments on commit 92a759e

Please sign in to comment.