💾 Archived View for bbs.geminispace.org › s › Geminispace › 3812 captured on 2023-11-04 at 13:57:15. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-09-28)

➡️ Next capture (2023-11-14)

🚧 View Differences

-=-=-=-=-=-=-

CIA World Factbook

CIA World Factbook in gemtext

I am working on converting the CIA World Factbook to gemtext. It is coming along pretty well, the original web version does not really use much more than three levels of headers anyway.

Posted in: s/Geminispace

📻 solderpunk

2023-08-04 · 3 months ago · 👍 skyjake, gritty, Smokey, michaelnordmeyer, mieum, Mirari, Ruby_Witch, norayr, fab, Eggsalad, dragfyre · 1 🎉

5 Comments ↓

😎 Smokey

Very cool!

🍄 Ruby_Witch

This is very useful, definitely good information to have available on Gemini! The CIA factbook has been something I've used a lot for research when writing papers in the past. It'll be interesting if you can find some way to keep it up to date.

🍵 michaelnordmeyer

This takes me back a couple of decades :-D

2023-08-05 · 3 months ago

🧇 Acidus

This is super awesome @solderpunk. How are you doing the converting? I know it said manual, but that's a lot of content to do it without even some perl one-liners or something.

2023-08-07 · 3 months ago

📻 solderpunk

@Acidus Oh, there are definitly scripts involved! Python scripts. Pretty standard stuff, with Requests, BeautifulSoup and html2text. It's manual in that it's a small pile of scripts I need to run by hand in the right order and sometimes comment things in/out. It won't be hard or take long to turn it into something a little more turn-key. Eventually there will just be a weekly cron job to pull in updates. I really hope some kind of conditional fetch is supported by the CIA's HTTPS setup, so I can only download genuinely new stuff each week.

2023-08-13 · 3 months ago