💾 Archived View for bbs.geminispace.org › u › michaelnordmeyer › 3856 captured on 2023-12-28 at 16:32:52. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-14)

➡️ Next capture (2024-02-05)

🚧 View Differences

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

Comment by 🍵 michaelnordmeyer

Re: "CIA World Factbook"

In: s/Geminispace

This takes me back a couple of decades :-D

🍵 michaelnordmeyer

Aug 05 · 5 months ago

2 Later Comments ↓

🧇 Acidus · Aug 07 at 21:01:

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.

📻 solderpunk · Aug 13 at 11:43:

@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.

Original Post

🌒 s/Geminispace

— CIA World Factbook in gemtext

CIA World Factbook — 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.

💬 solderpunk · 5 comments · 11 likes · Aug 04 · 5 months ago