I will pay to port this

Discussion in 'iOS Jailbreak & Cydia' started by moosh, Apr 6, 2008.

  1. moosh

    moosh New Member

    Joined:
    Oct 13, 2007
    Messages:
    198
    Likes Received:
    4
    Device:
    iPod touch
    I will pay to have this application ported!!

    http://www.calorieking.com/software/ckdietdiarywin.php

    If you can't port the application.. then I will pay for something much simpler. If someone know how they got the wikipedia dump files. I was wondering if you could get the calorieking database dump, and have a program access its files the way the wikipedia app does for the wiki dump. I know it can be done! If you're interested in producing the great dieting application for me, PM me and we'll negotiate a price or whatever. Thanks!
  2. Virtualball

    Virtualball Well-Known Member

    Joined:
    Nov 23, 2007
    Messages:
    1,118
    Likes Received:
    63
    You can't port open source....
  3. iSecks

    iSecks New Member

    Joined:
    Dec 28, 2007
    Messages:
    551
    Likes Received:
    5
    12345
  4. stevenplanet

    stevenplanet Banned

    Joined:
    Nov 27, 2007
    Messages:
    316
    Likes Received:
    1
  5. moosh

    moosh New Member

    Joined:
    Oct 13, 2007
    Messages:
    198
    Likes Received:
    4
    Device:
    iPod touch
    Anyone? Any ideas as to how I can access this stuff offline?
  6. FregoS

    FregoS New Member

    Joined:
    Dec 25, 2007
    Messages:
    590
    Likes Received:
    12
    Device:
    iPhone 3G (Black)
    Or even a Prog like that. It would be great!
  7. krysus

    krysus New Member

    Joined:
    Dec 26, 2007
    Messages:
    101
    Likes Received:
    0
    Well....

    The first thing i thought is "do it in php"...

    So, i went to the website and downloaded the latest database for PalmOS (ckfoods.pdb from a zip package).
    Then i found a php library which reads Palm PDB files (php-pdb on sourceforge.net).

    I wrote a php simple script using the pdb library - it manages to read the database header, but the data records (96 of them - doesn't seem like many) look to be encrypted in some way.... so i'm stuck.
  8. moosh

    moosh New Member

    Joined:
    Oct 13, 2007
    Messages:
    198
    Likes Received:
    4
    Device:
    iPod touch
    Strange.. there should be more than 96... and I can't help you with bypassing encryption. Let me look around their website to see if I can find a better php database. I think i'll try emailing them.
  9. krysus

    krysus New Member

    Joined:
    Dec 26, 2007
    Messages:
    101
    Likes Received:
    0
    I doubt they'll be willing to help in that sense.... their whole product is based around a software subscription, including the web API they provide - $$$ for x number of page requests.

    It's probably not encrypted with a secure algorithm, more like 'encoded', but still...
  10. krysus

    krysus New Member

    Joined:
    Dec 26, 2007
    Messages:
    101
    Likes Received:
    0
    Ok, well i've found a free, text-based database from the USDA National Nutrient Database...

    http://www.nal.usda.gov/fnic/foodcomp/Data/SR20/dnload/sr20.zip

    I've also installed the demo version of CalorieKing's software - it's far from basic! Beyond my expectations, and certainly beyond any short-term development timescales in order to create a php-based 'port' for the iPod Touch!!

    So i'll graciously make my exit and leave it for someone else to pick up.

Share This Page