Sunday, March 9, 2008

The Code for Portal Creation

Download "memoryportal.php" in http://ifile.it/b3a8mq1
Type this code into your text editor of choice and save it as make_index.pl. Place this file in the root directory of your PSP's Memory Stick, either by dragging it there or executing one of the following commands:

Unix, Mac OS X, Linux
cp make_index.pl /Volumes/Untitled

Windows
xcopy make_index.pl F:\

If your Memory Stick has a name other than Untitled, Mac OS X users should use the appropriate directory name. If you are on Windows, choose the drive letter (F:, in these examples) that your PSP was assigned. If you are on Linux, be sure to replace /Volumes/Untitled with the mount point of your PSP.

To run the script, you must run the following command from the command line.

In Mac OS X, use the Terminal (located in /Applications/Utilities/) and run the following commands:

cd /Volumes/Untitled
perl make_index.pl

These are the same commands you will use in UNIX/Linux.

In Windows, open a command prompt and run:

F:
cd \
perl make_index.pl

Once the script begins running, you will be prompted for your del.icio.us username. If you enter nothing, this step will be skipped. After the command has completed running, you can navigate to the root level of your Memory Stick and you will see a newly created index.html file. Double-click on this file to launch it in your computer's web browser and inspect the results of the code.

Once you have this script created, you can run it every time your PSP is connected to your computer to update the index.html file.

On your PSP, make sure that you bookmark file:/index.html in the browser, so that you can easily navigate to this index of all of your photos, text files stored in the Notes folder, and your del.icio.us bookmarks tagged with PSP. Consider making it your home page.

1 comment:

danilo said...

I'd like to try it but the file no longer exists on your sharing service... can you put it somewhere else so that I can try it??

thanks a lot in advance ;)