URL Query Strings
building a customized search box
Tim Miller - firstname.lastname@example.org
There are two ways to navigate through this tutorial:
Use the left & right arrow keys
Click on the arrows in the lower right-hand corner
- explore what happens with the URL when you conduct a search
- put it all together to create a custom search box
Anatomy of a URL
Have you ever noticed that when you search on Google or Flickr (or in most searches, for that matter) that the URL on the results page includes the terms you used in your search?
The portion of the URL that includes your search terms is called a 'get string' or 'query string.'
This query string can be manipulated to create your own search right from the address bar.
let's try something…
Try a search in Flickr for 'Schipperke puppy photos.' Now filter your results to Creative Commons images only. The URL in your address bar should look something like this:
Our query string is this portion:
By Tim Miller