Depending on the type of module you need the new namespace for ( I think MRSS isn't all that huge) I'd just intercept the DOM and do it manually. You can access the DOM from Zend_Feed with a little persuasion, even if it's not documented as a feature. ZFR's importFeed() method does this.
Pádraic Brady http://blog.astrumfutura.com http://www.survivethedeepend.com OpenID Europe Foundation Irish Representative ________________________________ From: Gautam Arora <[email protected]> To: [email protected] Sent: Thursday, August 6, 2009 2:28:55 AM Subject: Re: [fw-general] Creating Zend_Feed with custom namespace @Paddy Zend_Feed_Writer will be great. Looking forward to it. In the meanwhile, can anyone recommend the best way to create a rss zend feed with custom namespaces? I'm sure there must be a way around using custom builders or ability to append entries (just that I havent come across it as yet :) ) Thanks! Pádraic Brady wrote: > > I can't speak for Zend_Feed itself, but in terms of the future I have > proposed Zend_Feed_Writer to the wiki for comment following in the > footsteps of Zend_Feed_Reader. It's not operational to the point of > handling custom namespaces, though the plan is to allow users write > Extensions for any Atom/RSS modules they wish (and support many at release > date). So it is planned - unfortunately not implemented just yet. I am > hoping to get it into ZF 1.10 once I have time in the next few weeks to > build it up some more and request the Zend review. > > Paddy > > Pádraic Brady > > http://blog.astrumfutura.com > http://www.survivethedeepend.com > OpenID Europe Foundation Irish Representative > > > > > > ________________________________ > From: Gautam Arora <[email protected]> > To: [email protected] > Sent: Thursday, August 6, 2009 12:03:34 AM > Subject: [fw-general] Creating Zend_Feed with custom namespace > > > I've created a zend rss feed using importArray() but now need to add some > custom namespaces (e.g. for media mrss). Their is no support for custom > namespaces in importArray() method and only single Zend_Feed_Rss_Entry can > be created with custom namespace (they cant be appended together to form a > complete rss) > These issues have been raised earlier by other members as well. > http://www.nabble.com/Producing-Google-Base-atom-feeds-td20488222.html#a20488222 > http://www.nabble.com/Beyond-Zend_Feed--td23376966.html#a23376966 > > are there any workarounds or alternatives to use custom namespaces with > zend_feed? Is support being planned for it as it is an important feature. > > Thanks > -- > View this message in context: > http://www.nabble.com/Creating-Zend_Feed-with-custom-namespace-tp24837727p24837727.html > Sent from the Zend Framework mailing list archive at Nabble.com. > > ----- > Pádraic Brady > > Blog: http://blog.astrumfutura.com > Free Zend Framework Book: http://www.survivethedeepend.com > OpenID Europe Foundation - Irish Representative > -- View this message in context: http://www.nabble.com/Creating-Zend_Feed-with-custom-namespace-tp24837727p24838961.html Sent from the Zend Framework mailing list archive at Nabble.com.
