SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Sep 2012
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Suggestions Needed to Convert HTML to iPad

    i was asked to convert a simple HTML page into something static for the iPad. Essentially they want to access the website without an internet connection. They want the all the links to work in the same manner (just without an internet connection). What would be the best solution? It would have to be easy for them to install or load onto the device. Converting it to PDF would probably be the easiest solution. But I'm wondering if there is other options that may be more efficient. Ideas?

  2. #2
    SitePoint Addict Kakarot720's Avatar
    Join Date
    Feb 2001
    Location
    Washington DC
    Posts
    219
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PDF will probably be the easiest to achieve. I say go for it. Anything else is going to cause additional problems since what you are being asked to do is extremely unusual/rare.

  3. #3
    SitePoint Wizard
    Join Date
    Feb 2007
    Location
    Southern California
    Posts
    1,388
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    The problem with the PDF is that the content won't flow. At smaller sizes, the PDF will be hard to read. You can mitigate that problem by enlarging the type so it would be readable at a smaller viewport.
    Steve Husting

  4. #4
    SitePoint Mentor silver trophy
    Rubble's Avatar
    Join Date
    Dec 2005
    Location
    Cambridge, England
    Posts
    2,438
    Mentioned
    82 Post(s)
    Tagged
    3 Thread(s)
    On a windows PC you can open an html document in a browser - no internet connection required if it is stored locally. I would have thought the same would happen in an Ipad, give it a go?

  5. #5
    SitePoint Wizard
    Join Date
    Feb 2007
    Location
    Southern California
    Posts
    1,388
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    You can also think of making a web app of it with a cache manifest file. The cache manifest file will list all the html pages and other assets connected to the pages. When the person downloads the first file, the line: <html manifest=” app_name.manifest”> links to that page and downloads all the resources to the device. Then it could be read offline. If you make changes to any of those pages later, you change the app manifest file contents, then the page on the device will read it, upload the changed pages, and it'll work offline again, with the new pages. I would give a link to an article I wrote on it, but I'm not sure it would be spamming. So just look up "offline web app" or "cache manifest" and you should get some articles to try out.

    I suggest this route only if there aren't many pages or other assets. Also, being html, the text would reflow, keeping it easy to read in the device.
    Steve Husting


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •