Visited Places

We tag the pages we write about our explorations. Here, by tag and then editing order, we list all the places.

//wiki.ralfbarkow.ch/assets/scripts/visited-places.html HEIGHT 500

places

async function map(event) { let category = event.target.innerText let slugs = categories[category].map(info => info.slug) let pages = await Promise.all(slugs.map(slug => fetch(`//${origin}/${slug}.json`).then(res => res.json()))) let text = pages.map(center).join("\n") let html = pages.map(image).join("\n") let title = `Places Tagged ${category}` let story = [ {type:'paragraph', text:'We found pages for these places. Update this page from the category on the View Places page.'}, {type:'map', text}, {type:'html',text:html} ] open({title,story},event.shiftKey) }