hex_atlas [comrade/them, he/him]

https://hex-atlas.netlify.app

  • 1 Post
  • 37 Comments
Joined 11 months ago
cake
Cake day: January 22nd, 2024

help-circle



  • hex_atlas [comrade/them, he/him]
    hexagon
    tonewsIntroducing: HexAtlas
    ·
    edit-2
    8 months ago

    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?


  • hex_atlas [comrade/them, he/him]
    hexagon
    tonewsIntroducing: HexAtlas
    ·
    edit-2
    8 months ago

    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








  • hex_atlas [comrade/them, he/him]
    hexagon
    tonewsIntroducing: HexAtlas
    ·
    edit-2
    8 months ago

    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)

    1. Under the Nexus > Misc tab you will find a basic integrations of:
    • World Inequality Database
    • UN Comtrade
    • International Labour Organization
    • International Energy Agency
    • World Bank
    • OECD

    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.

    1. In order to increase usability of the atlas please add the location to the comment body. Also please consider following: Since there's a province/territory scope, and a lot of these are empty atm you can post local news from your area also. It would be cool for comrades that would like to now what's going on locally in different parts of the world. If doxxing is a concern: create a new account.

    Example:

    • You read interesting news about a certain location
    • Post the news in the format you're used to, but
    • If you use the exact wording how you find it in the atlas to "tag" (see what I mean below), you will make sure it pops up in that scope

    Show

    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 :)



  • hex_atlas [comrade/them, he/him]
    hexagon
    tonewsIntroducing: HexAtlas
    ·
    edit-2
    8 months ago

    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



  • hex_atlas [comrade/them, he/him]
    hexagon
    tonewsIntroducing: HexAtlas
    ·
    8 months ago

    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


  • hex_atlas [comrade/them, he/him]
    hexagon
    tonewsIntroducing: HexAtlas
    ·
    edit-2
    8 months ago

    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