https://hex-atlas.netlify.app
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.
Very good Idea! Thank you, I will add it!
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
Thank you for making a pinned post, I'll use the opportunity to make two calls:
(The other thread was at the end of it's lifecycle already)
If there's (economic) data you'd like to see feel free to reach out. I at the very least will add linking, but will also make an effort for deeper integration at some point.
Example:
e.g. Xinjiang, China , Eastern Asia , Asia, CN, CHN (in that exact wording; the Atlas works by using the lemmy search function to find these strings, by having it in the comment body you make them findable)
We as a community could for example also decide to use the ISO3166-alpha 3 for one type of news/post and the full nomeclature of the country/region for another type (not sure if need actually, it's just a thought/suggestion, but maybe someone has a cool/good suggestion)
Thank you :)
Comrade @Parsani@hexbear.net suggested to add more economic data and I was able to (at least link) to various data sources. I will look for deeper integration another time: You will find these in the Nexus > Misc Tab
World Inequality Database
UN Comtrade
International Labour Organization
International Energy Agency
World Bank
OECD
Feel free to propose more suggestions (I probably repost this call in the next newsmega as mondays ususallly seem to be the days these threads get reset)
Hi comrade,
I added a bunch of open data in the Nexus > Misc tab for you. Hope you find some of it useful. Feel free to reach out if you'd like to see more :)
World Inequality Database
UN Comtrade
International Labour Organization
International Energy Agency
World Bank
OECD
When I'll have more time I'll look for deeper integration
Thank you for your suggestion, I pushed an update just now. But I noticed that it only works locally and not on hex-atlas.netlify.app. I'll be able to debug later this week
It's probably because I manually edited Israel to be Palestine and it screwed with the file 😅 Thank you for reporting it I'll be able to fix it later this week. Feel free to add issues to https://github.com/hexatlas/lemmy-atlas/ if you find more
I ended up making it public :)
It's not my first project, but the first one that I ended up making open source. I've been mostly coding for fun on front-end personal projects. Software Engineering is such a big field, that all I know is that I don't know enough probably never will
PSA: If you want to make the Atlas even more useful, make sure to add the name of the country, province, continent, etc. into the comment body when sharing news. This way the comment shows up on it
https://github.com/hexatlas/lemmy-atlas
Thank you for your offer! Let me know if you need help setting it up
Right now I only managed to add IMF data as a proof of concept (There's a bunch of indicators to choose from). There's a lot more datasets that I would like to be able to see on there and the ability to compare countries/regions. Ideally we could visualize capital and commodity flows between two selections
I made some updates to the HexAtlas since I last posted:
https://hex-atlas.netlify.app CW: Spoilertags are still not functioning