Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
1 parent
eab6231
commit 92a759e
Showing
124 changed files
with
98,740 additions
and
871 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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=""}% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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)]] $percntREDDOT{\"$web.$topic\"}$percnt | ||
$expand('<div class=\"foswikiTopicSummary\">' and Summary and '</div>')<!-- --> | ||
<div class='foswikiTopicInfo'> | ||
<span class='clsAuthorDateInfo'> | ||
<!-- -->$formatTime(publishdate) | ||
<span class='foswikiRevisionSep'>|</span> | ||
<nop>$percntGETTOPICTITLE{\" | ||
$percntUSERINFO{\"$expand(Author or info.author)\" | ||
format=\"$wikiusername\" | ||
}$percnt\" | ||
}$percnt | ||
</span> | ||
$percntCATINFO{\"$web.$topic\" | ||
header=\" <span class='foswikiRevisionSep'>|</span> <span class='clsCatInfo'>\" | ||
exclude=\"TopCategory|%URLPARAM{"catname" default="%BASETOPIC%"}%\" | ||
separator=\", \" | ||
footer=\"</span>\" | ||
}$percnt$percntTAGINFO{\"$web.$topic\" | ||
header=\" <span class='foswikiRevisionSep'>|</span> <span class='clsTagInfo'>\" | ||
separator=\", \" | ||
limit=\"5\" | ||
footer=\"</span>\" | ||
}$percnt<!-- --> | ||
$percntIF{\"'$expand(total_likes)'>0\" | ||
then=\"<span class='foswikiRevisionSep'>|</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"}% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"}% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"}% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.