Tags:
create new tag
, view all tags
Module name geturl GeturlCommandLineScript
Location TWIKIROOT/bin/geturl
Summary  
Primary Author Main.

CVS history http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/twiki/twiki/bin/geturl
CVS alpha http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/twiki/twiki/bin/geturl?rev=HEAD&content-type=text/vnd.viewcvs-markup
Contributing authors (see CVS History)
IsClass NO
First TWikiRelease to be filled out

Purpose

To provide a means to get a URL in the absence of better tools such as

Used by

Invoked from the command line. See:

e.g.

Usage:    geturl <host> <path> [<port> [<header>]]
Example:  geturl some.domain /some/dir/file.html 80
will get: http://some.domain:80/some/dir/file.html

TWiki Modules used

External Modules used

PublicMethods

This section lists the methods that can be used by the scripts and by other modules

  • none

PrivateMethods

These do not need to be not documented yet

Please see CodevDocumentationProject and CodevDocumentationProjectDev for comments on the format of these pages.

-- MartinCleaver - 23 Jun 2002

  1. Would it be better to have a util directory sibling to bin, or RenameBinToCgiBin?
  2. It would be consistent with other tools if this took the syntax:
http://some.domain:80/some/dir/file.html instead of needing the host, port and location on the site separately.

-- MartinCleaver - 23 Jun 2002

Topic revision: r3 - 2006-05-04 - SamHasler
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.