PHP Classes

File: example.html

Recommend this page to a friend!
  Classes of Ali YILMAZ   PHP Wikiloc   example.html   Download  
File: example.html
Role: Example script
Content type: text/plain
Description: Example page
Class: PHP Wikiloc
Validate Wikiloc URL pages and extract map IDs
Author: By
Last change:
Date: 4 months ago
Size: 780 bytes
 

Contents

Class file image Download
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Wikiloc.js</title>
    <script src="src/wikiloc.js"></script>
</head>
<body>
    <p>Look at the console!</p>
    <script>

        let trailPage = 'https://www.wikiloc.com/hiking-trails/cilingoz-cennet-selaleleri-05-08-2018-27286246';
        console.log(isWikilocTrailValidation(trailPage));
        console.log(getWikilocTrailId(trailPage));

        let trailMap = 'https://www.wikiloc.com/wikiloc/embedv2.do?id=27286246&elevation=off&images=off&maptype=H';
        console.log(isWikilocTrailMapValidation(trailMap));
        console.log(getWikilocTrailMapId(trailMap));

    </script>
</body>
</html>