i see you’ve gotten lots of code samples to help with this, but i thought
i’d add mine into the mix because i originally wrote it as an alternative to
all the bulky or inflexible code samples to accomplish the same task.
you would reference the url variables from your example like this:
url.food or url[‘food’]
url.drink or url[‘drink’]