Difference between revisions of "Dev/Sitemap"

Line 353: Line 353:
  
 
<script>
 
<script>
 +
 +
 +
//Set up a place to store the pages info between requests
 +
document.page_info = {};
  
 
$.ajax({
 
$.ajax({
   url: "https://2016.igem.org/wiki/api.php?action=query&list=allpages&format=json&aplimit=5000",
+
   url: "https://2016.igem.org/wiki/api.php?action=query&list=allpages&format=json&aplimit=5000",  
+
  // The name of the callback parameter, as specified by the YQL service
+
 
     jsonp: "callback",
 
     jsonp: "callback",
 
    // Tell jQuery we're expecting JSONP
 
 
     dataType: "jsonp",
 
     dataType: "jsonp",
+
 
    // Tell YQL what we want and that we want JSON
+
 
     data: {
 
     data: {
        //q: "select title,abstract,url from search.news where query=\"cat\"",
 
 
       format: "json"
 
       format: "json"
 
     },
 
     },
 +
 +
error: function( ) {
 +
console.log(" Error , please try again");
 +
},
 
   
 
   
     // Work with the response
+
    
 
success: function(data, textStatus, jqxhr) {
 
success: function(data, textStatus, jqxhr) {
alert("wooop!");
+
console.log("Succesful load");
// document.team_info = data;
+
document.page_info = data;
// place_team_info(data);
+
place_pages(data);
 
},
 
},
});
+
 
 +
 
 +
});
  
  
Line 385: Line 389:
  
  
 
+
function place_pages(data) {
 +
alert(" we are here");
 +
}
  
  

Revision as of 21:04, 22 April 2016

iGEM is a multifaceted competition with many different components. Our websites have a lot of information, from requirements of the competition to tips on how make fundraising easier. This page is here to help you navigate our site and make sure you have access to all of its content.

View mode
LIST
MENU

List view

Complete list of the pages in our wiki ordered alphabetically.



All Pages

Menu view

Pages are sorted into "buckets" or categories that mimic the menu on the right side of the page.

About
Requirements
Competition
Judging
Giant Jamboree
Resources
Teams and Community
Team Wiki Standard Pages

    HQ control pages

    This information is for HQ to keep track of the pages that are not on the menu and or that are being developed by headquarters.

    Total number of pages 2016 Wiki HQ Not sorted Redirect
    Not sorted
    HQ pages and Dev
    Redirect