Video showing best way to edit a recipe from the web into DGX format using TextWrangler

December 18, 2014

Link to Video of editing downloaded recipe into DGX Format

https://www.dropbox.com/s/j8c9eozvbqo4ow6/EditDownloadedRecipe%203.mov?dl=0

Getting Started with iCloud for iHungryMe+ with iOS 8

December 17, 2014


iCloud and iHungryMe+ , iOS 8 Only

BASIC INFORMATION

1. When iHungryMe+ is installed, it comes up in non-iCloud mode, that is, the app setting “iCloud Enabled” is NO.

2. The  first time your device enters iCloud Mode, a second iCloud database is created.
The user decides to start the process by seeding from the “primary” device, as explain later. All the data from the non-iCloud database moved into iCloud by moving it into the iCloud database.

3. If a device is in iCloud mode, any insertions, edits or deletions to iCloud’s database are passed on to the other devices on the account that have iHungryMe+ with iCloud Enabled turned ON.

4. You can toggle back and forth between iCloud and non-iCloud mode as often as you like.

5. In non-iCloud mode, alterations to the data in the database is not reflected in the iCloud database, with the single exception of the first time the first of your iOS devices enters iCloud mode. This process, called iCloud seeding, gives the iCloud database its initial data. Any DGX import made to one database (iCloud/non-iCloud) is not seen in the other. There is no real need to do any DGX import into the non-iCloud database prior to turning on iCloud mode for the first time, since once all your iOS devices are syncing with iCloud using a single iCloud account, any DGX recipe import to any of the syncing devices, will be automatically propagated to all your other syncing iOS devices.

6. If you are in iCloud mode and you temporarily loose your data connection, you are able to continue making changes to the data.
This data will “sync” with iCloud as soon as the connection is re-established.

What will iCloud do for me?

iCloud allows you to sync data for multiple devices sharing an iCloud account.

If you add, edit or delete data on one device, the changes are automatically reflected soon thereafter on all the other devices.

iCloud will automatically backup your data.

What Do I Need To Use iCloud? Read the rest of this entry »

iHungryMe+ V:4.6 for iOS 6 and higher, is now available at iTunes app store. iPhone, iPad and iPod Touch

December 17, 2014

iHungryMe+V:4.6 now supports iCloud syncing of all your recipes and photos on iOS 8. All other features are available for iOS 6 and higher on iPhone, iPad and iPod Touch.

Download it today!

Watch video of HungryMe V:1.0 for Mac OS X importing 37 recipes from a DGX file

December 17, 2014

Click link to view video: https://www.dropbox.com/s/88btfpkuocjam3a/MacDgxImport37.mov?dl=0

How to use your Mac and TextWrangler to add a downloaded recipe to your DGX files.

December 17, 2014

Hello and welcome to this video which shows you how to use TextWrangler to edit a DGX file. See your app’s onboard documentation for further details on DGX files – both on OS X and iOS. The link to the video is at the bottom of this page.

This is an example of a DGX file, which has 13 recipes. As you can see, each ingredient line, each numbered direction and each paragraph of comments is on its own line. Each of line contains no embedded linefeed (line break) characters. When you download a recipe from the internet, this is the format used. By having no embedded linefeed characters, your device is able to appropriately wrap the lines as the device rotates or as the user resizes a window containing the text.

However, when you want to edit the DGX file, these very long lines are hard to deal with.To make editing easier, simply add as many embedded linefeeds as you like by hitting the Return key

When you are done editing an area, simply select the area with the newly included line breaks and then select the menu choice:

Text – Remove Line Breaks

I Will demonstrate all this as I add a new recipe from Epicurious.com to the bottom of this DGX file. Let’s begin by copying and pasting the newly downloaded recipe for Tomato Soup at the bottom of the DGX file.

Each recipe of a DGX file begins with a line containing the Recipe Name followed by any search categories which you wish to add to the recipe.

The Recipe Name line must begin and end with a pair of square brackets ‘[[‘ and ‘]]’

There is an Enforced Order for each recipe. This order has four simple rules. This is all you
ever need to know to properly format a DGX file, ‘NIDC’.

