On Tue, Dec 15, 2009 at 12:04, Moacir de Oliveira <moacirdeoliveira....@gmail.com> wrote: > Hey guys, > > Some patches to add links to feeds in the PHP format of the PHP Package. > > 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 for PHPWeb (Thanks Hannes): > http://pastie.org/743733 I didn't actually try it.. did you? :) -Hannes