Skip to content

rug-ds-lab/gapps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

gapps

A PmWiki recipe to embed select Google apps such as maps and youtube videos.

Installation

  • Place gapps.php in PmWiki's cookbook directory.

Setup

To use this plugin, it must be enabled in PmWiki's local/config.php file. It can be enabled by including the following lines:

$google_api_key = 'YOUR_GOOGLE_API_KEY';
include_once('cookbook/gapps.php');

Setting a Google API key is only required when embedding maps.

Usage

Below is the list of available commands. Remember to always put a line feed after each command.

(:youtube videoid:)

Embeds a youtube video with the id videoid. For example, (:youtube dQw4w9WgXcQ:) will embed this video.

(:maps placeid:)

Embeds a map with the id placeid. For example, (:maps ChIJa0V3TxrNyUcR5Vbw83TCQZg:) will embed a map featuring the Bernoulliborg.

About

A PmWiki recipe to embed select Google apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages