Jump to content

Parsing RSS feed with user defined url


Orphy

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.