Dr. Mark Humphrys

School of Computing. Dublin City University.

Home      Blog      Teaching      Research      Contact

Search:

CA249      CA318      CA425      CA651

w2mind.computing.dcu.ie      w2mind.org

Missing
DCU student

CASE3 student Paul Bunbury is missing since Thur 2 Feb 2012.
See appeals on crime.ie and garda.ie and facebook.

He is a great coder. See DCU page and boards.ie page.
He won major coding contests in 2010 and 2011.
He is author of the brilliant "FloodItWorld".
DCU can confirm that in Jan 2012 he passed all 6 modules comfortably.


Grab Flickr data

Write Linux/UNIX shell script to get results of a search from Flickr as an XML file, parse it and display payloads as HTML.
Can be done in 40 lines of shell or so.

  1. Flickr services

  2. Shell script usage: flickr (tag)
  3. Gets XML feed of latest photos tagged with this tag. Looks like this.
  4. Extract these items:
    <content type="html">
     quoted HTML payload
    </content>
    
  5. Convert payloads to normal HTML.
  6. See sed, tr, etc.
  7. See Parsing XML / HTML
  8. Output just those payloads (images linking to original) to $HOME/tmp/flickr.html



Feeds      HumphrysFamilyTree.com

Bookmark and Share           On Internet since 1987.