Now, yes, you should make yourself a parser. Once you have that data, you make yourself a router, that will take the url query, and locate it in the parsed data.
Once you have connected query, with data, just display it in a nice day.
This is the flow of my wiki, maybe it can inspire you.
Merveilles is a community project aimed at the establishment of new ways of speaking, seeing and organizing information — A culture that seeks augmentation through the arts of engineering and design. A warm welcome to any like-minded people who feel these ideals resonate with them.