Please show your support of Waihekepedia by adding a link to us from your web site. Waihekepedia T Shirts now available at the Ostend Market

Difference between revisions of "Extensions"

From Waihekepedia
Jump to navigation Jump to search
Line 16: Line 16:
 
==MP3 Files==
 
==MP3 Files==
  
Simply add  <nowiki><flashmp3>mpr url</flashmp3>into your content, save and then click the link shown to upload your MP3 file</nowiki>
+
Simply add  <nowiki><flashmp3>mp3 url or filename</flashmp3>into your content, save and then click the link shown to upload your MP3 file</nowiki>
  
  

Revision as of 00:24, 28 October 2007

Add Media Extensions to your Waihekepedia Content

YouTube Videos

In your content simply add <youtube> v </youtube> to the page you are editing. Change the v to the YouTube video ID and save - easy!

Where do I find the video ID?

Go to any YouTube Video - the URL will look something like this:

http://youtube.com/watch?v=ktGWedidACk&mode=related&search=

The bold bit is the video ID


MP3 Files

Simply add <flashmp3>mp3 url or filename</flashmp3>into your content, save and then click the link shown to upload your MP3 file


Google Maps

To embed a Google map in a page you will need to know the co-ordinates of the location you wish to display.

Google Maps can be used to find coordinates. Find the place you require coordinates for, and double click on it to centre the map around that point. Then click the "link to this page" link, and the coordinates (in degrees and parts of a degree in decimals) appear in the address bar, eg "http://maps.google.co.uk/?ll=51.455558,-2.605047&spn=0.032304,0.069523". In this case the latitude is 51.455558, and the longitude is -2.605047.

In your content add the following tag

<gmap lat="51.455558" long="-2.605047" zoom="5" width="800" height="600">Map Title</gmap>

Zoom can be any number between 1 and 10 - 1 being the most zoomed in

Set width and height to suit you page