maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N800 (https://talk.maemo.org/forumdisplay.php?f=25)
-   -   offline website (https://talk.maemo.org/showthread.php?t=17520)

architect 2008-03-04 15:55

offline website
 
hey guys, Im new to the forums and the nokia n800... Im about to purchase one, and was wondering if I can view offline websites through the browser, is it possible to load the content (flash website) to the n800 and view it anytime without internet connection???

this is what I want to do with the nokia, be able to have someone open the browser and view my website (flash) without having to connect to the internet, oh course the only links, pictures, content of the website would have to be loaded to the device. the website is a small portfolio of pictures and video of work from school...


also will this device auto-resume back to the current app if it idles? is there a "sleep mode" available??? :D thanks!!!

grog 2008-03-04 16:16

Re: offline website
 
I don't know if there's a more "official" way to do it (I don't have a tablet yet myself either, and I'm getting impatient for the N810 prices to drop :(), but you could use a tool like sitescooper to save a site for offline viewing. HTH

architect 2008-03-04 16:24

Re: offline website
 
hmm... so if I put the small flash base site online, and used the url on the sitescopper, it should work? the website wont be updated, more like a one time thing... and will be html + flash... will it save my flash site though??? like pictures and all?

architect 2008-03-04 16:29

Re: offline website
 
maybe plucker will work, but I cant find any support besides text

grog 2008-03-04 18:12

Re: offline website
 
Quote:

Originally Posted by architect (Post 150781)
hmm... so if I put the small flash base site online, and used the url on the sitescopper, it should work? the website wont be updated, more like a one time thing... and will be html + flash... will it save my flash site though??? like pictures and all?

I can't say for sure, since I've never used sitescooper specifically on a site that has flash. Most likely you'd have to write a .site file for it (kindof like a rc file), to tell sitescooper what to download.

Hey, I didn't mean to imply it'd be easy, just most likely doable :).

WoodyS 2008-03-04 19:23

Re: offline website
 
I downloaded the cia world fact book to my desktop computer and mover it to myn800 and it functions off line just fine. I have had success with this with a couple of other sites as well. I have also downloaded sites directly to the n800 as well.
I have looked at html code but am not proficient at coding, but it seems that some sites will link to the local folder and some won't. It is also important to capture all the internal links.

WoodyS 2008-03-04 19:25

Re: offline website
 
Man, that Woody should proof read.

grog 2008-03-04 19:30

Re: offline website
 
Quote:

Originally Posted by WoodyS (Post 150841)
I have looked at html code but am not proficient at coding, but it seems that some sites will link to the local folder and some won't. It is also important to capture all the internal links.

Whether the individual files reference other parts of the site relatively (locally) or absolutely (eg. http://otherpage.com) is entirely dependent on the person who wrote the code, so it would be hit-n-miss.

I believe you can use a tool like wget to mirror a site locally. There are also options in the full version (I don't know about the busybox one) that will direct wget to actuallt fix absolute references to relative ones automatically. So maybe that would be your best option. But unless busybox supports those kind of options, you'd have to save the sites on your PC then transfer them to the NIT.

iamthewalrus 2008-03-04 21:42

Re: offline website
 
If you just want to show some html pages with flash that you created yourself then it's just a matter of copying them from your pc to the internet tablet via usb/bluetooth/wifi and watch them locally, so without an internet connection. I think most answers presumed you wanted to copy some website including links. (You could even run apache on the tablet itself, although I don't know about running stuff like php and ruby on rails on with apache on the tablet)

architect 2008-03-04 22:38

Re: offline website
 
wow thanks for the quick feedback, it opens up to alot of ideas...

yes i do want to copy a website, its actually mine... Im creating a really simple, dvd like menu, where the person that is using the n800 can scroll through the menu options and look at diffrent work i have created from school (images, videos, sound) that I will save all together on in flash and bring the files over to the n800 usb. so i guess now my question is what folder do I bring it in from my computer, and how would i access it from the browser, is there any scripts I can run where it will go straight to the brower when powered on???

thanks again everyone, I just ordered my n800 from amazon, free 2 day shipping!!!

architect 2008-03-04 22:41

Re: offline website
 
Quote:

Originally Posted by WoodyS (Post 150841)
I downloaded the cia world fact book to my desktop computer and mover it to myn800 and it functions off line just fine. I have had success with this with a couple of other sites as well. I have also downloaded sites directly to the n800 as well.
I have looked at html code but am not proficient at coding, but it seems that some sites will link to the local folder and some won't. It is also important to capture all the internal links.

was this flash based at all? link?

architect 2008-03-04 23:28

Re: offline website
 
i think im going to run the simple launcher app... and just have an internet link icon setup to open the browser, then make my webpage the homepage, that way its already set and ready to go.

speculatrix 2008-03-05 23:30

Re: offline website
 
does the nokia kernel have squashfs or cramfs? I wrote an article about doing this on the zaurus, and used namazu to create a free-text DB of the website to make it searchable (the latter part isn't documented)

http://www.zaurus.org.uk/squashfs.html

vinc17 2008-03-17 03:24

Re: offline website
 
It doesn't seem to have cramfs:
Code:

Nokia-N810-50-2:~# mount -t cramfs /media/mmc2/public_html.cramfs /home/user/public_html -o loop
mount: mounting /dev/loop0 on /home/user/public_html failed

while this works on my Zaurus! Any replacement FS?

speculatrix 2008-03-18 00:06

Re: offline website
 
does the N800 have squashfs instead? BTW, cramfs and squashfs exhibit different levels of compatibility between versions, so be sure to combine the kernel and module version with the correct file system building tool!

vinc17 2008-03-18 00:34

Re: offline website
 
My N810 doesn't support squashfs either:
Code:

Nokia-N810-50-2:/media/mmc2# mount -t squashfs public_html.squashfs test-sfs -o loop
mount: mounting /dev/loop0 on test-sfs failed

BTW, I've now found a (better) way to store my website locally. First, I don't have enough space on / so that I need to use the internal 2-GB memory card; but it is formatted in vfat, which doesn't support symbolic links (and my website heavily uses symbolic links). So, I store only the real files on the memory card. And the website structure is on the root file system, as directories and symbolic links to the real files only. I've written scripts to keep them up-to-date.

YoDude 2008-03-18 00:59

Re: offline website
 
If you browse to the page you want, then hit the window tab (or menu key), a menu will pop up. Tap "Web page", then "Save as" you can then save the complete web page including image folders to the directory you specify. I haven't tried it with flash objects but it did save the flash images from my igoogle page... so who knows? Give it a try. :)

mrglass2626 2008-06-12 19:35

Re: offline website
 
Can anyone tell me how to set a locally saved webpage as my homepage ...AND...have it load automatically when i open the browser.

At the moment I always just get the blank page despite this site (or any other for that matter) being set as my home page. I have to literally click "homepage" to get it to load.

Also, is there a way to map the hardware keys to go to homepage??

Thanks for your help.
Mrglass


All times are GMT. The time now is 16:12.

vBulletin® Version 3.8.8