[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/auth/provider/godb.php on line 137: Undefined array key "PHPSESSID"
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4129: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3008)
goproblems.com • Goproblems on Palm
Page 1 of 1

Posted: Sun Jun 29, 2003 6:43 pm
by admin
this was originally emailed to me by Chris Eusebi. i thought i'd repost it in case others wished to see...

I figured out how to get your Goproblems database onto a palmpilot or visor.
This allows for a mobile way to utilize your database. ALL of your problems fit on my palm.
It is fairly simple and works really well.

Using the sgf viewer PilotGone, all of the comments are available as are the variations.
The key was to find a method to transfer many sgf files into the palm memopad system.

Steps:
A) Download goproblems in .sgf format
B) Download PilotGone SGF viewer from http://minas.ithil.org/pilotgone/pilotgone.html

C) Download a program to transfer the sgf files into a .mpa file which can be imported by the Palm Desktop Application 4.0. using

http://www.informatik.uni-rostock.de/~m ... tompa.html : This program is the key to this issue as it allows for copying in sgfs without the slow cutting and pasting, which makes using your database impossible.

D) import the .mpa file into the palm using the palm desktop application.
That’s it! It works great.

{Posted by admin}

follow up

Posted: Thu Jul 03, 2003 1:16 pm
by admin
I was sent the following information which may be of interest to those using Pilotgo on a Palm:

The following code strips the genre and ranking out of the downloadable problems and puts the info in for the GN.

This was written by the folks at Pilotgo.

It is cool, all the comments and all the problems are now workable in a
handheld format.
This is because the .sgf versions of the problems are so small.

This will also run under CYGWIN.

#!/bin/bash
#
# goproblems2sgf.sh by Sylvain Soliman
# Version 0.0.1
#
# extract SGFs form goproblems.com HTML files, and add a meaningful GN
#

if [ ${#*} != 2 -o ! -d $1 -o ! -d $2 ]; then
echo "Usage:" `basename $0` " "
echo " extracts SGFs from HTML files with Genre and Difficulty in
GN"
echo " both directories must already exist"
exit 0
fi

for file in $1/prob*.html
do
genre=`grep -3 "Genre:" $file | tail -1`
diff=`grep -2 "Difficulty:" $file | tail -1 | sed -e 's///g'
-e 's/\//-/g'`
begin=`grep -n 'name="sgf"' $file | sed -e 's/:.*$//g'`
tail +$begin $file | sed -e "s/^[^(]*(;/(;GN[$genre -
$diff]/g" -e 's/">.*$//g' > $2/`basename $file .html`.sgf
done

{Posted by admin}