Just something else which would kick ass, but I'm not able to do. Adding a field in the sign-up process for a flickr account, and then showing the (x) latest images for each member in their profile, as well as a possible 'group pool' of stuff from all the members. go on, you know you want to.
Haaaa! I wish I had that kind of time! I'll leave this one off to someone who does have that kind of time and probably some better XML parsing skills than myself.
I've had no need for it either, basically because there were no simple methods to really parsing it all. I'll have to change my ways one of these days as XML data is becoming more and more the norm of how to pass stuff around.
is this the same lech who was going on about xml parsing etc in the dictionary thread? :P I have plenty of time but i'm really very lazy and i dont know xml...so.....anyone else?
I've used MagpieRSS for a couple things like this before. If you understand PHP (or can figure out how to hack their sample code at least) it shouldn't be difficult to get up and running.
Well, it seems I'm the opposite - PHP drives me nuts, but I live in XML land. That XSLT doc should get you 99% where you want to be if you just call that a URL that parses the XML against it and include the snippet of HTML returned in the page.
It seems the main problem is web hosts don't typically enable XSLT in PHP by default? Because, yeah, parsing XML with code is tedious. So, I could write a module, but it sounds like the dependencies would limit most people's ability to use.
brady, xml parsing also tends to really screw you up if you have short-tags enabled for your php install. I think that was what pissed me off the first time around, while they should be off, my host has them on, I should probably ask around the next upgrade cycle to have them disabled.
The way I was looking at it, we could use the existing flickr badge maker, only having each member specify thier details in order to create the right code. Maybe I'm way off track, I'm better at making things look pretty, you could say, I'm the artisan painter, and you php/xml/jabbajabbadoodoo code monkeys are the plasterers ;)
Until I can do XML acrobatics within php, I am in no way shape or form touching this one :D no offense stuart, I love the idea, I'm just a bit underskilled to take this one on.
I've been playing with XML outside of the workplace for the past week or so and did a few tricks with Flickr, Netflix, and even Tivo exported XML. I have pages noting what I'm [watching](http://www.criticalminds.org/aboutme/watching.html) and [photos](http://www.criticalminds.org/aboutme/photos.html) I've recently took, for example. I'm looking to continue to expand this over time as a sort of experiment on how much personalized information I can aggregate from various web services.
I grab the feed, transform the XML, and publish the resulting HTML using Apache Cocoon and cURL, not PHP. But, I could help if you guys are interested in using XSLT for the transformations. Like I said, theoretically, you could even do the transformations on the client via JavaScript.
lech, can't you just use php_flag short_open_tag off in your .htaccess to disable it just for yourself? I think you can't do that if PHP is using phpsuexec though so depends on your host.
It would, but a potential problem is that requesting and parsing the flickr rss feed takes a good while (relatively speaking), so your page loads would probably be pretty slow.
I would really appreciate it someone has something like this, I really want to get a few pictures on my index page and I think this would be a fantastic way to do it.