revan / RU-Food-Scraper

Scrapes basic nutrition information for Rutgers menus into JSON.
http://vps.rsopher.com/nutrition.json
3 stars 5 forks source link

Reduce capslock #1

Open dbordak opened 10 years ago

dbordak commented 10 years ago

Existing food descriptions are entirely in capslock. This makes it annoying to read. Intelligently capitalizing items would be ideal, but probably difficult -- simply making them entirely lowercase would be nicer than what it currently is.

EDIT: I think Title Case would be appropriate for the "name" field, but lowercase for the "ingredients" string.

revan commented 10 years ago

Existing API already does this: https://rumobile.rutgers.edu/1/rutgers-dining.txt

dbordak commented 10 years ago

That's just Title Case-ing everything. Title Case Also Makes Sentences Harder To Read; just using lowercase is still easier. Additionally, if you could recognize keywords which should be capitalized, that would be even better (as an example, I see on their API "Ny Cheesecake")