The Following User Says Thank You to ifallacy For This Useful Post: | ||
![]() |
2007-07-04
, 10:30
|
Posts: 4 |
Thanked: 0 times |
Joined on Jul 2007
|
#2
|
![]() |
2007-07-04
, 19:28
|
Posts: 30 |
Thanked: 2 times |
Joined on Jul 2007
|
#3
|
![]() |
2007-07-04
, 19:46
|
|
Posts: 36 |
Thanked: 2 times |
Joined on May 2007
@ Gillingham, UK
|
#4
|
The Following User Says Thank You to djasmith For This Useful Post: | ||
![]() |
2007-07-04
, 20:40
|
Posts: 30 |
Thanked: 2 times |
Joined on Jul 2007
|
#5
|
gem install activesupport-1.4.1.gem --no-rdoc --no-ri && gem install activerecord-1.15.2.gem --no-rdoc --no-ri && gem install actionpack-1.13.2.gem --no-rdoc --no-ri && gem install actionmailer-1.3.2.gem --no-rdoc --no-ri && gem install actionwebservice-1.2.2.gem --no-rdoc --no-ri && gem install rake-0.7.1.gem --no-rdoc --no-ri && gem install rails-1.2.2.gem --no-rdoc --no-ri
![]() |
2007-07-04
, 21:08
|
|
Posts: 36 |
Thanked: 2 times |
Joined on May 2007
@ Gillingham, UK
|
#6
|
![]() |
2007-07-05
, 09:31
|
Posts: 4 |
Thanked: 0 times |
Joined on Jul 2007
|
#7
|
![]() |
2007-07-06
, 19:16
|
Posts: 30 |
Thanked: 2 times |
Joined on Jul 2007
|
#8
|
![]() |
2007-07-06
, 19:32
|
Posts: 474 |
Thanked: 30 times |
Joined on Jan 2006
|
#9
|
![]() |
2007-07-07
, 04:12
|
Posts: 30 |
Thanked: 2 times |
Joined on Jul 2007
|
#10
|
###INSTALLATION###
1. There are some prereq's for my version of GTD, because it uses php for saving files - go and install these two packages in this order:
http://maemo-hackers.org/php5-fastcgi.install (PHP5)
http://maemo-hackers.org/nginx.install (HTTP Server)
(source: http://www.mail-archive.com/maemo-de.../msg08379.html )
2. Unzip the tiddlywiki of your choice (tiddlywiki_phpsave_v8.zip or gtd_tiddlywiki_phpsave_v2.zip) to /var/www/tw/
3. [EDIT] using the n800 terminal (or ssh) login as root (ssh root@localhost from your n800 or ssh root@your.ip.here from a remote computer) and run "chmod -R 777 /var/www/tw"
4. Use the Mameo-Browser and navigate to http://localhost/tw
5. Enjoy =]
Let me know if you have any installation problems
Quick Notes:
###DEV NOTES###
the vanilla GTD v2.2 is read-only for the maemo-browser because the mameo browser runs through 3 browser independent save methods, one for mozilla, ie, and java - unfortuently, the maemo opera browser supports none of these, therefore i created a plugin that allows you to save one any php-enabled server
first, i tried making a .html that would open a new window that you could save using document.documentElement.innerHTML to get the contents of the document and then apply the same changes as a normal save, but i couldn't get rid of the dirty flag that tiddlywiki implements
second, i tried using the http://tiddlywiki.bidix.info/ plugin for php upload - however, for some reason it doesn't work (i'm guessing mameo's opera is particularly picky about the xmlhttp request)
finally, i decided to take my own shot at a php-saving plugin and voila - here it is - as a disclaimer, i suck at javascript as i just dabble in programming (i'm going to a liberal arts college, geez =P ) so this might not be the most effective way to do it - i'm open to comments, suggestions and your own mods and would really like to see them! =]
random: xmlhttp has an interesting bug where the file sending a GET request can't request its own file, so the redirect.php file is there to well... redirect your GET request basically
oh yea - the linux top results while saving show that the browser takes >90% of cpu while saving and hogs a lot of ram - perhaps one of the better coders could help me cut ram usage and take care of the cpu issue? maybe using and older version of tiddlywiki would help as i don't think i need all the features of 2.2
and if someone wants to try my plugin with another version of tiddlywiki, lemme know how it goes - here're some tips for using my plugin with other tiddlywiki's
###PLUGIN ADAPTATION FOR OTHER TIDDLYWIKI VERSIONS###
-install the plugin as usual (you'll probably want to do this from file:// on your main comp)
-find the
-find the line that requires the file:// url to save and comment it out
---on the vanilla tiddlywiki v2.2, this is what it looks like after it has been commented with /* and */
------on the vanilla tiddlywiki v2.2, this is what it looks like after it has been changed (the original only has the mozilla, ie, and java):
###WHICH TIDDLYWIKI?###
Well, here are some very unscientific benchmarks for the save time of various browsers:
Maemo-Browser
Tiddlywiki v2.2 - >1 minute - renders pages well
GTD Tiddlywiki v1.2.32 - approx 3 sec - renders well
Minimo
Tiddlywiki v2.2 - approx 3-5 sec - some minor page artifacts, works well
GTD Tiddlywiki v1.2.32 - approx 3-5 sec
###ACCESSING LOCALHOST WHEN NOT ONLINE###
the mameo-browser is picky in that i won't let you access browsing features if you're not connected to a network. here's the solution:
http://www.internettablettalk.com/fo...p?t=842&page=2
Last edited by ifallacy; 2007-07-09 at 06:27. Reason: minor updates