Последние изменения - Поиск:

Разделы

PmWiki

ред.

WebFeeds-Talk

How do I include the last change (the last diff section) in the feed body ? I would like to see directly what has been modified.

What if I want the text included to be marked up to HTML?

From mailing list June 26, 2007, 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>";
  }


This is a talk page for improving PmWiki.WebFeeds.

Править - История - Печать - Последние изменения - Поиск
Редакция от 15.03.2009 03:43