saudade/wordfire/config.js

44 lines
945 B
JavaScript
Raw Normal View History

2023-12-10 20:37:03 -08:00
const currentPage = location.pathname.split("/").pop().split(".")[0];
const waybackSiteBase = "http://home.earthlink.net/~wordfire/";
2023-06-09 13:55:00 -07:00
const pageMetadata = {
2023-12-10 20:37:03 -08:00
index: {
captureId: "20050913215113",
sourcePageName: "",
},
play1: {
captureId: "20050911044611",
sourcePageName: "id1.html",
},
play2: {
captureId: "20050911220624",
sourcePageName: "id5.html",
},
play3: {
captureId: "20050912163724",
sourcePageName: "id6.html",
},
possums: {
captureId: "20050905152820",
sourcePageName: "id12.html",
},
play4: {
captureId: "20050912184232",
sourcePageName: "id13.html",
},
sound: {
captureId: "20050413012516",
sourcePageName: "id14.html",
},
precious: {
captureId: "20050413012604",
sourcePageName: "id2.html",
},
};
2023-06-09 13:55:00 -07:00
2023-06-09 16:03:44 -07:00
export const wayback =
2023-12-10 20:37:03 -08:00
pageMetadata[currentPage].captureId +
"/" +
waybackSiteBase +
pageMetadata[currentPage].sourcePageName;