wiki

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
 
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{DavinciWiki_Function|
 
{{DavinciWiki_Function|
Open the [[Main_Page|DavinciWiki]] to the specified function in the user's default web browser.  This works with both Mac and Linux.
+
Open the [[Main_Page|DavinciWiki]] to the specified function in the user's default web browser.  This works with Windows, Mac and Linux.  Use $DV_BROWSER environment variable to specify the desired web browser command. Defaults are: start (windows), htmlview/x-www-browser(Linux) and open (mac).
 
|
 
|
 
Arguments: Function name
 
Arguments: Function name
Line 14: Line 14:
 
'nobrowser' - Any value will simply display the URL
 
'nobrowser' - Any value will simply display the URL
 
|
 
|
  dv> wiki("v_border",nobrowser=1)
+
  dv> wiki("v_border")
  DavinciWiki Site:  <nowiki>http://davinci.asu.edu/wiki/index.php/v_border</nowiki>
+
  DavinciWiki Site:  <nowiki>http://davinci.asu.edu/index.php?title&#61;gv_border</nowiki>
  
 
The user's default web browser is opened.  
 
The user's default web browser is opened.  
  
 
  dv> wiki("v_border",nobrowser&#61;1)
 
  dv> wiki("v_border",nobrowser&#61;1)
  DavinciWiki Site:  <nowiki>http://davinci.asu.edu/wiki/index.php/v_border</nowiki>
+
  DavinciWiki Site:  <nowiki>http://davinci.asu.edu/index.php?title&#61;v_border</nowiki>
 
|
 
|
 +
[[Image:wiki_browser.png|600px]]
 
|
 
|
 
*[[system]]
 
*[[system]]
 
*[[printf]]
 
*[[printf]]
 
|
 
|
 +
*[[library]]
 
|
 
|
[[Media:wiki.dvrc|wiki()]]
+
*utils.dvrc
 
|
 
|
 
}}
 
}}

Latest revision as of 16:22, 6 May 2010


Description

Open the DavinciWiki to the specified function in the user's default web browser. This works with Windows, Mac and Linux. Use $DV_BROWSER environment variable to specify the desired web browser command. Defaults are: start (windows), htmlview/x-www-browser(Linux) and open (mac).

Arguments and Return Values

Arguments: Function name

Return Value: Opens a web browser and prints the site's URL

NOTE: This is the internal path at ASU.

Usage

Syntax: wiki(function [,nobrowser=VAL])

'function' - The full function name as a string

'nobrowser' - Any value will simply display the URL

Examples

dv> wiki("v_border")
DavinciWiki Site:  http://davinci.asu.edu/index.php?title=gv_border

The user's default web browser is opened.

dv> wiki("v_border",nobrowser=1)
DavinciWiki Site:  http://davinci.asu.edu/index.php?title=v_border

Images

wiki browser.png

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Major Sub-Functions

Related Functions

Recent Library Changes

Created On: 09-29-2006
Modified On: 05-06-2010

Personal tools