Pythondev Posted June 27, 2006 Share Posted June 27, 2006 Ok,I want to read a RSS feed and extract some of its contents and put them into arrays.For example take a look at this snippet of an RSS feed from my site:[code]<item><title>Glass Material</title><link>http://www.tutorialdash.com/tutorial/3d-studio-max/textures/view/Glass-Material</link><description>Glass Material - 3D Studio Max Tutorials</description></item><item><title>Cool Explosion</title><link>http://www.tutorialdash.com/tutorial/3d-studio-max/special-effects/view/Cool-Explosion</link><description>Cool Explosion - 3D Studio Max Tutorials</description></item><item><title>Cigarette Smoke</title><link>http://www.tutorialdash.com/tutorial/3d-studio-max/special-effects/view/Cigarette-Smoke</link><description>Cigarette Smoke - 3D Studio Max Tutorials</description></item>[/code]There are three items here - after running it I want to have an array something like the following...$item[0] = first item$item[1] = second item$item[2] = third item$item[0][0] = first items title$item[0][1] = first items linketc..... How can this be done?Remember this will in fact go through 25+ items each time not just 3...Thanks Quote Link to comment https://forums.phpfreaks.com/topic/13044-read-rss-feed-and-put-into-array/ Share on other sites More sharing options...
adamwhiles Posted June 27, 2006 Share Posted June 27, 2006 I think this may be what your looking for:[a href=\"http://magpierss.sourceforge.net/\" target=\"_blank\"]http://magpierss.sourceforge.net/[/a] Quote Link to comment https://forums.phpfreaks.com/topic/13044-read-rss-feed-and-put-into-array/#findComment-50202 Share on other sites More sharing options...
Pythondev Posted June 27, 2006 Author Share Posted June 27, 2006 Perfect :DThanks Quote Link to comment https://forums.phpfreaks.com/topic/13044-read-rss-feed-and-put-into-array/#findComment-50213 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.