45,686
edits
Changes
→Google paths
<nowiki>''italic text''</nowiki>
To link a text to another page within the wiki, enclose the word in double square double brackets:
<nowiki>[[</nowiki>[[Anakao]]<nowiki>]]</nowiki>
To link to a page from an image instead of an image leading to larger version of the file shown on a page, add the link parameter to the image markup, eg.:
[[Image:Big_fish.jpg|100px200px|link=Big_fish]][[Image:Madagascar_Coffee_001.jpg|200px|link=Madagascar_Coffee]]
<pre>[[Image:Big_fish.jpg|100px200px|link=Big_fish]][[Image:Madagascar_Coffee_001.jpg|200px|link=Madagascar_Coffee]]</pre>
== Link to an image or other file ==
[mailto:hello@madacamp.com hello@madacamp.com]
<!---
== Skype button ==
To display a Skype button that will launch Skype and call or start a chat to a specified Skype address as well as indicate its online or offline status, first configure your Skype application to allow its status be shown online (if it has not already been configured as such). This is done within the Skype application section <b>Tools->Options->Privacy</b>. Tick the checkbox ''Allow my status to be shown on the web'':
The following example will create a button for which a call can be made when clicked on:
The available actions are: add, chat or call
== Google maps == To create new or edit existing Google maps on pages, click on the map button httphttps://www.madacamp.com/extensions/GoogleMaps/images/button_map_open.gif above the edit box.
Find the region to display, set the various size and display options and thereafter copy the resulting <googlemap>...<googlemap> code into the edit box and save the page.
Various display options include satellite view, map view, adding of place markers, drawing lines etc.
== Google paths ==
Go to maps.google.com
Click menu in top left corner -> Your places -> MAPS
Click CREATE MAP (bottom left of screen)
Click Import
Select a track on the computer (eg. Track_AMBOHIMANGA-IVATO.gpx) and
drag and drop into the Upload space
Click on the upper three dots
Export to KML/KMZ
Select "Export to a .KML file (full icon support use .KMZ)."
Download
Click Save File, to eg. FILENAME.gpx
In the file, there is a list of coordinates:
<pre><nowiki><coordinates></nowiki>
50.1606086176,-14.2578310333,12.63
50.1606914308,-14.2576493975,11.67
etc.
</coordinates></pre>
Run geoconvert.sh FILENAME.gpx to change format to:
<pre>
-14.2578310333, 50.1606086176
-14.2576493975, 50.1606914308
etc.
</pre>
Copy into a new Google map, eg.:
<pre><nowiki><googlemap version="0.9" lat="-19.105844" lon="47.33697" height="750"
controls="large" style="width:100%;max-width:600px;">
</nowiki>
2#B2FCFF00
-14.2578310333, 50.1606086176
-14.2576493975, 50.1606914308
etc.
<nowiki></googlemap></nowiki></pre>
Placemarker icons are done separately above the path code
== Scalable maps ==
Modify markup on all pages containing maps to include <code>style="width:100%;max-width:600px;"</code>, e.g.:<br>
<nowiki><googlemap version="0.9" lat="-12.243119" lon="49.345264" type="satellite" zoom="16" controls="large" style="width:100%;max-width:600px;"></nowiki>
Use http://www.madacamp.com/Special:ReplaceText
Replace:
<nowiki><googlemap version="0.9" (.*)></nowiki>
with:
<nowiki><googlemap version="0.9" $1 style="width:100%;max-width:600px;"></nowiki>
Select 'Use regular expressions' and namespaces 'Main'.
Pages which already contain the string will thereafter have duplicate style declarations:
style="width:100%;max-width:600px;" style="width:100%;max-width:600px;"
Thereafter replace instances of:
style="width:100%;max-width:600px;" style="width:100%;max-width:600px;"
with:
style="width:100%;max-width:600px;"
<!--''Additional information:'' -->
== Adding RSS news feeds to pages ==
RSS means (Really Simple Syndication. It's a standard code format for feeding various news reader applications (including web browsers) with news allows importing summaries and corresponding links to news articles. For example, do a Google news search at [httphttps://news.google.com http://news.google.comsearch] for any given keyword or phrasecan be imported. Thereafter scroll HOwever, Google does not include RSS feed URLs directly on their search result pages but it's not complicated to piece together the bottom of relevant feed URLs. For example, a search for the phrase "madagascar lemurs" can be included on a page and find the RSS symbol [[Fileas follows:RSS_icon.png|14px]]. Follow the link to the URL of the raw RSS feed.
== Uploading images ==
However, many cameras output different aspect ratios and size settings. Depending on your internet connection speed, size and number of images, you may prefer to scale your images down before uploading them onto this site.
A free graphics application to scale images down is [http://www.gimp.org The Gimp]. <!--Alternatively, try the Pixlr online photo editor at http://pixlr.com/editor/-->
Or to avoid using a graphic application altogether, just upload your images in their original sizes and dimensions as they come from the camera.
<gallery>
</gallery>
<pre><nowiki>
<gallery>
</gallery>
</nowiki></pre>
caption="Caption above gallery"
widths=''n'' Image - image widths in pixels heights=''n'' - image heights in pixels
== Wide images ==
To display a video from YouTube on this site, extract and copy the relevant video ID that is part of a YouTube URL, e.g.
[httphttps://www.youtube.com/watch?v=_OKs7qpJvRI&feature=related httphttps://www.youtube.com/watch?v=<font color="#bd0000">AzUsrLi8P4ovDYzsT3d06I</font>&feature=related] and paste it into place in the edit form as follows: <nowiki><HTML5video type="youtube" width="600" height="338">vDYzsT3d06I</HTML5video></nowiki> <HTML5video type="youtube" width="600" height="338">vDYzsT3d06I</HTML5video> The ''width'' and ''height'' parameters are optional. <HTML5video type="youtube" width="600" height="338">caODxMEUq1w</HTML5video>
<googlevideonowiki>7281432690466273651<HTML5video width="520" height="320" autoplay="true" loop="true">Dragonfly</HTML5video></nowiki> Different browsers will automatically select the suitable format for their individual systems. <HTML5video width="520" height="320" autoplay="true" loop="true">Dragonfly</googlevideoHTML5video> <!--Bug: Thumbs does not show up on Ipad, which affects autoplay="false" mode. https://www.mediawiki.org/w/index.php?oldid=2285855 -->
<!--
== Editing and publishing videos ==
While YouTube offers an a quick and easy conversion process from any original way to publish a video file format into website compatible Flash video (FLV) format is by simply uploading your video onto it into a YouTube accountand thereafter including it on a page, YouTube will display links to other user's YouTube hosted videos at the end of your video, often in combination with Google syndicated advertising. To prevent this mostly irrelevant information from being displayed along with your video, you can upload your video also be uploaded directly on MadaCamp, after first having converted it into FLV format. If your video has been shot with a digital camera, it is likely Your original may be an Mpeg, AVI, Quicktime or some other format. The conversion into FLV format can then be done using an advanced a video editor such as [http://en.wikipedia.org/wiki/Avidemux Avidemux], which is available for free download on all operating systems:
[[File:Avidemux.jpg|600px]]
Alternatively, [http://ffmpeg.org FFmpeg] is an excellent and free video editing tool, but requires command line editing, which is mainly done on Linux and OSX systems.
For Windows users, a nice and simple FLV conversion tool is [http://www.miksoft.net/mobileMediaConverter.htm Mobile Media Converter]. While Mobile Media Converter lack various advanced editing features that exists in Avidemux, if all you need is to simply convert a video into FLV format without fancy special editing, Mobile Media Converter is a perfectly good tool for the purpose. Various pre-configured size, bandwidth and quality level options are available in the conversion process.
<table cellpadding="0" cellpadding="0" border="0" style="border:1px solid #cccccc; float:left; margin-right:10px; width:328px;"><tr>
For tips a tricks on editing video in Windows or Mac OSX or using various cloud based (online) tools, watch BBC's [http://news.bbc.co.uk/2/hi/programmes/click_online/9484842.stm The essential guide to video editing] webcast from 13 May 2011.
-->
<!--