aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
AgeCommit message (Collapse)Author
2013-10-01Only link if the truck has a websiteTeddy Wing
If no website exists for the truck, don't wrap its name in an <a> tag to minimise confusion (previously the link would go to the current page which was misleading).
2013-05-20Add link to repo in index.phpTeddy Wing
2013-05-20Change the way JSON encoding is handledTeddy Wing
Don't JSON-encode output from the BostonFoodTrucks class and instead return as a regular PHP object. Do the JSON-encoding directly in the HTTP API.
2013-05-20Create page for food trucks today at lunch downtownTeddy Wing
2013-05-06Extract food truck code into a separate classTeddy Wing
The schedule() method in that class also includes a bunch of my failed attempts at filtering. Will update with a cleaner method of filtering.
2013-05-02Initial commit.Teddy Wing
Display a list of food trucks and link out to them. Also echo the JSON of all the food trucks for today at lunch.