968c20f6c30a5e869496c86349f4b7975a34cdf6
[www.jankratochvil.net.git] / project / postget / ListItem.pm
1 #! /usr/bin/perl
2
3 # $Id$
4 # Definition of 'My::Project::postget' for list.cgi.pl
5 # Copyright (C) 2003 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
6
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; exactly version 2 of June 1991 is required
10
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
20
21 package project::postget::ListItem;
22 require 5.6.0;  # at least 'use warnings;' but we need some 5.6.0+ modules anyway
23 our $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
24 our $CVS_ID=q$Id$;
25 use strict;
26 use warnings;
27
28 use My::Web;
29
30
31 our @ListItem=(
32                 "name"=>"postget",
33                 "platform"=>"web",
34                 "trivia"=>1,
35                 "priority"=>6,
36                 # FIXME: 'http://cvs.jankratochvil.net/viewcvs/' -> $W->{"project_viewcvs"}
37                 "download"=>'http://cvs.jankratochvil.net/viewcvs/'."*checkout*/nethome/WWW/cgi-bin/postget.php?rev=HEAD",
38                 "summary"=>"Bookmark ".a_href('http://www.w3.org/TR/html4/interact/forms.html#h-17.13.1','POST')
39                                 .' forms, hide passwords',
40                 "license"=>"PD",
41                 "maintenance"=>"ready",
42                 "language"=>"PHP",
43                 "description"=><<"HERE",
44 <p>You cannot bookmark pre-filled forms to your browser bookmarks. Although
45 browsers support storing of form data you still have to load the form page and
46 click its submit button. This script will allow you to:</p>
47 <ul>
48         <li>Store all @{[ a_href 'http://www.w3.org/TR/html4/interact/forms.html#h-17.13.1','POST' ]}ed
49                         form data as @{[ a_href 'http://www.w3.org/TR/html4/interact/forms.html#h-17.13.1','GET' ]} data
50                         (after '<b>?</b>' URL delimiter).</li>
51         <li>Replace all sensitive passwords by indirect references to your <b>priv</b> directory
52                         to allow you to make your bookmark file public.</li>
53 </ul>
54 HERE
55                 );
56
57 1;