<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Hans<br>
<br>
Thank you - I didn't realise I could do:&nbsp; <br>
<pre wrap="">
{(extract . PageName#partA#partB)}  

doh!

This may be the answer after all anyway - super!

Regards

Graham
</pre>
Hans wrote:
<blockquote cite="mid:1774684503.20080130214632@softflow.co.uk"
 type="cite">
  <pre wrap="">Wednesday, January 30, 2008, 9:29:04 PM, Graham Archer wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">I was wondering if your recipe could be extended to:
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
  <blockquote type="cite">
    <pre wrap="">  extract from #TextPatternA# to "TextPatternB"
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I think that would be going well beyond the current scope, and my
comfort zone at present.

  </pre>
  <blockquote type="cite">
    <pre wrap="">Reason:   I use (:include pagename #from#to:) at the moment to bring
content from another page. Problem with this is
the RSS for the host page doesn't trigger even thou the included page
has changed since the host hasn't been re-written.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I think you can do something like that with TextExtract.
Try:

{(extract . PageName#partA#partB)}

The source in this case is PageName from anchor 'partA' to anchor
'partB', and th epattern is a dot, meaning: include everything.

But note that this is not a true include like you get with (:include
..:) markup. Markup directives are disabled, rendered as code etc.
and links are not qualified, meaning relative links may point to the
wrong pages.


  ~Hans


_______________________________________________
pmwiki-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a>
<a class="moz-txt-link-freetext" href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a>
  </pre>
</blockquote>
</body>
</html>