Working with cookbook autoarchive properties

Autoarchive is a new feature in Living Cookbook 2013 that enables the software to automatically organize your recipes as you import the or download them from the Internet. Configuring the feature involves adding autoarchive rules to cookbooks and chapters. These rules control which recipes go to which cookbooks and chapters.

What do you want to do?

Add an autoarchive rule

Delete an autoarchive rule

Use regular expressions in an autoarchive rule

Change the autoarchive rule priority for a cookbook

Add an autoarchive rule

  1. Select the Recipe Navigator.

    How?

  2. Select the cookbook you want to edit.

  3. Do one of the following:

  4. Click the Autoarchive tab.
  5. Select a recipe attribute from the Attributes list. For example if you want all American recipes to go in this cookbook then you would choose Recipe Type from the Attributes list.
  6. Enter the rule expression in the Expression box. This is the text that you want to match in the downloaded or imported recipe. Continuing our American recipes example, you would type American in the Expression box.
  7. Leave the rule type as Standard unless you are comfortable with regular expression syntax.
  8. Click OK to close the Add Autoarchive Rule window.

  9. Click OK to close the Edit Cookbook window.

Top of Page

Delete an autoarchive rule

  1. Select the Recipe Navigator.

    How?

  2. Select the cookbook you want to edit.

  3. Do one of the following:

  4. Click the Autoarchive tab.
  5. Select the autoarchive rule you want to delete.
  6. Click Delete.
  7. Click OK to close the Edit Autoarchive Rule window.

  8. Click OK to close the Edit Cookbook window.

Top of Page

Use regular expressions in an autoarchive rule

Standard autoarchive rules will suffice for most users in most situations but for those cases where you need more flexible pattern matching rules you can use regular expressions. Regular expression (or regex) is a pattern matching syntax or language. It is beyond the scope of this help file to teach users how to use regular expression but there are many useful online resources. A Google search for "regular expressions" or "regular expression tutorial" will return many useful results.

Tip:  Here are some examples of how regular expressions might be used in autoarchive rules:

chil.* colorado matches chili colorado, chile colorado, chilly colorado, chilled colorado

^french matches anything that starts with "french"

beans$ matches anything that ends with "beans"

^omelet$ matches only omelet (i.e. begins and ends with omelet)

chil[ie] matches chili or chile

recipes? matches recipe or recipes

(www\.)?allrecipes.com matches www.allrecipes.com or allrecipes.com

(French)|(Italian) matches French or Italian

  1. Select the Recipe Navigator.

    How?

  2. Select the cookbook you want to edit.

  3. Do one of the following:

  4. Click the Autoarchivetab.

  5. Select the autoarchive rule row you want to edit.

  6. Select Regular Expression from the Type list.

  7. Type a regular expression in the Expression box.
  8. Click OK to close the Edit Autoarchive Rule window.

  9. Click OK to close the Edit Cookbook window.

Top of Page

Change the autoarchive rule priority for a cookbook

When a downloaded or imported recipe matches multiple autoarchive rules the autoarchive rule priority is used to break the tie. The rule with the highest priority wins.

  1. Select the Recipe Navigator.

    How?

  2. Select the cookbook you want to edit.

  3. Do one of the following:

  4. Click the Autoarchivetab.

  5. Type a number in the Autoarchive rule priority box.

  6. Click OK to close the Edit Autoarchive Rule window.

  7. Click OK to close the Edit Cookbook window.

Top of Page

See Also