Skip to content

Instantly share code, notes, and snippets.

@sstrudeau
Last active August 29, 2015 14:27
Show Gist options
  • Save sstrudeau/07c6253e9cf5b2cf889f to your computer and use it in GitHub Desktop.
Save sstrudeau/07c6253e9cf5b2cf889f to your computer and use it in GitHub Desktop.
department <> category map
[
# Top priority (100)
{:dept=>:cleaning,
:priority=>100,
:categories=>["Housekeeping & Cleaning", "Organizing", "Projects"]},
# 75
{:dept=>:cooking, :priority=>75, :categories=>["How To"]},
# 50
{:dept=>:recipes, :priority=>50, :categories=>["Recipe"]},
# 25
{:dept=>:drinks,
:priority=>25,
:categories=>
["Drinks",
"Beer Sessions",
"Straight Up Cocktails & Spirits",
"The 10-Minute Happy Hour",
"The 9-Bottle Bar"]},
{:dept=>:story,
:priority=>25,
:categories=>
["Tours",
"Delicious Links",
"Kitchen Diary",
"Weekend Meditation",
"Etiquette",
"Gatherings from The Kitchn",
"Books & Media",
"Food News",
"LOL",
"Opinion",
"Politics"]},
{:dept=>:health, :priority=>25, :categories=>["Healthy Living"]},
{:dept=>:market,
:priority=>25,
:categories=>["Store", "Product", "Daily Find", "Grocery Shopping"]},
# 0
{:dept=>:market,
:priority=>0,
:categories=>["Kitchen Products", "Kitchens & Spaces", "Shopping & Stores"]},
{:dept=>:event, :priority=>0, :categories=>["The Kitchn Events"]},
{:dept=>:story,
:priority=>0,
:categories=>
["Entertaining & Gathering",
"Parties",
"Weddings",
"Children",
"Farming",
"Foraging",
"History",
"Music",
"People",
"Pets",
"Technology",
"Travel",
"Life in the Kitchen",
"Places",
"Seasons & Holidays",
"The Kitchn Editorial Posts",
"XNONE"]},
{:dept=>:health,
:priority=>0,
:categories=>
["Health & Diet", "Allergies", "Gluten-Free", "Low-Carb", "Low-Sugar"]},
{:dept=>:cooking,
:priority=>0,
:categories=>
["Questions",
"Quick Kitchen Facts",
"Tips & Techniques",
"Ingredient",
"Food Safety",
"Food Science",
"Groceries",
"Type of Dish"]},
{:dept=>:recipes,
:priority=>0,
:categories=>["Meal Plan", "Menu", "Kitchn Recipe Roundup"]},
{:dept=>:cleaning,
:priority=>0,
:categories=>["Insect & Pest Solutions", "Setting Up a Kitchen"]}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment