tpederse has asked for the wisdom of the Perl Monks concerning the following question:

Greetings Monks, I would like to have a web page (prefer the use of cgi) where users can enter information for a bibliography I would like to compile about some software that we have distributed. I plan to ask our users who have used our software and have ended up writing a paper or other publication based on those experiences to go to this site, enter their information about the resulting publication (author, title, where published, where available if online, etc) and then have that updated online at my web site so other users can see it and access. I am sure I should have some ability to approve or delete entries that are submitted. Is anyone aware of a Perl module with these capabilities? Thanks! Ted

Replies are listed 'Best First'.
Re: web based bibliography
by csuhockey3 (Curate) on Jan 02, 2005 at 02:30 UTC
    If I understand correctly, you need to get/store/display information from a user via a form. I would build a quick CGI and store that information in a flat file and display the contents of that flatFile. Something along the lines of:
    (this is just scratch)
    #!/usr/bin/perl -wT use strict; use CGI; my $q = CGI->new(); my @names = $q->param; open( FLAT, ">> flatfile.data") or die $!; print FLAT @names; #format however you wish close(FLAT); ... #display the flat file how you like, i.e. #print $query->header("text/html") ...
    That should only be a starting place. Do you have any code you can post or convey what your approach has been so far? If you are new to CGI, see this CGI Course by Ovid -- it will bring you up to speed in no time.
Re: web based bibliography
by jfroebe (Parson) on Jan 02, 2005 at 01:48 UTC

    hi

    There are several that would do what you want. I would go for the simplicity of the CGI module myself. It seems more complicated than it is.

    Jason L. Froebe

    Team Sybase member

    No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1

Re: web based bibliography
by simonm (Vicar) on Jan 02, 2005 at 01:57 UTC
    For what it's worth, it sounds like the OP is actually asking for a pre-written script that already has these capabilities and could be customized, rather than for a set of low-level library modules that could be used to build such a solution.
Re: web based bibliography
by SciDude (Friar) on Jan 02, 2005 at 18:16 UTC

    Have you considered the use of a wiki for this purpose? Direct publishing, approvals, and perl module based cgi limit the number of options available.

    I would suggest KwikiKwiki which is perhaps the simplest to install, most modular, and easiest to extend Wiki.

    Of course, many, many more options are available for your review.


    SciDude
    The first dog barks... all other dogs bark at the first dog.
Re: web based bibliography
by Arunbear (Prior) on Jan 02, 2005 at 18:35 UTC
Re: web based bibliography
by chanio (Priest) on Jan 03, 2005 at 00:51 UTC
    If you start with some pre-made software, you would be able to concentrate in other aspects that would matter most in your plans.

    For example, building a useful knowledge base.

    You should first inform about this structure. Then plan your data collection. Every submiter might also create a collection of words that would help indexing correctly your help files. You should also have some pre-defined sections for your own classification.

    Later, your help files might get instantly translated into PDF files, in order to make searchings inside those books easy for everyone, even if they download those books.

    You should also work a little on the CSS template dessign to make them easy & clear to read and attractive to use.