[pmwiki-users] Page with contents of a list

Sandy sandy at onebit.ca
Sat Mar 25 13:35:22 CST 2006


A way for us to mark sections of the page as teaser would be good. 
Simply including the first x words means that we have to change the way 
we write.

For example, if a page has a story, the teaser should be a summary to 
generate interest and/or enough information so the reader knows if she's 
read it before:

- Which is more dangerous, a present from Zoltar, or a horde of kids 
waiting for the opening of the Easter Egg hunt in Washington DC?

As opposed to the actual start of the story:

- Princess picked up another egg, scanned it, and returned it to its 
hiding place. Then another. Then another. This was getting tedious.

Sandy



Patrick R. Michaud wrote:
> On Thu, Mar 23, 2006 at 12:34:31PM -0500, Bronwyn Boltwood wrote:
> 
>>What I really wanted was an excerpt of the post -- first N words,
>>first paragraph, that sort of thing.  I thought about asking Pm to
>>make (:include:) not include markup that produces no visible output,
>>but then I realized that this might break things in new and
>>interesting ways.  
> 
> 
> This is roughly the direction I was going with the "excerpt"
> attribute, so that it would be easy to grab and display excerpts
> that would ignore markups, but I didn't like the way the first
> attempt was going so I went back to the drawing board for it.
> 
> Essentially I'm thinking that pages should (optionally?) be able
> to store the text of the page *after* being rendered into HTML,
> possibly with many or all of the HTML tags stripped.  Then it
> would be much easier to do things such as grab the first N words,
> first N paragraphs, etc.  But I'm still struggling with some of the
> details.
> 
> Pm





More information about the pmwiki-users mailing list