[pmwiki-users] RSS image tag oddity

Christophe David pmwiki at christophedavid.org
Sun Oct 12 05:04:27 CDT 2008


> $FeedFmt['rss']['feed']['image'] =
> "<title>Logo title</title>
>  <link>http://example.com/</link>
>  <url>http://example.com/images/logo.gif</url>
>  <width>120</width>
>  <height>60</height>";
> there is no "<image></image>" pair around the value defined, as for

Found it.  It is documented... :

"If the value of an entry begins with a '<', then feeds.php doesn't
automatically add the tag around it. Elements can also be callable
functions which are called to generate the appropriate output. See RSS
specification or other feed specifications for what feed content you
can use. "

I corrected the example on http://www.pmwiki.org/wiki/PmWiki/WebFeeds
and added a note.

Christophe



More information about the pmwiki-users mailing list