8780eca301
Also ensure newline at EOF. This was achieved by running the new normalize_coop_frontmatter.rb script which basically reads in the frontmatter, parses it and dumps it back out. I had to manually fix some telephone numbers which had been incorrectly parsed as some kind of number rather than as strings. |
||
---|---|---|
.. | ||
.gitignore | ||
coop.erb.md | ||
coop.rb | ||
Gemfile | ||
Gemfile.lock | ||
migrate_clients.rb | ||
migrate_coop_logos.rb | ||
migrate_coop_pages.rb | ||
migrate_services.rb | ||
migrate_technologies.rb | ||
normalize_coops_frontmatter.rb | ||
README.md |
Scripts
This directory contains scripts for migrating data from wordpress to jekyll.
It relies on a local mirror of the archived CoTech website which you can create by running
mkdir mirror
cd mirror
httrack https://coops.tech.archived.website/
httrack
is available via homebrew
on MacOS.
You then need to install dependencies from rubygems by running
bundle install
Creating data files in _coops
ruby migrate_coop_pages.rb