Is there a way to just get the first X lines of a page in the rss feed? Or better, something equivalent to an include for each item:
(:include PageName#from#to:) Thoughts? Best, Brent On 6/26/07, Paul Giacherio <[EMAIL PROTECTED]> wrote: > Hey- that works great! Exactly what I was hoping to find. > Thanks so much Roman- > > Paul Giacherio > > > > On 6/26/07, Roman < [EMAIL PROTECTED]> wrote: > > On 6/26/07, Paul Giacherio < [EMAIL PROTECTED]> wrote: > > > Can anyone point me in the right direction on how to include the full > text > > > of a page, with markup digested, in an RSS feed? I'm looking to mimic > blog > > > functionality, where an entire post can be sent in the RSS feed. > > > I see the undigested excerpt example on the Web Feeds page [ > > > http://www.pmwiki.org/wiki/PmWiki/WebFeeds ], and was > > > wondering if a "digested excerpt" were possible. > > > > Following quick copy from my config should give you the direction: > > > > $FeedFmt['rss']['item']['description'] = 'FeedText'; > > > > function FeedText($pagename, &$page, $tag) { > > $p = ReadPage($pagename); > > $content = MarkupToHTML($pagename, $p['text']); > > return "<$tag><![CDATA[$content]]></$tag>"; > > > > Roman > > > > _______________________________________________ > > pmwiki-users mailing list > > [email protected] > > http://www.pmichaud.com/mailman/listinfo/pmwiki-users > > > > > _______________________________________________ > pmwiki-users mailing list > [email protected] > http://www.pmichaud.com/mailman/listinfo/pmwiki-users > > -- Brent Zupp http://www.wanderings.net/ There is a very fine line between "hobby" and "mental illness." ~ Dave Barry _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
