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