@hex_atlas
@hexbear.netI made some updates to the HexAtlas since I last posted:
https://hex-atlas.netlify.app CW: Spoilertags are still not functioning
Thank you for you patience and taking the time to explain. I don't have much experience with Wiki, apart as a casual reader, and appreciate you taking the time.
Editors rely on marxists.org a lot but I want to move away from them because they outright remove parts they don't like without telling the reader :(
The more you know.. Thank you.
and there is a public-facing API (though it's bonked right now)
(refer to the URL for the schema and not the displayed title, which we can change on the front-end)
Could you kindly elaborate some more?
Atm I was only able to add a simple " 📚📕 All library works about {activeAdministrativeRegion.country} on ProleWiki." to https://en.prolewiki.org/wiki/Category:Library_works_about_${activeAdministrativeRegion.country} on Top of the ProleWiki Tab.
Sometimes you might have 'about the', e.g. "the USSR".
Unfortunately I don't have solution for this atm, but looking to add user defined regions in order to lay the way to for linking to USSR, BRICS, etc
I assume the from and to parameters use the page's ID which there is no way to predict unfortunately.
Hmm ok. If there's an API that gives me a JSON response of the book (pages) I would be able to integrate it similar to the Anarchist Library or the 72T Bulletins.. The current implementation (not the Library, but the Country pages) uses the HTML response from the API (https://en.prolewiki.org/api.php?action=parse&page=germany&format=json&redirects). Is there something like this?
Also, unfortunately the HTML body has relative links and these aren't working (click on any of the wiki article links and you see what I mean). I thought I had a solution to make the links absolute by injecting the wiki base URL on Click, but i broke the sources as these are absolute links already. Not sure how to go about solving this. Do you have experience with this?
Ahh sweet! Didn't know about https://en.prolewiki.org/wiki/ProleWiki:Library and I see it's also linking to marxists.org (albeit seems not as extensive yet), which I wanted to link too
in the Library: namespace, which is added before the page name in the URL
Do you know how the from/to parameters ( "Display pages at") work? Is there a way to filter by county?
https://en.prolewiki.org/wiki/Special:AllPages?from=&to=&namespace=3000&hideredirects=1
At the very least I'll be able to link to the Library, but it would be cool to filter marxists works by country also
I added the paper and your comment to the issue on GitHub. Personally I don't have experience with what I takes to implement a feature like this and will definitely reach out to you when I'm ready to takle this task. Thank you for looking into this.
Is there some desire to add a way to look up a relation between two countries in the UI? Or, even more specifically, an industry in a country with an industry in another?
Yes! Ideally you'd be able to select two or more countries and see capital and commodity flows and show (imperial) relations. Not sure how to achieve that yet, but I view this as a long-term project.
Do you have experience with the math etc. involved?
Hmm.. I'm mostly familiar with front-end and for most of the integrations, I've been able to leverage various APIs, where a lot of that backend-stuff is solved already (i.e. asking the server to get X Data and getting X back; like the IMF Data Tab). Downloading the spreadsheet and doing this myself, I'd have to get familiar with writing that type of code and the math first and it would take me a long time to implement. If someone would like to help doing the back-end it would be cool (please reach out). For now I feel like I still have so much left to do on the front-end of things. I'm also thinking about reaching out to the listed researchers at the bottom, once I'm ready to tackle it
Cool! Unfortunately I found no way of directly linking to the country. (I also checked the network in devtools, but nothing I'm familiar with or could use) It'll have to be a generic link for now
Most errors should be fixed now. I wasn't able to match these:
No match found for country: Ashmore and Cartier Islands
No match found for country: Bajo Nuevo Bank (Petrel Is.)
No match found for country: Clipperton Island
No match found for country: Coral Sea Islands
No match found for country: Northern Cyprus
No match found for country: Dhekelia Soverign Base Area
No match found for country: Indian Ocean Territories
No match found for country: Baykonur Cosmodrome
No match found for country: Siachen Glacier
No match found for country: Null Island
No match found for country: Spratly Is.
No match found for country: Scarborough Reef
No match found for country: Serranilla Bank
No match found for country: US Naval Base Guantanamo Bay
No match found for country: Akrotiri Sovereign Base Area