forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Use psp to view .txt and .gifs (new take on psp web browsing

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
pyro42



Joined: 06 May 2005
Posts: 11

PostPosted: Sat May 07, 2005 4:38 am    Post subject: Use psp to view .txt and .gifs (new take on psp web browsing Reply with quote

alright so who wants to carry around a memory stick of jpeg files to try and read a book? not me.. so i set up a webpage with

Code:
<html>
<head>
<meta http-equiv="refresh" content="0;url=file://fatms0:/html/index.html">
</head>
<body>
</body>
</html>

on it, then created a /html folder on my stick, and threw an index.html in. I was then able to link to view .txt files and .gif files off of my memory stick. (of course still using "file://fatms0:/")

the practical upshot to this, as long as you stick to files on your memory stick, you are working in offline mode. you can turn the wireless off on your PSP and it'll just go along its business. into standby, out of stand by, it doesnt care. Not to mention it makes it incredibly simple for a user to set up their own psp portal. just need someone to set up an IP to a page that does the refresh, then each user can just make their own index files for their memory stick. You should be able to create an entire (basic) website on the stick if you desired.

it would be ideal if someone could set up a DNS to direct the inital request for the wipreout page to the "file://fatms0:/html/index.html" address, but as I understand, DNS likes numbers, and psp doesn't like 127.0.0.1 so i think a redirect would be the best possible bet.
_________________

forgive my ignorance... i know just enough to be annoying...
Back to top
View user's profile Send private message
Awhite



Joined: 23 Feb 2005
Posts: 55

PostPosted: Sat May 07, 2005 6:02 am    Post subject: Reply with quote

ok,
...erm...as expected?
_________________
Ioannis KarAvas
Back to top
View user's profile Send private message
MomDad



Joined: 03 Feb 2005
Posts: 5

PostPosted: Sat May 07, 2005 9:20 am    Post subject: DNS for redirecting back to Memstick Reply with quote

For those wanting to test the suggested loopback to their local index.html on memstick, feel free to use this as the primary DNS in your PSP connection settings:

70.85.73.34

Don't have my PSP with me at work, but it should work fine, if not, let me know here or on EFNet in #pspdev

-MD

(edited for typo correction)
Back to top
View user's profile Send private message Visit poster's website
AlexGreen



Joined: 27 Mar 2005
Posts: 35
Location: Seattle

PostPosted: Sat May 07, 2005 10:33 am    Post subject: Reply with quote

MomDad, it does work.
But I just found out that there is no support for anything other than english and japanese in the browser. Here I was hoping to save space on the memory card. Sigh, back to converting cyrilic text to pictures.
_________________
What does this button do?
Back to top
View user's profile Send private message
pyro42



Joined: 06 May 2005
Posts: 11

PostPosted: Sat May 07, 2005 6:41 pm    Post subject: Reply with quote

anyone know of a dynamic way to put directory listings into an html page.. maybe php? it'd have to be fairly simple as there is no sql backend obviously... but if you could drop an index.php in each directory of your memory stick and have that dynamicly display file:// links to the files on your stick that would be rather cool
_________________

forgive my ignorance... i know just enough to be annoying...
Back to top
View user's profile Send private message
pyro42



Joined: 06 May 2005
Posts: 11

PostPosted: Sat May 07, 2005 6:43 pm    Post subject: Reply with quote

AlexGreen wrote:
MomDad, it does work.
But I just found out that there is no support for anything other than english and japanese in the browser. Here I was hoping to save space on the memory card. Sigh, back to converting cyrilic text to pictures.


if you want to save space, you might try creating gif files instead of jpegs... or maybe indexed pngs (not sure) but as far as I know the programs i've read about for the automated conversion only transfer to jpeg.. which is just a horrible format for it... and from jpeg to gif/png would probably be just as bad

*edit

There are text to gif programs.. playing with one right now.. it's shareware though... "Advanced Text2Gif" plus you'd still have to do the html around it.. although a program like picesa or ACDSee that'll generate html galleries might make that simpler
_________________

forgive my ignorance... i know just enough to be annoying...
Back to top
View user's profile Send private message
pyro42



Joined: 06 May 2005
Posts: 11

PostPosted: Sat May 07, 2005 7:47 pm    Post subject: Reply with quote

anyone feel like testing this for me

http://photos.pyro42.com/albums/userpics/10001/gallery1.rar

inside is a php file and a bunch of images... i can't test it right now... wireless at work is WEP'd and i don't have the key
_________________

forgive my ignorance... i know just enough to be annoying...
Back to top
View user's profile Send private message
pedroleite



Joined: 10 Apr 2005
Posts: 39

PostPosted: Sat May 07, 2005 7:53 pm    Post subject: Reply with quote

To anyone who cares...

PHP, ASP, ASPx (.NET), CFM, .CGI and all server-side technologies require a server!

Also.. the 127.0.0.1 DNS pointer requires a webserver at that end... there is none on the PSP (yet!)

You can only place static html, with javacript.

Admins, thread lock? You get my vote :) - seen threads locked for less
Back to top
View user's profile Send private message
pyro42



Joined: 06 May 2005
Posts: 11

PostPosted: Sat May 07, 2005 8:07 pm    Post subject: Reply with quote

pedroleite wrote:
To anyone who cares...

PHP, ASP, ASPx (.NET), CFM, .CGI and all server-side technologies require a server!

Also.. the 127.0.0.1 DNS pointer requires a webserver at that end... there is none on the PSP (yet!)

You can only place static html, with javacript.

Admins, thread lock? You get my vote :) - seen threads locked for less


alright, so it won't work, gotcha.. didn't think it would, but i'd thought i'd get the idea out there to someone who might be able to make it work.

and i think i said that the 127.0.0.1 dns wouldn't work... not in those words.. but something like the psp doesn't like 127.0.0.1... it kicks you back to connection screen
_________________

forgive my ignorance... i know just enough to be annoying...
Back to top
View user's profile Send private message
pedroleite



Joined: 10 Apr 2005
Posts: 39

PostPosted: Sat May 07, 2005 8:12 pm    Post subject: Reply with quote

It goes back to the connection screen... because it fails to find the web server...

It's a very, very dumb web browser... It must rely in work done by the developer to implement some features.

Anyone has a page that tests common javacript object DOM ?
Back to top
View user's profile Send private message
pyro42



Joined: 06 May 2005
Posts: 11

PostPosted: Sat May 07, 2005 8:34 pm    Post subject: Reply with quote

pedroleite wrote:

Anyone has a page that tests common javacript object DOM ?


would that be....
http://forums.ps2dev.org/viewtopic.php?t=1223&start=60
here?
_________________

forgive my ignorance... i know just enough to be annoying...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group