Using a wiki for FOSS application documentation


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements UNIX and Linux RSS News Using a wiki for FOSS application documentation
# 1  
Old 05-09-2008
Using a wiki for FOSS application documentation

Fri, 09 May 2008 08:00:00 GMT
For a lot of programmers, writing an application is fun, but writing its manual is not. Adding new features, refining the product, and responding to users' input are all more rewarding than writing instructions on how to use the software. However, good documentation is necessary to have happy, informed users who can contribute meaningfully to future development. A few months ago, Gilbert Ashley, the author of src2pkg (Slackware's "magic package maker") invited me and two other people to help him manage the user documentation for his program. The process we used to create the src2pkg wiki may be a useful example for other free and open source software (FOSS) application developers.


Source...
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. What is on Your Mind?

Is M.Sc (FOSS) worth doing?

Recently while reading an linux magazine I understood that FOSS (Free or open source software) is gaining momentum.. And in my home town there is an reputed university which offers M.Sc online program on FOSS. The course covers: INTRODUCTION TO COMPUTING, PHILOSOPHY AND PRACTICE OF FOSS,... (4 Replies)
Discussion started by: Arun_Linux
4 Replies

2. UNIX for Dummies Questions & Answers

wiki

Please i am trying to create an intranet wiki in my work place but i have no idea what to do, please if you can guide me on how to go about it i will really appreciate it. thanks (1 Reply)
Discussion started by: bensen
1 Replies

3. Solaris

Wiki on Solaris

Hi, i want to install wiki on solaris, to make my own wikipedia inside my company. I'm using Solaris 10. Can someone help me with this, give me some directions, what do i have to install, some step by step guide. thanks in advance :) (4 Replies)
Discussion started by: n00b
4 Replies

4. AIX

Wiki on AIX

Hi I am wanting to download and install Wiki Software on an AIX server and have no idea which one or where to start ; preferably Open Source - anyone any ideas? Thanks (5 Replies)
Discussion started by: carole_76
5 Replies

5. UNIX for Dummies Questions & Answers

Wiki on AIX

Hi I am wanting to download and install Wiki Software on an AIX server and have no idea which one or where to start ; preferably Open Source - anyone any ideas? Thanks (1 Reply)
Discussion started by: carole_76
1 Replies

6. Web Development

wiki -- heard about them, tell me more

I have heard about companies setting up wiki sites to allow for user grops to workshare information via the web. When I said something about this to someone, was told it was a lot of work to setup. Anyone care to comment on what is truly needed? The materials needed, effort required, whether it... (4 Replies)
Discussion started by: joeyg
4 Replies
Login or Register to Ask a Question
Plack::App::URLMap(3pm) 				User Contributed Perl Documentation				   Plack::App::URLMap(3pm)

NAME
Plack::App::URLMap - Map multiple apps in different paths SYNOPSIS
use Plack::App::URLMap; my $app1 = sub { ... }; my $app2 = sub { ... }; my $app3 = sub { ... }; my $urlmap = Plack::App::URLMap->new; $urlmap->map("/" => $app1); $urlmap->map("/foo" => $app2); $urlmap->map("http://bar.example.com/" => $app3); my $app = $urlmap->to_app; DESCRIPTION
Plack::App::URLMap is a PSGI application that can dispatch multiple applications based on URL path and hostnames (a.k.a "virtual hosting") and takes care of rewriting "SCRIPT_NAME" and "PATH_INFO" (See "HOW THIS WORKS" for details). This module is inspired by Rack::URLMap. METHODS
map $urlmap->map("/foo" => $app); $urlmap->map("http://bar.example.com/" => $another_app); Maps URL path or an absolute URL to a PSGI application. The match order is sorted by host name length and then path length. URL paths need to match from the beginning and should match completely till the path separator (or the end of the path). For example, if you register the path "/foo", it will match with the request "/foo", "/foo/" or "/foo/bar" but it won't match with "/foox". Mapping URL with host names is also possible, and in that case the URL mapping works like a virtual host. Mappings will nest. If $app is already mapped to "/baz" it will match a request for "/foo/baz" but not "/foo". See "HOW THIS WORKS" for more details. mount Alias for "map". to_app my $handler = $urlmap->to_app; Returns the PSGI application code reference. Note that the Plack::App::URLMap object is callable (by overloading the code dereference), so returning the object itself as a PSGI application should also work. DEBUGGING
You can set the environment variable "PLACK_URLMAP_DEBUG" to see how this application matches with the incoming request host names and paths. HOW THIS WORKS
This application works by fixing "SCRIPT_NAME" and "PATH_INFO" before dispatching the incoming request to the relocated applications. Say you have a Wiki application that takes "/index" and "/page/*" and makes a PSGI application $wiki_app out of it, using one of supported web frameworks, you can put the whole application under "/wiki" by: # MyWikiApp looks at PATH_INFO and handles /index and /page/* my $wiki_app = sub { MyWikiApp->run(@_) }; use Plack::App::URLMap; my $app = Plack::App::URLMap->new; $app->mount("/wiki" => $wiki_app); When a request comes in with "PATH_INFO" set to "/wiki/page/foo", the URLMap application $app strips the "/wiki" part from "PATH_INFO" and appends that to "SCRIPT_NAME". That way, if the $app is mounted under the root (i.e. "SCRIPT_NAME" is "") with standalone web servers like Starman, "SCRIPT_NAME" is now locally set to "/wiki" and "PATH_INFO" is changed to "/page/foo" when $wiki_app gets called. AUTHOR
Tatsuhiko Miyagawa SEE ALSO
Plack::Builder perl v5.14.2 2011-06-22 Plack::App::URLMap(3pm)