[Pmwiki-users] How to break text . . .
Ben Wilson
pmwiki
Sun Jul 11 21:16:18 CDT 2004
It's close to what I want, about an 80 percent solution. Allow me to
restate my goal.
I want a full page of text that has a break tag embedded in it (probably
a DoubleBracket). When that page is included on another page, then only
the text prior to the break tag is visible. The break tag itself is
converted to a "Read More". This allows for the top segment of a page to
be used as teaser material in another page.
With this approach in mind, I could have a series of complete articles,
and a single page where they are "included" with the abbreviated text
being visible. This would allow for a blog-like approach where you get
to pick and chose the articles and their order.
I think what I need to figure out is how to "substitute all text after
the tag with a 'read more' link."
Ben
On Sun, 2004-07-11 at 20:18, John Rankin wrote:
> On Monday, 12 July 2004 10:06 AM, Ben Wilson <pmwiki at dausha.net> wrote:
> >Looking for a way to have a page break at a designated spot and provide
> >a link where the remainder of the page can be read. Thus:
> >
> > paragraph one
> > [[Break]]
> > paragraph two
> > paragraph three
> >
> >could read:
> >
> > paragraph one
> > _read more_>>
> >
> >Basically, I see this as an ability to read the entire page for the
> >break location before the line-by-line processing.
>
> Have a look at
> http://www.pmwiki.org/wiki/Cookbook/IncludePara
>
> It doesn't do /exactly/ what you want, but it'd be a pretty simple
> extension. Let me know if it looks suitable.
>
> >
> >--
> >Regards,
> >Ben
> >
More information about the pmwiki-users
mailing list