Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

members flickr feed

2»

Comments

  • MarkMark Vanilla Staff
    Awesome idea. Could make for a great extension. Just include the latest flickr stuff right at the bottom of the profile info...
  • Mark > Yeah, just need one of these fine folks to make it now and we'll be well away.
  • 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.
  • MarkMark Vanilla Staff
    I might do this one myself.... after I've released the next revision of Vanilla, though.
  • bradybrady New
    edited August 2005

    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.

  • Yeah, lovely idea!
  • 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.
  • I would do that, if .htaccess files correctly registered on my server in the first place :) my server is set up by the most insane means :)
  • how many times do i have to post this link? http://phpflickr.com/
  • edited August 2005
    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".
  • Heh I just figured that people with flickr aliases wouldn't even know what their flickr id number is.. *lol* But still this might work...
  • FLCFLC New
    edited August 2005
    When you make the badge it gives you it, mine, f'rinstance is 48889119704@N01
  • Would it be possible to some images to the sidebar on the index page? thanks. Steve
  • 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.
This discussion has been closed.