1. Download our Official Android App: Forums for Android!

How to store website for offline browsing?

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

  1. harrypt

    harrypt Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    6
    Joined:
    Jul 26, 2010

    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 Android Expert
    Rank:
     #202
    Points:
    113
    Posts:
    964
    Joined:
    Mar 6, 2011

    Mar 6, 2011
    964
    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 Android Enthusiast
    Rank:
    None
    Points:
    43
    Posts:
    364
    Joined:
    Oct 25, 2010

    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 Android Expert
    Rank:
     #202
    Points:
    113
    Posts:
    964
    Joined:
    Mar 6, 2011

    Mar 6, 2011
    964
    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 Android Expert
    Rank:
     #202
    Points:
    113
    Posts:
    964
    Joined:
    Mar 6, 2011

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

    adaaaam Android Enthusiast
    Rank:
    None
    Points:
    43
    Posts:
    364
    Joined:
    Oct 25, 2010

    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 Android Expert
    Rank:
     #202
    Points:
    113
    Posts:
    964
    Joined:
    Mar 6, 2011

    Mar 6, 2011
    964
    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 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    6
    Joined:
    Jul 26, 2010

    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 Lurker
    Rank:
    None
    Points:
    25
    Posts:
    3
    Joined:
    Apr 6, 2012

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

    HamptonCaught Member
    Rank:
     #864
    Points:
    36
    Posts:
    60
    Joined:
    Mar 27, 2012

    Mar 27, 2012
    60
    6
    36
    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 Newbie
    Rank:
    None
    Points:
    16
    Posts:
    20
    Joined:
    Apr 7, 2012

    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 Lurker
    Rank:
    None
    Points:
    25
    Posts:
    3
    Joined:
    Jan 20, 2013

    Jan 20, 2013
    3
    0
    25
    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 你好
    Rank:
     #7
    Points:
    2,238
    Posts:
    22,256
    Joined:
    Sep 22, 2010

    Sep 22, 2010
    22,256
    11,677
    2,238
    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 Android Expert
    Rank:
    None
    Points:
    223
    Posts:
    1,898
    Joined:
    Jul 15, 2012

    Jul 15, 2012
    1,898
    736
    223
    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 Lurker
    Rank:
    None
    Points:
    25
    Posts:
    3
    Joined:
    Jan 20, 2013

    Jan 20, 2013
    3
    0
    25
    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...