Richard Eddy's Weblog

Week 14 – Flickr API, PHP

November 6, 2008 · Leave a Comment

PHP & FLICKR

This week we looked at flickr and a script cteated by chris wallace that retrieves photos based on keywords, tags, location or any other parameter flickr will allow you to use. I save the script and ran it myself, using tags and location as the parameters, also changing the amount of photo results displayed. It would be interedting to find out how I can set the script to display photos with a fixed preset regardless of the search. For example if the tag was banksy only images of banksy+bristol would be displayed.

VOCABULARY

An important part of the wiki was launched – The vocab. This is where terms and definitions relevant to IAD will be stored and used as reference particularly during exam time as in the exam we are expected to take two terms and state how they differ and why. Terms thus far are:

  • REST
  • SOAP
  • ATOM
  • RSS
  • API
  • AJAX
  • XHTML
  • XML
  • JSON

I hope to learn each word in the vocabulary thoroughly by the end of the term.

OTHER

We also compared human and machine readable sites. Dapper is a site that allows you to mark up part of the page and scrapes the page for you. Machine readable sites can perform alot more funtions.

Meta refresh was mentioned. This is a handy bit of code that will refresh a web page in any amount of seconds specified, BUT, creates a new page every time whereas AJAX dos it all on one page.

Hash can define what results have been seen so when the page is refreshed results arent repeated.

For our assesed presentation we are expected to research a topic and state how it works from a technical perspective.

Categories: Internet Application Development
Tagged: , , , ,