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 and photos 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.
XML in php5 is yummily simple. If you've any experience with Javascript the whole experience is very pleasant.
http://www.zend.com/php5/articles/php5-xmlphp.php#Heading4
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.
Or you could do it the easy way, use the old flickr badge code like I do at http://jermexpress.com and style it all you like.
This is what the old badge code looks like:
<script type="text/javascript" src="http://www.flickr.com/badge_code.gne?nsid=49382004@N00&count=3&display=random&name=0&size=square&raw=1"></script>
All you need to do is have each member submit their flickr id number instead of their alias which is this part I think "49382004@N00".
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 was think of just having 3-4 pictures.
Do you still think it would be 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.
Comments
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 and photos 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.