On 6/7/07, <b class="gmail_sendername">Eugene Van den Bulke</b> &lt;<a href="mailto:eugene@boardkulture.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">eugene@boardkulture.com</a>&gt; wrote:<div>

<span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Martin Spindler wrote:<br>&gt; Hi list,<br>&gt;<br>&gt; for the startpage of my blogsimple2 wiki I would like to show a summary<br>&gt; of every post. How can I show only the first 100 words (or first<br>&gt; paragraph, or ???) of each wikipage?
<br>&gt;<br>&gt; Looking forward for any advice/hint.<br>&gt;<br>&gt; Thanks,<br>&gt; Martin.<br><br>On <a href="http://www.3kwa.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.3kwa.com
</a> I include on the homepage the first 3 lines of<br>the latest post in the Logbook group, fine tune and your are set ;)
<br><br> &gt;&gt;bgcolor=#a4b6c8 padding=2px&lt;&lt;<br><br>(:pagelist group=Logbook count=1 order=-name fmt=#lnews list=normal<br>name=-HomePage:)<br><br> &gt;&gt;&lt;&lt;<br><br>with<br><br>fmt=#lnews<br><br>For the display of the latest news on the home page
<br><br>[[#lnews]]<br>!!{=$Name}<br>(:include {=$FullName} self=0 lines=3:)<br><br>%right% [[{=$FullName} | ... more ...]]<br>[[#lnewsend]]</blockquote><div><br></div></div>The way PmWiki works, three lines = three paragraphs, correct?&nbsp; And any or all of them could be blank rows and/or wikicode rather than text, also correct?&nbsp; 
<br><br>The matter of displaying some portion of the content of a page, where that portion is determined more or less automatically, rather than by a pair of [[# anchor]] tags, comes up various places, and I haven&#39;t seen one final set of answers -- I&#39;m thinking about applications such as page-summaries for search results, and for RSS feeds, as well as for blog-like excerpts.
<br><br>What are the various ways of identifying excerpts and defining them to exclude wikicode, and what would be a good place to assemble the information?&nbsp; Does the newish recipe <a href="http://www.pmwiki.org/wiki/Cookbook/MarkupExpressions" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


http://www.pmwiki.org/wiki/Cookbook/MarkupExpressions</a> add anything to the solutions that have been developed? How does (:description ...:) fit into this?<br><br>I think this should all become a page, or at least an FAQ item.
<br><br>* (:description ... :) -- Page directive; manually created;  can be used on a page to provide meta-tag info for the page, and can be displayed via [?].<br>* (:description ... :) -- Page directive; manually created;  can be used [where?] to provide meta-tag for the entire wiki
<br>* (:Summary: ... :) -- Page text variable; manually created; can be used (e.g.) to provide search-result summary, and can be displayed via <br>{Group/Page$:Summary}<br>* Pagelist with teasers -- <a href="http://www.pmwiki.org/wiki/Cookbook/PagelistTemplateSamples#Teasers" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://www.pmwiki.org/wiki/Cookbook/PagelistTemplateSamples#Teasers</a>; uses (:include ... lines=x:); each line is a paragraph; will include wikimarkup<br><br>Which, if any, of these generates the &lt;description&gt; content that (I think) an RSS display anticipates?
<br>