More on recipe downloading

2 views
Skip to first unread message

Anoetic Concepts

unread,
Nov 20, 2009, 7:24:58 PM11/20/09
to bi...@googlegroups.com
I've been working on making some of my recipes available for download
to Bites. I was wondering if you could try downloading from my site
and let me know if it is working as expected.

If not, please let me know what I need to do to make it work
correctly.

You can find the recipes I've made available so far at:

http://www.net-cookbook.com/

If I can get this working correctly, feel free to mention this site on
your Bites webpage.

Thanks,
Jeff

Ben Caldwell

unread,
Nov 22, 2009, 7:37:32 PM11/22/09
to bi...@googlegroups.com
Hi Jeff,

I managed to download a recipe from the site you gave me but Bites failed to open it. When I retrieved the file from my sd card it was empty.

There is some discussion on recipe downloading on this thread:
http://groups.google.com.au/group/bites/browse_thread/thread/152830b6f4d05be8 and the site mentioned in it - http://www.segurosporcar.com/recipes/ - has some good examples of what works and doesn't work.

Regards,

Ben Caldwell
@ben_caldwell



--

You received this message because you are subscribed to the Google Groups "Bites" group.
To post to this group, send email to bi...@googlegroups.com.
To unsubscribe from this group, send email to bites+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bites?hl=.



Anoetic Concepts

unread,
Nov 23, 2009, 2:54:23 PM11/23/09
to bi...@googlegroups.com
Hi Ben,
 
I read through that thread and visited the site you mentioned.  I'm still a bit confused, but if I'm understanding correctly, it seems that Android ignores the filename declared in the header and uses the actual filename of the file specified in the link.  Therefore, Android does download the xml contents, but names the file with the .php extension rather than the .xml filename sent in the header.  Is that correct? 
 
I have made a change on my site to the download link, so it should work now as described above.  Please feel free to try again and let me know your results. 
 
The problem is that if we link directly to the xml file, it is not downloaded, but rather rendered by the browser.  I don't know what to put in the .htaccess file to direct the web server to send the .xml files as attachments.  Have you found any difference in behavior when text/xml is used rather than application/xml?
 
I'm working on a script to email the recipes as attached xml files, but I've not implemented a registration system on my site yet, so if you'd like to try this out, let me know what email address you want registered and I'll add it to the approved list.  Do you think this sort of thing would be useful? 
 
Thanks,
Jeff
 
----- Original Message -----
Sent: Sunday, November 22, 2009 4:37 PM

Ben Caldwell

unread,
Nov 24, 2009, 7:20:18 PM11/24/09
to bi...@googlegroups.com
Jeff,

I tried downloading a recipe from your site yesterday and everything worked fine. The file extension was still php but the mime type must be correct now if Bites is opening the file.

Ben Caldwell
@ben_caldwell


--

Anoetic Concepts

unread,
Nov 24, 2009, 9:24:40 PM11/24/09
to bi...@googlegroups.com
Thanks, Ben.  I'll modify my page to give instructions about the steps to follow to download recipes for Bites. 
 
I've just put the register link on my site for users to register their email address so they can have recipes sent to the registered address as an attachment.  Feel free to test this out as well. 
 
Also, feel free to mention this site on your webpage or in the Android Market description. 
 
 
I've added recipes in the beef, chicken and pork entres section, and I'll be adding more as time permits. 
 
Jeff
Twitter.com/audiobookfan
Facebook.com/audiobookfan
MySpace.com/audiobookfan
Reply all
Reply to author
Forward
0 new messages