Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with get_description(); #164

Closed
ink85 opened this issue Dec 13, 2011 · 1 comment
Closed

problem with get_description(); #164

ink85 opened this issue Dec 13, 2011 · 1 comment
Labels

Comments

@ink85
Copy link

ink85 commented Dec 13, 2011

HI,
there's some way to echo only the first element (an image) with get_description() ?
For example I have this xml and using the function "get_description()" is going to echo out all this:

SUPER BUNNIO (1 player) SUPER BUNNIO (1 player) By steve_big_guns

I'd like "echo" only this parameter "http://i3.lbp.me/img/bm/993c8cdf80c26bf698c59165f0e683246651f5d1.png".
Is it possible?

PS
get_image_url() doesnt works cause cannot recognise the tag called "href", it contains the url of the image in this file.

Sorry for my english,

Many thanks

@ink85 ink85 closed this as completed Dec 13, 2011
@ink85 ink85 reopened this Dec 13, 2011
@ink85 ink85 closed this as completed Dec 17, 2011
@ink85 ink85 reopened this Dec 17, 2011
@rmccue
Copy link
Contributor

rmccue commented Dec 18, 2011

You need to parse the content yourself, perhaps with DOMDocument. This is not a bug, and is not a SimplePie issue.

@rmccue rmccue closed this as completed Dec 18, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants