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 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:09.

vBulletin® Version 3.8.8