Virtual Skipper Wiki


Hi, what you outlined at Forum:Is_there_a_Google_Maps_guru_reading_this? sounds possible, but I'm not sure if using the Google Maps API is a good idea. It may be a bit too heavy-weight for a task like this with a lot of functions you wouldn't need and a lot of work required to just make it work within that framework. I'm afraid I can't help you with it, I am pretty busy with my job at the moment. Good luck with this project. :) Drennan 11:02, 18 August 2009 (UTC)

Ad free[]

Hi! Would you like this wiki to be ad-free? I'm looking for wikis to be part of a new program which would remove all ads from the wiki for $19.95/month.

If you are interested, please be visit here to sign up. Let me know if you have any questions! - sannse (help forum | blog) 21:26, June 3, 2010 (UTC)

No thank you. This is not an attractive deal. -- najevi 03:36, June 7, 2010 (UTC)

RE: Help with RSS feed and/or using external PHP script to graph data[]

Hi. Yeah, you cannot simply refer to a URL at a wiki page, but you can use a script to embed an image/file. Since the images are created by an external site, the image would be "live" and would be updated every hour.

First, you need Template:EmbedXMLimage. For the template to work, you need to add the following script to MediaWiki:Common.js:

function embedXMLimage() {
    var allDivs = document.getElementsByTagName("div");
    for (var i=0; i<allDivs.length; i++ ) {
        var divClass = allDivs[i].getAttribute("class");
        if (divClass == null)  // For IE
            var divClass = allDivs[i].getAttribute("className");
        if (divClass == "embedXMLimage") {
            var url = allDivs[i].id
            if(url == null || url == undefined)
            url = url.replace(/\.2F/gi, "/")
            url = url.replace(/\.3D/gi, "=")
            url = url.replace(/\.3F/gi, "?")
            var embedString = "<IMG src='http://" + url + "'>";
            allDivs[i].innerHTML = embedString;

To display the image, simply add the following to any wiki page:


Replace the URL of the image if required. I've tested this in my global JS script and it works, so let me know once you have installed the script in this wiki. =)

[az] 06:20, August 2, 2010 (UTC)

Thank you that script works like a charm. viz. Main Page#Recent activity online
-- najevi 08:17, August 2, 2010 (UTC)
Cool! [az] 09:36, August 2, 2010 (UTC)

A jQuery version of the above script now used and is working as expected.

function embedXMLimage() // alternative to Azliq7's code
{                        // complement Template:EmbedXMLimage 
    $('.embedXMLimage[id]').each( function() {
        var url = $(this).attr('id');
        url = url.replace(/\.2F/gi, "/");
        url = url.replace(/\.3D/gi, "=");
        url = url.replace(/\.3F/gi, "?");
        $(this).append("<IMG src='http://" + url + "'>");
$( embedXMLimage );

-- najevi 01:00, August 6, 2010 (UTC)