How to store website for offline browsing?

Discussion in 'Android Lounge' started by harrypt, Nov 16, 2011.

  1. harrypt

    harrypt Member
    5

    Jul 26, 2010
    6
    0
    5
    I seen this asked a few times, but no good answers.

    I want to save my company website on an Android tablet so that I can make presentations in client offices without having to ask for their wifi password. Would need to go just a few pages deep.

    Any good way to do this?

    Thanks.
     

    Advertisement
  2. aysiu

    aysiu Well-Known Member
    113

    Mar 6, 2011
    963
    261
    113
    Do you know the wget command?

    I believe it works even on the Android terminal:
    Code (Text):
    1. cd /sdcard/
    2. wget -m http://www.nameofyoursite
     
  3. adaaaam

    adaaaam Well-Known Member
    43

    Oct 25, 2010
    364
    35
    43
    Male
    San Francisco
    In Opera Mobile, you can save pages as .mhtmls by menu tapping, tap red O, tap Saved Pages, tap the plus sign
     
  4. aysiu

    aysiu Well-Known Member
    113

    Mar 6, 2011
    963
    261
    113
    Oops. I take it back. Apparently the wget on Android phones isn't sophisticated enough to include the -m parameter.
     
  5. aysiu

    aysiu Well-Known Member
    113

    Mar 6, 2011
    963
    261
    113
    Haven't tried it myself, but maybe this app will help:
    Offline Browser.
     
  6. adaaaam

    adaaaam Well-Known Member
    43

    Oct 25, 2010
    364
    35
    43
    Male
    San Francisco
    Opera Mobile accomplishes the same thing, and is a world class browser to boot, able to view offline and online pages. Something named Offline Browser might not do the same
     
  7. aysiu

    aysiu Well-Known Member
    113

    Mar 6, 2011
    963
    261
    113
    That feature in Opera works for only pages, not whole websites. What if the website has 100 pages? Are you going to click through all 100 pages and manually save them all? Based on the description, Offline Browser appears to save full websites up to 4 links deep.

    I'm not sure what the OP means in terms of "a few pages deep." That could mean "deep" in terms of how far it drills down as opposed to "a few pages" (literally three or four independent pages).
     
  8. harrypt

    harrypt Member
    5

    Jul 26, 2010
    6
    0
    5
    Okay thanks for the responses, I got away from this over the Holidays but am back.

    The Offline Browser app seems to be on the right track, but it doesn't seem to handle Flash and I get "file not found" on the second click even though it's supposed to go four clicks deep. If this is the best solution, I can present without the flash but four clicks may not be deep enough.

    It looks like you can save the page another way, import to the sd card and use the app to view. I'll have to work on that, anyone know how to do it that can save me some time?
     
  9. luespi

    luespi New Member
    15

    Apr 6, 2012
    3
    0
    15
    I need the same!!
     
  10. HamptonCaught

    HamptonCaught Well-Known Member
    26

    Mar 27, 2012
    57
    5
    26
    Designer
    Cambridge, UK
    Instapaper does this very well on iOS. Don't know if it's available on Android, but worth checking.
     
  11. jprjay

    jprjay Member
    16

    Apr 7, 2012
    20
    3
    16
    check out an app called 'read it later'. I have it in my Kindle and it's very convenient. Basically it saves and manages your pages in a list, once you check the page as read it clears it from the list.
     
  12. chris985

    chris985 New Member
    15

    Jan 20, 2013
    3
    0
    15
    This is not an answer. this is a journal entry I am releasing online that documents how i made my website work offline and on an android tablet, and is not meant to be recreated. consult an IT professional for all your IT needs.
    1: I needed Polaris Office
    2: I needed Opera browser.
    3. I emailed the entire website to myself in a zip file and downloaded it in google mail online (the email program on my tablet didn't let me download the zip file)
    4. I Saved the website zip file in local memory.
    5. I extracted the zip file
    6. I Made sure all referenced links and pictures/graphics in the website were relative, not hard format (ie. not '<a href="Example Domain">' but '<a href="big.jpg">').
    6. I Opened Polaris office.
    7. I selected my default webpage (either default.html or index.html) in the polaris shell-like screen after choosing local storage
    8. I selected Opera to open it
    9. I selected one time only
    10. Since all referenced graphics and addresses are made in a relative format, it worked for me
    Best Regards,
    Chris
    Houma Publishing Inc., President
    houmapublishing.com
     
  13. mikedt

    mikedt 你好
    Guide
    7,028

    Sep 22, 2010
    20,116
    10,383
    7,028
    Teachaaa
    Jinan, China
    You can try scraping/downloading the whole site on your PC. Which is the same as doing..
    Code (Text):
    1.  
    2. cd /sdcard/
    3. wget -m http://www.nameofyoursite
    4.  
    ...that @aysiu suggested. ...and then copy it to your phone's or tablet's storage. Then you should be able to open it by navigating to the index.htm file with a file browser. May not work though if the site uses server-side scripting to dynamically generate pages. i.e. the site uses a CMS like Drupal or Wordpress.

    Code (Text):
    1.  
    2. $ wget -m http://www.amazon.com
    3.  
    :rolleyes:
     
  14. gtbarry

    gtbarry Well-Known Member
    213

    Jul 15, 2012
    1,898
    736
    213
    Male
    California
    Can't you just download the code/files/folders and store them as a local folder on your tablet?

    I create/run/admin about a dozen sites and I have them all on folders on my local machines that sync to the server. I can run all of them offline (only exception being pages that require Internet access)

    Instapaper, Pocket et al store pages and probably allow you to nav the site.
     
  15. chris985

    chris985 New Member
    15

    Jan 20, 2013
    3
    0
    15
    To add to that journal entry earlier, I would point out that I am not aware of a way to make PHP work in the client-side environment.
     

Share This Page

Loading...