%{
}%
%TMPL:INCLUDE{"SolrSearchView"}%
%{
}%
%{
}%
%TMPL:DEF{"solr::defaultweb"}%%BASEWEB%%TMPL:END%
%TMPL:DEF{"solr::input::checkboxes"}%%TMPL:END%
%TMPL:DEF{"solr::displayas"}%%TMPL:END%
%{
}%
%{
}%
%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%
%{
}%
%{
}%
%TMPL:DEF{"solr::dictionary"}%<literal>
<div class="solrDictionary solrJsonData">
{
"Dummy":"Dummy"%HIERARCHY{
web="%BASEWEB%"
separator=",$n"
top="TopCategory"
exclude="TopCategory"
header=",$n"
format=" \"$name\": \"$title\"$children"
}%,
"published": "%TRANSLATE{"published"}%",
"unpublished": "%TRANSLATE{"unpublished"}%",
"field_State_s": "%TRANSLATE{"State"}%",
"field_PublishDate_dt": "%TRANSLATE{"Date"}%",
"category": "%TRANSLATE{"Category"}%",
"Filed in": "%TRANSLATE{"Filed in [_1]"}%",
"Tagged": "%TRANSLATE{"Tagged [_1]"}%",
"tagged": "%TRANSLATE{"tagged [_1]"}%",
"keyword": "%TRANSLATE{"keyword"}%",
"tag": "%TRANSLATE{"tag"}%"
}
</div>
</literal>%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"solr::sortby"}%<!-- -->
<table class='foswikiNullTable'>
<tr>
<th>%TRANSLATE{"Sort by"}%: </th>
<td>
<select class='foswikiSelect' id='solrSorting' data-default-sort="%TMPL:P{"solr::defaultsort"}%">
<option class='foswikiOption' value='score desc'>%TRANSLATE{"Relevance"}%</option>
<option class='foswikiOption' value='date desc'>%TRANSLATE{"Last changed"}%</option>
<option class='foswikiOption' value='field_pulishdate_dt desc'>%TRANSLATE{"Publish Date"}%</option>
<option class='foswikiOption' value='title_sort asc'>%TRANSLATE{"Name"}%</option>
</select>
</td>
</tr>
</table>
<!-- -->%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"solr::facetdatestart"}%1970-01-01T00:00:00Z%TMPL:END%
%TMPL:DEF{"solr::facetdategap"}%+1MONTH%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"solr::extrafilter"}%web:%FORMATLIST{"%BASEWEB%" split="/" separator="."}% field_TopicType_lst:BlogEntry -topic:WebTopicEditTemplate%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"solr::sidebar"}%<!-- -->
<noautolink>
%TMPL:P{"solr::selection"}%
</noautolink>
%TMPL:P{"solr::facet"
id="category"
sort="index"
multivalue="true"
title="%TRANSLATE{"Category"}%"
}%
%TMPL:P{"solr::facetrange"
id="field_PublishDate_dt"
title="%TRANSLATE{"Date"}%"
start="1970-01-01T00:00:00Z"
gap="+1MONTH"
hidesingle="false"
dateformat="MM yy"
}%
%TMPL:P{"solr::facet"
id="createauthor"
title="%TRANSLATE{"Author"}%"
}%
%TMPL:P{"solr::facet"
id="field_State_s"
title="%TRANSLATE{"State"}%"
}%
<!-- -->%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"solr::templates::hits"}%<!-- -->
%TMPL:PREV%
%TMPL:P{"solr::templates::hits::BlogEntry"}%
<!-- -->%TMPL:END%
%{
}%
%{
}%
%TMPL:DEF{"solr::templates::hits::BlogEntry"}%<script id="solrHitTemplate_BlogEntry" type="text/x-jsrender">
<div class='solrSearchHit solrTopicHit clearfix'>
{{if thumbnail}}
<div class="foswikiRight foswikiImage">
<img src='%SCRIPTURLPATH{"rest"}%/ImagePlugin/resize?topic={{:web}}.{{:topic}};file={{:~encodeURIComponent(thumbnail)}};size=120>;crop=on' alt="{{:title}}" />
</div>
{{/if}}
<h2><a href='{{:url}}'>{{:title}}</a></h2>
<div class='foswikiTopicInfo' style='margin:0.5em 0'>
{{:~formatDate(field_PublishDate_dt)}} | {{:author}}
{{if field_Category_flat_lst}}
| {{:~renderList("field_Category_flat_lst", ", ", 10)}}
{{/if}}
{{if tag}}
| {{:~renderList("tag", ", ", 10)}}
{{/if}}
</div>
<div class='solrHilite'>
{{:~getHilite(id)}}
</div>
</div>
</script>%TMPL:END%
%{
}%