Jump to content

Archived

This topic is now archived and is closed to further replies.

Orphy

Parsing RSS feed with user defined url

Recommended Posts

Hi I need to parse url defined by the user.

SO far I used the parser magpiesrss ...works for a single url but not when I tried to make it a varible.

so this is the url

View RSS Feed [a href=\"http://finance.yahoo.com/rss/headline?s=VARIABLE\" target=\"_blank\"]http://finance.yahoo.com/rss/headline?s=VARIABLE[/a]

you see where it says variable, I want to get the user text and parse that url.

Please tell me how I can do it.. and with what.

Magpierss was able to parse single url, and when I define the variable with $usertext like this

View RSS Feed [a href=\"http://finance.yahoo.com/rss/headline?s=$usertext\" target=\"_blank\"]http://finance.yahoo.com/rss/headline?s=$usertext[/a]

it can't read it properly.

Please tell me what I shoul do

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.