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
https://forums.phpfreaks.com/topic/6911-parsing-rss-feed-with-user-defined-url/
Share on other sites

Archived

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

×
×
  • 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.