1. Recipe Name line, e.g. [[Tomato Soup :: Soups :: Treats ::My Favorites ]]
2. Ingredients area. Preceded by Recipe Name line.
3. Directions area. Precede by ‘Directions@’ tag.
4. Comments area. Preceded by ‘Comments@’ tag.
Note: no white space is permitted in the paired colons or square brackets. Otherwise use as much whitespace as you like, in or between lines.
Any or all of the areas: ingredients, directions and comments may be empty, but the two tags must be present and ordered for each recipe.

Lets now edit the new Tomato Soup recipe so that it can be imported into HungryMe for Mac or iHungryMe+ for iOS.

A. First you putting a pair of opening and closing square brackets around the Recipe Name.
B. Next, following the Recipe Name add any desired search categories, each preceded by a pair of colons, ‘::’.
C. Next ensure that the Enforced Order is observed by moving the comments down to the bottom of the recipe.
Now we have the Enforced Order outlined in the four rules just above.
D. Lastly we make sure that the two tags, namely ‘Directions@’ and ‘Comments@’ are included, properly positioned and case-sensitively spelled.

Video showing iCloud seeding of iHungryMe+ V:4.6

October 20, 2014

NOTE: iCloud support for iHungryMe+ V:4.6 requires iOS 8. All other features of the app are supported by iOS 6 and higher.

Hello HungryMe users (Mac) and iHungryMe+ users (iPad, iPhone and iPod Touch) !

October 19, 2014

Welcome to this blog. This is the place to learn about HungryMe for Mac OS X, and iHungryMe+ for iOS. Please enter comments, thoughts, wishlist for iHungry Apps ! Feel free to share your favorite recipes here with your cooking friends. Be sure to read Help in iHungryMe+ at : Home-> Info button -> Help button. Mac users will find Help for HungryMe for OS X in the main menu : Help -> HungryMe Help.

Be sure to watch the videos now available at this site dealing with such topics as:

DGX file creation, movement to and from iHungryMe+ using iTunes File Sharing

DGX file importation and exportation for both iOS and Mac OS X.

DGX file as a speedy method to edit and batch file import many recipes at a time.

How to use iCloud to sync all your recipes, categories and photos on all your iOS devices.

iHungryMe+’s Onboard FAQ file for export/import of user-defined recipes in a DGX file

October 19, 2014

— Import/Export User Recipes FAQ —

Frequently asked questions about Import and Export of user-defined Recipes.

The content and format of an import and an export DGX file is identical. Only the naming differs.

If you wish to see videos demonstrating DGX file importation using iTunes File Sharing on your device right now, see the two following links:

MOVING DGX FILE TO DEVICE WITH ITUNES FILE SHARING
Home -> Info button -> Help button -> Editing TAB

https://www.dropbox.com/s/ub2s7fl3c5w5qs4/MovingDgxFileToDeviceWith-iTunesFileSharing%20.mov?dl=0

BATCH IMPORT RECIPES INTO IHUNGRYME+ WITH DGX FILE
Home -> Info button -> Help button -> Editing TAB

https://www.dropbox.com/s/z6xtwrvnwnqsik0/DgxImport-37Recipes.mp4?dl=0

For your convenience, this same file can be moved from this device to your computer using iTunes File Sharing. See FAQ #4.

