yaserbakdalia / bites-android

Automatically exported from code.google.com/p/bites-android
GNU General Public License v3.0
0 stars 0 forks source link

Use mime type to load new recipes from webpage #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Use intent filters (type attribute?) and mime types on an xml file to 
allow downloading recipes from websites.

Possibly use something like the following on a recipe.xml file on the 
server:

<head>
...
<meta http-equiv="Content-Type" content="text/recipe; charset=UTF-8" >
...
</head>

Original issue reported on code.google.com by benny.ca...@gmail.com on 14 May 2009 at 7:42

GoogleCodeExporter commented 8 years ago
Possibly use vendor application mime type e.g.
content="application/vnd.captainfanatic.bites"

Original comment by benny.ca...@gmail.com on 20 May 2009 at 7:27

GoogleCodeExporter commented 8 years ago
User must download the file - a .xml file - then click on the file and trigger 
Bites 
to open an parse the xml to add a new recipe.

Original comment by benny.ca...@gmail.com on 25 May 2009 at 12:50

GoogleCodeExporter commented 8 years ago
Done uses xml file with .txt extension:
<recipe name="recipe name">
<ingredient>First Ingredient</ingredient>
<ingredient>Second Ingredient</ingredient>
<method step="1">Mix Ingredients</method>
<method step="2">Cook mixture</method>
</recipe>

Original comment by benny.ca...@gmail.com on 29 May 2009 at 1:44