Ben,
I've never seen the output, but you can do a pagelist with
fmt=#excerpts to include an extract of the page text around the search
term, as Google does. (See http://www.pmwiki.org/wiki/Cookbook/PagelistTemplateSamples.)
Maybe you can search for your text and include an excerpt around it?
I know that's not exactly what you wanted, but it's the closest I can
get.
Best,
Randy
On Jan 18, 2008, at 1:17 PM, wiki question wrote:
I looked at that -- unfortunatly I do not have control over the
page and its content is always changing. I cannot guarantee that
the anchors will contain the text I am trying to return.
Thanks,
Ben
Hans <[EMAIL PROTECTED]> wrote:
Friday, January 18, 2008, 6:07:32 PM, wiki question wrote:
> I would like to be able to include certain lines of text from a
page or group of
> pages.
> For example:
> If a line of text in Groupname.pagename contains the text "Test
Complete"
> include that line in the current page.
you could surround your text with anchors, making an anchored
section, like
[[#mysection]]
some text
..
[[#mysectionend]]
and include it with
(:include Groupname.PageName#mysection:)
There are other ways of using the include directive, just read up on
it in the documentation:
http://www.pmwiki.org/wiki/PmWiki/IncludeOtherPages
~Hans
Never miss a thing. Make Yahoo your homepage.
_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users