[pmwiki-users] Full text RSS feeds?

Brent Zupp atticus4 at gmail.com
Tue Jun 26 18:58:57 CDT 2007


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 <paulgiacherio at gmail.com> wrote:
> Hey- that works great! Exactly what I was hoping to find.
> Thanks so much Roman-
>
> Paul Giacherio
>
>
>
> On 6/26/07, Roman < romat2 at gmail.com> wrote:
> > On 6/26/07, Paul Giacherio < paulgiacherio at gmail.com> 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
> > pmwiki-users at pmichaud.com
> > http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> >
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> 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



More information about the pmwiki-users mailing list