[pmwiki-users] using ReadPage (was "rss feed marked up to html")

Maria McKinley parody at u.washington.edu
Fri May 7 01:56:18 CDT 2010


Hello there,

See if rephrasing my question helps. I am currently suing this code by Roman:

$FeedFmt['rss']['item']['description'] = 'FeedText';

  function FeedText($pagename, &$page, $tag) {
    $p = ReadPage($pagename);
    $content = MarkupToHTML($pagename, $p['text']);
    return "<$tag><![CDATA[$content]]></$tag>";
  }

I was wondering if there is someway to limit the array that is
returned by ReadPage, do that it only pulls the content up to
>>div1end<<[[#blogend]]?

thanks,
maria



More information about the pmwiki-users mailing list