[ #0 ] How do I import the 13 Recipes in the Sample import DGX Recipe file that comes with iHungryMe+?

Unlike HungryMe V:1.0 for Mac OS X, iHungryMePlus on iOS requires a very specific name for imported DGX file. That name is case sensitive :

DG_Recipes_Import.dgx

Therefore you need to do the following:

0. See the links to two videos about DGX file importation near the top of this file. The most recent videos are at the support website.

1. Run iTunes on your Mac or PC and connect your iOS device.

2. Once your device appears in the left column, select your device. Then select ‘Apps’ at the top middle of iTunes’ right pane.

3. Scroll down to the bottom area named “iTunes File Sharing”.

4. Select the icon for iHungryMePlus on the left.

5. Select the file “Sample_DG_Recipes_Import.dgx” in the app’s Documents/ folder on the right.

6. Choose ‘Save to…’ and save the DGX file to your hard drive, as outlined in FAQ #4

7. Rename this DGX file by deleting the first seven characters of its name:

Sample_DG_Recipes_Import.dgx -> DG_Recipes_Import.dgx

8. Examine the the DGX file in your text editor, e.g. TextWrangler, TextEdit or Notepad, and edit out any Recipes that you don’t want.

9. Import this newly edited DGX file by following the step in FAQ #1.

[ #1 ] How is the importation actually done?

1. Move a properly formatted DG_Recipes_Import.dgx file to the device using iTunes File Sharing and the “Add..’ file choice. (Example DGX file is found near bottom of this file. See FAQ #6 for details of DGX file.)

2. Using the system Settings app, set the app’s Preference ‘Import Recipes’ to ON

3. Visit the apps Home view and touch the ‘Import’ button.

The best way to learn this method may be to watch to the two video whose links are near the top of this file. The links above work fine, but it is easier to see the details and to understand the process in these video by viewing them on your computer’s larger screen. For this reason a copies of the Help file text for Ex/Import Tab is to be found in the app’s ‘Documents/ folder when you connect your device to iTunes. The files can be moved to your computer by using iTunes File Sharing ‘Save to…). See FAQ #4.

[ #2 ] How do I export all the user-defined Recipes in iHungryMe+?

Select: Home-> Info Button-> ‘Export User Recipes’ Button.

This creates a file in the app’s Documents folder named:

DG_Recipes_Export.dgx

which is accessible with iTunes File Sharing.(See FAQ #4)

Note: No photos for the Recipe are exported in the DGX file.

[ #3 ] How do I backup my user-defined Recipes?

Create the file :

DG_Recipes_Export.dgx

as outlined in #2 above and copy it elsewhere using iTunes File Sharing (‘Save to…’).

This file is both readable and shareable.

The Recipes are not backed up until you move the DGX file off of your iOS device.

[ #4 ] How do I read and store these files on my device?

Certain iOS apps such as iHungryMe+ have enabled file sharing with iTunes.

To access an app’s shared files on an iOS devices, simply run iTunes, connect your device and use:

iTunes-> Devices-> Your Connected Device-> Apps-> FileSharing-> The App

- select file + Delete Key -> deletes file from app’s Documents/ folder (Caution!)

- select file + ‘Save to…’ -> backs up selected file from device to a chosen location

- ‘Add…’ -> move a file from your computer to the app’s Documents/ folder

[ #5 ] How do I move user Recipes from one iOS device to another?

- Create DGX export file as explained in FAQ #2 above.

- Copy or move this file somewhere off the device using iTunes File Sharing.

- Rename the file:

from: DG_Recipes_Export.dgx
to: DG_Recipes_Import.dgx

- connect the second device to your computer

- Using iTunes File Sharing, (using Add…) copy the renamed DGX file from your computer to the app’s Document folder using ‘Add…’, as explain in #4 above.

- Set the app’s Preference ‘Import Recipes’ to ON using:

Device’s Settings app-> iHungryMe+ Preferences-> Import User Recipes

- Touch the ‘Import’ button on the home view, and the Recipes in the DGX file will be imported.

If the ‘Import’ button is not present at the upper right of the home view, then leave the home view and then revisit it . If you still do not see the ‘Import’ button there are three possible explanations:

1. The DG_Recipes_Import.dgx file is missing from the app’s Documents Folder

2. The DGX import file’s name is misspelled (case-sensitive).

3. The app’s ‘Import Recipes’ preference has not been set to ‘ON’.

Note: the Preference will automatically be reset to OFF after the completion of the import and after the cancellation of the import.

[ #6 ] How do I create a DGX file myself, so that I can instantly import many Recipes of my choice onto my iOS devices?

- Create a text file using a text editor, say TextEdit on a Mac or Notepad on Windows.

Name the file:

DG_Recipes_Import.dgx (case sensitive!)

(if a wordprocessor is used, save it as a text file.)

Each imported Recipe MUST contain at least three lines:

1. Correctly formated Recipe Name line

2. Directions@ line

3. Comments@ line

These three lines without any further text create an empty, but importable Recipe with name only.

The areas following Recipe Name, Directions@ tag and Comments@ tag may be empty but the ordering of the three listed items must be observed.

You can optionally include Categories on the Recipe Name line. These Categories can be new or pre-exist the import of the Recipe. The format for including Recipe Categories is provided later.

The ingredients are followed by the DirectionsTag, namely,

Directions@

The directions are followed by the CommentsTag, namely,

Comments@

The comments text, if any, must be after the Comments@ tag.

Please note that the ‘Directions@’ and ‘Comments@’ tags serve only to separate data areas and are not actually written to the database.

- ALWAYS order the parts of the Recipes such that you have Recipe Name, Ingredients text, Directions text and Comments text in that order.

Begin each Recipe with Recipe Name enclosed in double square brackets, e.g.,

[[ Apple Pie]]

You may optionally include 1 or more Categories (new or exisiting) for the Recipe, as follows:

[[Apple Pie :: Desserts :: Treats :: Some New Category :: My Own Recipes ]]

IMPORTANT: the pairs of square brackets and paired colons must not be separated by white space. Other than that, white space is unimportant to the import parser. Each Category name must be preceded by a pair of colons, ‘::’

Follow the Recipe name by the ingredients text. This area is a good place to include such things as author, cooktime, serves count etc.

Follow the ingredients text with the Directions Tag, that is,

Directions@

Follow the directions text by the CommentsTag, namely,

Comments@

The Recipe’s comments end the Recipe’s data.

Put as many Recipes as you like into a DGX import file.

Note: the directions and comments tags serve only to delineate data sections. These tags are not written to the database.

An example recipe for Tomato Soup downloaded from the network is found near the bottom of this file. This downloaded recipe is immediately followed by the same recipe in DGX format, ready for import into iHungryMe+

[ #7 ] I try to import my Recipes but I don’t see the ‘Import’ button. What is wrong?

Check in iTunes File Sharing that the import file is present on the device in the app’s Documents/ folder and has the case sensitive name:

DG_Recipes_Import.dgx

Be sure too, that you have the app’s Preference ‘Import Recipes’ set to ON.

[ #8 ] Can I share all my user-defined Recipes with my friends who have an iPhone, iPod Touch or iPad?

Yes! Your Recipes can be shared by emailing them to your friends. It is done this way:

1. Ensure that your friend has HungryMe for Mac OS X V:1.0 or iHungryMePlus V:2.1 or later.

2. Export your user-defined Recipes following FAQ #2 above.

3. If your friend wants your Recipes on iOS, rename the DG_Recipes_Export.dgx to:

DG_Recipes_Import.dgx

[ #9 ] Can I keep all my Recipes in a single file and just keep importing a copy of that file?

Yes! I suggest you keep and single file and that you back it up
regularly. You could name it All_Recipes_Import.dgx. Use it to contain all your user-defined Recipes. Each time you want to import the newly added Recipes, simply rename a COPY of it to:

DG_Recipes_Import.dgx

Then follow the importation process outlined in FAQ #1 and detailed in FAQ #5. Only the new Recipes will be imported. The DGX file Recipes which have been previously imported will be skipped, so as to avoid duplication.

[ #10 ] I batch file imported my user-defined Recipes. I now see that on several Recipes I wish I had added more search Categories. What do I do?

Delete the particular Recipes from the device. Add the desired extra Categories in the DGX file and reimport the DGX file.

OR …

You can add, edit or delete Categories for Any Recipe at anytime using the app’s “Edit” button on the second view level, that is, the one where a list of Recipe names appears. You can add Categories using the “Edit” button on the home view, the view which lists Categories.
A change to a Category name inside iHungryMe+ immediately affects the name for all Recipes that use the Category.

[ #11 ] Why don’t my user-defined Recipes display correctly on my device(s).? They are formatted correctly in my text editor but the lines do not display correctly on my device.

Note: this explanation will be most beneficial if you are viewing it on your iOS device, and not after exporting it to your computer !!!

You need to remove SOME of the linefeeds from your edited Recipes prior to transferring the import DGX file to your device with iTunes File Sharing. In your editor – and I suggest, for Mac users, that you get the free TextWrangler Mac app – you can easily delete unwanted carriage returns or linebreaks. Basically you need to make multiple poorly wrapping lines into fewer long single lines and then let your device, as it rotates, dynamically decide how to rewrap each long line. Let us take the example of the three following directions which appear fine in my text editor, but will not look well on an iOS device.

1. In a deep heavy pot saute at medium heat 2 Tbsp. onions in
3 Tbsp. olive oil and 3 Tbsp. butter until transparent.

2. Add 2 Tbsp. each chopped celery and carrot and cook for
another 3 minutes.

3. Add the ground chuck and 1 tsp. salt. Break up the meat with
a wooden spoon and cook until the redness is gone. Turn up to
medium high heat and add the wine. Cook, stirring occasionally,
until the wine has evaporated.

In TextWrangler you can select all three directions above, thus highlighting them.

Then use the TextWrangler Menu choice: Text -> Remove Linebreaks, and you will then have each of the three numbered directions as a single line. These long lines may not appear well in your editor, as the long lines may extend off to the side of the view. Your device will however be able to wrap as it sees fit, as it shifts from portrait to landscape orientation.

You can rotate your device NOW to see that the three numbered directions above do not display well in either orientation, while the three directions below (minus the unwanted extra linebreaks you inserted while formatting on you computer) display well in both orientations on this or any iOS device. You do need an extra linebreak added at the end of each of these long lines, if you want to have a blank line separating each of the three numbered directions.

After removing the linebreaks, the three instructions will appear like:

1. In a deep heavy pot saute at medium heat 2 Tbsp. onions in 3 Tbsp. olive oil and 3 Tbsp. butter until transparent.

2. Add 2 Tbsp. each chopped celery and carrot and cook for another 3 minutes.

3. Add the ground chuck and 1 tsp. salt. Break up the meat with a wooden spoon and cook until the redness is gone. Turn up to medium high heat and add the wine. Cook, stirring occasionally, until the wine has evaporated.

The paragraphs of your Comments are handled similarly. Make each paragraph into one long line followed by one or more linefeeds depending on the number of blank lines desires after it. The lines of your Ingredients may be too long to display on one line on your device. Remove linefeed that are within the ingredient line and it will then wrap properly on your iOS device.

Another way to state the necessary editing for correct display of Recipe text on any iOS device is the following:

Make sure that the following items are all on a single line in your text editor before saving.

A. Each ingredient line

B. Each paragraph of the Directions and Comments. A numbered Direction line is here considered a paragraph.

Note: You may place as many linefeeds as you like before or after the A and B items above to provide blank lines, but you want no linefeed embedded within these items.

[ #12 ] I want to delete a Category on my device, but there is no deletion button for the Category when I enter edit more. What can I do?

In edit mode, the only Categories that have deletion buttons (Red Minus Signs), are the Categories that are unused by any Recipe. On the Home view select the unwanted Category and note the Recipes listed. You need to remove the unwanted Category from all the Recipes listed. Then you will see a deletion button for the unwanted Category.

NOTE: Just below you see how to edit one of your own Recipes so that it can be imported.

— Begin Recipe Text File Downloaded from Epicurious —

Tomato Soup

What’s better than fresh, creamy tomato soup on a Sunday night? Ground cloves add the flavor we all remember as kids. Just go very easy, as it is a strong spice.
Yield: Makes 6 to 8 servings

ingredients
2 tablespoons butter
2 tablespoons olive oil
1 large onion, chopped
1 tablespoon minced garlic
2 tablespoons flour
3 1/2 pounds ripe tomatoes, chopped
2 tablespoons tomato paste
1 teaspoon sugar
3 cups Fresh Vegetable Broth
1/8 teaspoon ground cloves
Salt and pepper, to taste
1/2 cup half-and-half

preparation
1. Melt the butter with the oil over low heat in a pot.

2. Add the onion; wilt over low heat for 8 to 10 minutes. Add the garlic during the last 2 minutes, stirring. Sprinkle with flour and cook 3 minutes longer, stirring.

3. Add the tomatoes, tomato paste, sugar, and broth. Bring to a boil, reduce heat to a simmer and cover; cook over medium-low heat for 30 minutes. Season with cloves, salt, and pepper. Remove from heat and cool slightly.

4. Purée the soup in a food processor. Pour through a strainer into a pot. Stir in the half-and-half.

5. Warm the soup before serving.

— End Downloaded Recipe —

— Begin Same In DGX Format Ready For Import —

[[Tomato Soup :: Soups :: Treats :: Some New Category :: User-Defined ]]

from: epicurious.com
cooktime: 40 min
serves: 6

2 tablespoons butter
2 tablespoons olive oil
1 large onion, chopped
1 tablespoon minced garlic
2 tablespoons flour
3 1/2 pounds ripe tomatoes, chopped
2 tablespoons tomato paste
1 teaspoon sugar
3 cups Fresh Vegetable Broth
1/8 teaspoon ground cloves
Salt and pepper, to taste
1/2 cup half-and-half

Directions@

preparation
1. Melt the butter with the oil over low heat in a pot.

2. Add the onion; wilt over low heat for 8 to 10 minutes. Add the garlic during the last 2 minutes, stirring. Sprinkle with flour and cook 3 minutes longer, stirring.

3. Add the tomatoes, tomato paste, sugar, and broth. Bring to a boil, reduce heat to a simmer and cover; cook over medium-low heat for 30 minutes. Season with cloves, salt, and pepper. Remove from heat and cool slightly.

4. Purée the soup in a food processor. Pour through a strainer into a pot. Stir in the half-and-half.

5. Warm the soup before serving.

Comments@

What’s better than fresh, creamy tomato soup on a Sunday night? Ground cloves add the flavor we all remember as kids. Just go very easy, as it is a strong spice.

— End same in DGX Format file Ready For Import (Observe the presence, order and case sensitive spelling of the two tags: ‘Directions@’ and ‘Comments@’ )—

NOTE: there are line break/CRLF characters before and after each direction, but no line break characters are found embedded in the lines themselves. If you add these embedded line breaks, the recipe can display better for you there in your text editor. This removal of embedded line breaks is a requirement for enabling iOS to properly wrap Recipe text (ingredients, directions and comments) inside iHungryMe+, as your device changes its orientation. Removal of these embedded line breaks is simply done in the free TextWrangler text editor for Mac (just before import) with: MainMenu -> Text -> Remove Line Breaks. Simply select a block of text and TextWrangler will remove all embedded line breaks. I understand that TextFixer for Windows can do the same. Study this Note. If you fail to remove embedded line breaks, prior to importation, you will NOT be happy with your imported Recipes.

TROUBLESHOOTING DGX FILE IMPORT

Until you build your confidence, I suggest you import only 1 to 4 Recipes at a time. For your convenience, a log file (available to you in iTunes File Sharing) is created each time you import Recipes into iHungryMe/iHungryMe+. Should the import fail, examination of this log file will help you identify exactly where the format mistake is found in the import DGX text file. This log file is named:

DG_Recipes_Import.log

During DGX importation, each Recipe name in the file is compared (non-casesensitively) with those Recipes already in the database. Only Recipes with a new name are imported.

You might begin your study of importing Recipes by copying and pasting (touch and hold your finger on the text for seconds) the Recipe above into your device’s Mail app. Then email the Recipe to yourself. On your computer copy and paste the Recipe from email into your text editor and save it to a properly named import DGX file. Connect your device and then use iTunes File Sharing to move the new import DGX file to your device. If the import fails, check FAQ #7 here above.

*** NOTE *** You may well choose to add new Categories as you import a DGX file. This is a quick and easy way to add new Categories to the database. If you choose to associate a newly imported Recipe with a pre-existing Category, be sure to check the spelling carefully. For example, if you have a pre-existing Category named: ‘Treats’ and you import a new Recipe with the Category: ‘Treat’ , you would then have two search Categories, when you actually want only one.

HungryMe V:1.1 for Mac OS X is now available at iTunes app store

October 13, 2014

What’s New in HungryMe V:1.1 for Mac OS X

- A bug fix, where sometimes Categories were added to the database, but were not immediately viewable.

- seven new recipes.

- About view displays now as a dropdown panel.

- expanded HTML help system

- improved text display in Table Views regardless of point size

Videos to get you started with iHungryMe+

October 13, 2014

October 13, 2014

MOVING DGX FILE TO IOS DEVICE, USING ITUNES FILE SHARING

https://www.dropbox.com/s/ub2s7fl3c5w5qs4/MovingDgxFileToDeviceWith-iTunesFileSharing%20.mov?dl=0

 

IMPORT RECIPES WITHIN A DGX FILE THAT HAS ALREADY BEEN MOVED TO DEVICE

https://www.dropbox.com/s/z6xtwrvnwnqsik0/DgxImport-37Recipes.mp4?dl=0

 

WATCH A NEW iOS DEVICE JOIN IN ICLOUD SYNCING

https://www.dropbox.com/s/4j4zvbryhy17ote/SyncAndTraverseiPad1900-1080.mp4?dl=0


Follow

Get every new post delivered to your Inbox.