[fw-general] Zend_Feed: Accessing data between the <> tags

2008-06-10 Thread ofniedan

Sorry for the strange subject title, I just didnt know how to explain this in
normal english ^_^ 

I use zend_feed to parse rss feeds, and some of them have tags that do not
consist of opening/closing pair tags, but just one tag, with inside the info
i need, for example: 
http://www.examble.com/image.jpg"; /> 
I googled for an hour now, and still i don't know how to use this tag.. 
if i iterate through the rss items, and use $item->enclosure, it returns
(obviously) a NULL. 

Anybody who could help me: me love you long time!
-- 
View this message in context: 
http://www.nabble.com/Zend_Feed%3A-Accessing-data-between-the-%3C%3E-tags-tp17696751p17696751.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] Zend_Feed: Accessing data between the <> tags

2008-06-10 Thread James Dempster
I'm not 100% sure as I've never used Zend_Feed (yet) but have you tried

echo $feed->enclosure['url'];


/James Dempster

On Tue, Jun 10, 2008 at 4:28 PM, ofniedan <[EMAIL PROTECTED]> wrote:

>
> Anybody who has any idea? I hatebumping my own post but im stuck untill i
> can
> (hopefully) solve this problem.. ;(
>
>
> ofniedan wrote:
> >
> > Sorry for the strange subject title, I just didnt know how to explain
> this
> > in normal english ^_^
> >
> > I use zend_feed to parse rss feeds, and some of them have tags that do
> not
> > consist of opening/closing pair tags, but just one tag, with inside the
> > info
> > i need, for example:
> > http://www.examble.com/image.jpg"; />
> > I googled for an hour now, and still i don't know how to use this tag..
> > if i iterate through the rss items, and use $item->enclosure, it returns
> > (obviously) a NULL.
> >
> > Anybody who could help me: me love you long time!
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Zend_Feed%3A-Accessing-data-between-the-%3C%3E-tags-tp17702323p17758214.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>


Re: [fw-general] Zend_Feed: Accessing data between the <> tags

2008-06-10 Thread ofniedan

Anybody who has any idea? I hatebumping my own post but im stuck untill i can
(hopefully) solve this problem.. ;(


ofniedan wrote:
> 
> Sorry for the strange subject title, I just didnt know how to explain this
> in normal english ^_^
> 
> I use zend_feed to parse rss feeds, and some of them have tags that do not
> consist of opening/closing pair tags, but just one tag, with inside the
> info
> i need, for example:
> http://www.examble.com/image.jpg"; />
> I googled for an hour now, and still i don't know how to use this tag..
> if i iterate through the rss items, and use $item->enclosure, it returns
> (obviously) a NULL.
> 
> Anybody who could help me: me love you long time!
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Zend_Feed%3A-Accessing-data-between-the-%3C%3E-tags-tp17702323p17758214.html
Sent from the Zend Framework mailing list archive at Nabble.com.



[fw-general] Zend_Feed: Accessing data between the <> tags

2008-06-06 Thread wouter
Sorry for the strange subject title, I just didnt know how to explain this
in normal english ^_^

I use zend_feed to parse rss feeds, and some of them have tags that do not
consist of opening/closing pair tags, but just one tag, with inside the info
i need, for example:
http://www.examble.com/image.jpg"; />
I googled for an hour now, and still i don't know how to use this tag..
if i iterate through the rss items, and use $item->enclosure, it returns
(obviously) a NULL.

Anybody who could help me: me love you long time!