[pmwiki-users] Include specific lines of text on a page

wiki question wiki_questions at yahoo.com
Fri Jan 18 13:17:41 CST 2008


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 <design5 at softflow.co.uk> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20080118/f948c7f5/attachment.html 


More information about the pmwiki-users mailing list