1
0
Fork 0

TODO: Wikipedia links

This commit is contained in:
Gregory Eremin 2014-07-05 15:06:04 +07:00
parent 015eb02fd2
commit 355ee0a862
1 changed files with 3 additions and 0 deletions

View File

@ -183,6 +183,9 @@
} }
function loadPageInfo(url, callback) { function loadPageInfo(url, callback) {
// TODO: Fetch wikipedia URLs from api instead of given URL
// http://en.wikipedia.org/w/api.php?format=json&action=query&titles=Page_Name&prop=info|pageimages|extracts&pithumbsize=300
var xhr = new XMLHttpRequest(); var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function() { xhr.onreadystatechange = function() {