[dokuwiki] Re: Latest feed enhancements and tag plugin

  • From: Michael Klier <chi@xxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 23 Jul 2007 23:46:23 +0200

Andreas Gohr wrote:
> On Mon, 23 Jul 2007 22:38:05 +0200
> Michael Klier <chi@xxxxxxxxxxx> wrote:
> 
> > Hi everyone,
> > 
> > I noticed that the tag plugin breaks (maybe not the right term) the
> > feed.php as it stores the tags in the "subject" part of the page meta
> > data as array. The feed.php only checks if $meta['subject'] is not
> > empty.  However, I don`t know if this is better addressed to the tag
> > plugin but reffering to the dublin core standard "subject" can contain
> > multible keywords.  
> > 
> > Attached is a small patch (checks if $meta['subject'] is an array and
> > uses the first element as the keyword).
> 
> The way I intended it it should submit an array to the FeedCreator
> class which then should add all subjects as category items in the feed!?
> 
> Does this not work?

Nope, in my case I got an error: 

htmlspecialchars expects a string - array given in feedcreator.class.php
at line 956. Maybe a simplepie problem?

chi

-- 
Michael Klier

mail:   chi@xxxxxxxxxxx
www:    http://www.chimeric.de
icq:    206179334
jabber: chi@xxxxxxxxxxxxxxxxxx
key:    http://downloads.chimeric.de/chi.asc
key-id: 0x8308F551

Other related posts: