X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yarrg%2Fweb%2Fupload;h=a0c40fe2360e3c23b49472c5489060ef4ef9b2f4;hb=21ccec5e9026b0fa07a16c7b296e898ddaeba056;hp=0c8eefdda43a65655411d16126d10493add6625b;hpb=31495d4cf6b336aec269629da32ddae7f499029a;p=ypp-sc-tools.db-test.git diff --git a/yarrg/web/upload b/yarrg/web/upload index 0c8eefd..a0c40fe 100755 --- a/yarrg/web/upload +++ b/yarrg/web/upload @@ -34,11 +34,20 @@ <& docshead &> -<%perl> +<%shared> my $url_base_base= 'http://yarrg.chiark.net/download/jarrg'; -my $download_version= 'test'; -my $url_base= "$url_base_base/$download_version"; - + +<%def downloadurl><%args> +$leaf +$test => 0 +# ^ change this to change the default version +<%perl> +my $download_version= $test ? '/test' : ''; +my $url_base= "$url_base_base$download_version"; +my $url= $url_base.'/'.$leaf; +<% + $m->has_content ? $m->content : $url +%>

Uploading to YARRG

@@ -96,7 +105,7 @@ report the problem to us, not to Three Rings.

Installing and running on Linux

Download -<% $url_base %>/jarrg.tar.gz +<& downloadurl, leaf => 'jarrg-linux.tar.gz' &> and unpack it. You run jarrg from the command line. Change (cd) to the top level jarrg directory which was created when you unpacked the tarball, and then run @@ -110,7 +119,7 @@ ordinary Puzzle Pirates startup script, which is normally

Installing on Windows

Download -<% $url_base %>/jarrg-setup.exe +<& downloadurl, leaf => 'jarrg-setup.exe' &> and double-click on it. It will either:
  1. Just work, in which case you'll have a new icon on your desktop which @@ -130,6 +139,11 @@ best starting point.

    How does it work? Is it a violation of the Terms of Service?

    +JARRG (and the old OCR clients) comply with Three Rings' official +Third Party Software Policy. + +

    + Essentially, JARRG is a specialised "screen reader" which instead of reading information out loud, uploads it to the YARRG and PCTB databases. @@ -166,31 +180,31 @@ should cause any kind of problem).

    Authorship, source code and other versions

    Thanks to Burninator for writing the core of the JARRG client. Ian -Jackson and Owen Dunn adapted it to improve the installation setup (in -particular, to avoid modifying any of the YPP client's startup files). -Owen Dunn added support for uploading to YARRG, updated the build -system, and wrote a Windows installer. +Jackson and Owen Dunn adapted it to fix bugs and to improve the +installation setup (in particular, to avoid modifying any of the YPP +client's startup files). Owen Dunn added support for uploading to +YARRG, updated the build system, and wrote a Windows installer.

    JARRG is Copyright 2006-2009 Burninator, Copyright 2009-2010 Owen Dunn and -Copyright 2009-2010 Ian Jackson. +Copyright 2009-2011 Ian Jackson. It is Free Software with NO WARRANTY, released under the MIT-style two-clause licence.

    -The download directory can contains other versions (eg unreleased test -versions), which you can see here: - <% $url_base_base %>/ . +The code for the downloadable binaries is in +in <& downloadurl, leaf=>'jarrg-source.tar.gz' &>. +The download directory also sometimes contains other versions +(eg unreleased test versions), which you can see here: + <& downloadurl, leaf => '', test => 0 &>

    -The source code for the downloadable released binaries is in the -Linux -tarball. We maintain JARRG in git, and you can get +We maintain JARRG in git, and you can get source code for recent and perhaps unreleased versions from one of:

     git://git.yarrg.chiark.net/jarrg-ian.git (gitweb)