[wp-hackers] -was- Re: [wp-svn] [6273] trunk: Refactor atom support
to share code.
Lloyd Budd
lloydomattic at gmail.com
Fri Oct 19 16:18:47 GMT 2007
On 10/19/07, m at wordpress.org <m at wordpress.org> wrote:
>
>
> Revision 6273 Author westi Date 2007-10-19 15:42:30 +0000 (Fri, 19 Oct
> 2007)
> Log Message Refactor atom support to share code. Fixes #5181 props rubys
>
> Modified Paths
>
> trunk/wp-app.php
> trunk/wp-includes/feed-atom.php
> trunk/wp-includes/feed.php
>
> Diff
snip
> Modified: trunk/wp-includes/feed.php (6272 => 6273)
> --- trunk/wp-includes/feed.php 2007-10-18 22:09:56 UTC (rev 6272)
> +++ trunk/wp-includes/feed.php 2007-10-19 15:42:30 UTC (rev 6273)
> @@ -250,4 +250,46 @@
> }
> }
>
> +/**
> + * prep_atom_text_construct() - determine if given string of data is
> + * type text, html, or xhtml, per RFC 4287 section 3.1.
> + *
> + * In the case of WordPress, text is defined as containing no markup,
> + * xhtml is defined as "well formed", and html as tag soup (i.e., the
> rest).
> + *
> + * Container div tags are added to xhtml values, per section 3.1.1.3.
> + *
> + * @package WordPress
> + * @subpackage Feed
> + *
> + * @param string $data input string
> + * @return array $result array(type, value)
> + * @link
snip
prep_atom_text_construct doesn't have @since
Can someone update http://codex.wordpress.org/Inline_Documentation
with the conventions and desired fields.
Thank you,
--
Lloyd Budd | Digital Entomologist | | Skype:foolswisdom
WordPress.com | WordPress.org | Automattic.com
More information about the wp-hackers
mailing list