Shoutbox

RSS data into image using PHP - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: RSS data into image using PHP (/showthread.php?tid=88836)

RSS data into image using PHP by Vilkku on 01-31-2009 at 09:10 PM

Right, what I'm trying to do is to grab data from an RSS feed and add that on an image. In the end I want to create a forum signature where the title of the latest RSS item is displayed on a predefined image.
While I think I might be able to figure out how to put the text on the image, I don't have any clue how I'm supposed to grab the data from the RSS feed - I know it's essentially just an XML file, but there is not an actual XML file on the server, as the feed is handled by WordPress (http://vilkku.org/feed/ is the feed URL).
I tried to find something which already does this, but I couldn't get either of the promising results I found to work, both times I just got a notice saying the image contains errors and cannot be displayed (Here and here). I do have GD installed, so it's not that. If you have the opportunity to test those, and actually get it to work, then please say so and I'll take another look at them.


RE: RSS data into image using PHP by Thor on 01-31-2009 at 10:03 PM

http://simplepie.org/


RE: RE: RSS data into image using PHP by Vilkku on 01-31-2009 at 10:06 PM

quote:
Originally posted by Thor
http://simplepie.org/
<Nitro> I replied.
<Vilkku> oh shi-


Seems promising, thanks :D
RE: RSS data into image using PHP by MeEtc on 01-31-2009 at 10:59 PM

I can send you some code I used with status2ftp a while ago if you want


RE: RE: RSS data into image using PHP by Vilkku on 01-31-2009 at 11:03 PM

quote:
Originally posted by MeEtc
I can send you some code I used with status2ftp a while ago if you want
Thanks, I'll keep that in mind, tho I seem to be able to do this quite nicely with SimplePie =)