Hi Karl,

as stated in the coding standard, the right version is saveXml and getDOM.
I'm going to open a ticket for this issue.

About the second question, you have access to a <content:encoded> element
via *content* statement.

$item->content (attribute-style)

or

$item->content() (method-style)


Simone

On Tue, Apr 1, 2008 at 1:24 AM, Karl Katzke <[EMAIL PROTECTED]> wrote:

> Zend_Feed is a giant leap forward in feed parsing. It's made what I'm
> working on now -easy-.
>
> That being said, I've got two quibbles. Minor one first.
>
> Function capitalization: In Zend_Feed_Element, there's getDOM() and
> saveXml(). Guys, do me a favor and pick ONE capitalization standard and
> stick with it...
>
> Second quibble: I can't find any support, except for going all the way
> down to the DOMElement, for accessing an element with a name like
> "<content:encoded>". This is the way my Wordpress blog passes the full
> content in RSS. ( http://www.karlkatzke.com/feed ) Is there something I'm
> just not missing because we don't have great tools for introspection into
> what, exactly, these darned classes contain? (Or, could someone suggest a
> better way for me to see what-all a Feed_Element actually contains?)
>
> Thanks,
> Karl Katzke
>

Reply via email to