Re: Patch PhD - Add links to atom feeds in the PHP format.

From: Date: Wed, 16 Dec 2009 10:58:47 +0000
Subject: Re: Patch PhD - Add links to atom feeds in the PHP format.
References: 1 2  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969381206@lists.php.net to get a copy of this message
2009/12/15 Hannes Magnusson <hannes.magnusson@gmail.com> > On Tue, Dec 15, 2009 at 12:04, Moacir de Oliveira > <moacirdeoliveira.eng@gmail.com> wrote: > > > Patch for PhD: > > http://pastie.org/743735 > > Remove the count(), if getChildren() will return "true" if there are > children, no need to count them. > > Also, I don't actually know if <base href=""> applies to <link > href=""> values, so you may need to specify > /full/path/to/lang/feed/id.atom, especially since we define the <base> > long after we print out the <link>s. > Otherwise the feed link from http://php.net/strpos for example > wont be > correct. > > Patch fixed: http://pastie.org/745439 PHPWeb: http://pastie.org/743733 --Moacir de Oliveira

« previous php.doc (#969381206) next »