Re: Patch PhD - Add links to atom feeds in the PHP format.
| From: | Hannes Magnusson | Date: | Tue, 15 Dec 2009 15:34:00 +0000 |
| Subject: | Re: Patch PhD - Add links to atom feeds in the PHP format. | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969381205@lists.php.net to get a copy of this message | ||
On Tue, Dec 15, 2009 at 12:04, Moacir de Oliveira
<moacirdeoliveira.eng@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