clone your own copy | download snapshot



This repo aims to study if a port of the OSP wordpress blog to a Pelican structure is viable. Meanwhile it's a a backup or an export or a migration.

  • http://ospublish.constantvzw.org/
  • http://docs.getpelican.com/en/stable/importer.html
  • getpelican.com/
  • http://ospublish.constantvzw.org/blog/attachments

xml files at root are wordpress exports, that Pelican imported

listing of the virtualenv requirements to run the blog locally: (includes some unusual dependencies for pelican-import)

beautifulsoup4==4.6.0 blinker==1.4 bs4==0.0.1 docutils==0.14 feedgenerator==1.9 Jinja2==2.9.6 lxml==4.0.0 Markdown==2.6.9 MarkupSafe==1.0 pelican==3.7.1 pkg-resources==0.0.0 Pygments==2.2.0 python-dateutil==2.6.1 pytz==2017.2 six==1.11.0 Unidecode==0.4.21

Snapshots | iceberg

Inside this repository




— a backup or an export or a migration

Tuesday, 10th October 2017 - 13:40


Colmlet the cat out of the bag

— wget -i of the handled output of http://ospublish.constantvzw.org/blog/attachments page

Tuesday, 10th October 2017 - 15:31



— trying to remember OSP git repos good practices

Tuesday, 10th October 2017 - 15:37



— adding a gitlab-ci to test gitlab pages using SSG pelican built in

Wednesday, 10th January 2018 - 16:02



— commented a requirment that was at version 0.0.0

Wednesday, 10th January 2018 - 16:14



— changing the version of python, I think this makes the pipeline fail

Wednesday, 10th January 2018 - 16:35


colmgave away

— really copying the pelican pages example https://gitlab.com/pages/pelican/tree/master

Wednesday, 10th January 2018 - 16:42



— indentation error in the yml

Wednesday, 10th January 2018 - 16:45


colmspilled the beans

— ok the pelican deploys well to gitlab pages, but none of the links work, it's a relative thing?

Wednesday, 10th January 2018 - 16:57


colmgave away

— Large rehandling of metadata:

Wordpress lets a post be part of multiple categories and have multiple tags. For the future of this blog, and because pelican works
as such, the articles category is now dictated by it's parent folder, and if it had more than one category, they are now part of the
tags listing. This was done via combine_tags.py

Further, the folder for the theme was missing some structure for the css to be taken into account.

I think that's it.

Friday, 19th January 2018 - 02:39



— major milestone: search!

search integration via tipue search plugin, which binds the jquery plugin to pelican.
The pelican plugin generates the json of all the content, then tipue search integrates into a form for local search in a static site

commit includes appropriate changes to templates, will add local versions of js now

Friday, 19th January 2018 - 16:27


colmlet on

— local js dependencies, no CDNs, no thanks

Friday, 19th January 2018 - 16:54



— the gitlab-ci is not deploying properly it seems

Friday, 19th January 2018 - 18:50



— removed the whitespaces in the attr_list that somehow got messed up + adds the obligatory colon for the md declaration to work

Friday, 19th January 2018 - 21:25



— a script to catch all the exeption cases of two consecutive lines of Tags: metadata. Script grabs both lines, and makes it into one list

Friday, 19th January 2018 - 22:57



— now that most of the regex fixes are applied, some styling? I should resist and open it to the gang

Friday, 19th January 2018 - 23:45



— for some reason the site is not deploying to gitlab pages anymore

Saturday, 20th January 2018 - 00:25



— site is deploying but most is broken, testing with pythong 3.6

Saturday, 20th January 2018 - 00:38



— still trying to find the right combo

Saturday, 20th January 2018 - 11:03



— it won't work in python 2.7 I think

Saturday, 20th January 2018 - 12:27



— python3 plainly?

Saturday, 20th January 2018 - 12:29



— a test without a leading slash, I guess it's somehting mega stupid like this as it work after downloading the artifacts

Saturday, 20th January 2018 - 12:45



— Relative urls

Saturday, 20th January 2018 - 12:51


colmlet on

— a test to set relative urls to false in publish conf, but adding a relative site URL (css is not rendering on pages that are one level away from repo root)

Saturday, 20th January 2018 - 13:07



— now add the {{ SITEURL }} var for publishing confs, different for local dev

Saturday, 20th January 2018 - 13:15



— a template for tag pages, a small bit of css, and some extra navigation items + footer site wide tag list

Saturday, 20th January 2018 - 14:19



— forgot a part of the URL for the archive listing

Saturday, 20th January 2018 - 14:28



— cool down the Plex, remember the Limousine

Saturday, 20th January 2018 - 14:55



— first blog post on the new structure

Saturday, 20th January 2018 - 21:16



— category rehandling

Saturday, 20th January 2018 - 23:30



— spaces, links and line breaks in index & base templates

Saturday, 20th January 2018 - 23:36



— RSS everywhere

Sunday, 21st January 2018 - 00:09



— this is what the xml gives when posts had comments

Monday, 22nd January 2018 - 23:14



— neighbors plugin for internal proximity navigation

Monday, 22nd January 2018 - 23:14



— Zarathustra and a not really responsive css grid based on the 330 / 30 px alternations from osp.kitchen

Monday, 22nd January 2018 - 23:15



— bits of the process, no?

Monday, 22nd January 2018 - 23:16



— at least the desktop styles columns work for now, mobile adaptations of css grid, i still need to solve

Tuesday, 23rd January 2018 - 11:04



— 1. Quite a few search and replaces for tags: News, Works, Type, NotCourierSans, the main categories that get bound to tags.
2. a large regex to remove all of the width="..." height="..." elements that were screwing image ratios up somehow.

Tuesday, 23rd January 2018 - 19:24



— a postcss-css next plugin

Tuesday, 23rd January 2018 - 20:44



— lots of template and styles changes, site is now fully responsible in css-grid

Tuesday, 23rd January 2018 - 20:45


colmblabed out

— npm in the gilab-ci ?

Tuesday, 23rd January 2018 - 21:06



— npm in the gilab-ci ?

Tuesday, 23rd January 2018 - 21:15


colmlet loose

— ok npm deploy is going to be a headache, I can tell, so I make a branch for now

Tuesday, 23rd January 2018 - 21:27



— none of the images are showing on the staging env, why was this set to false again?

Tuesday, 23rd January 2018 - 21:48



— So; I was still grabbing images from their web sources rather than local + losts of wp-thumbnailing still screwing up some paths

Tuesday, 23rd January 2018 - 22:17


colmspilled the beans

— adding an expiry to download the pack and debug

Tuesday, 23rd January 2018 - 22:30



— I'm breaking more things than fixing them now

Tuesday, 23rd January 2018 - 22:40



— larger rule replace ...x...\. with .

Tuesday, 23rd January 2018 - 23:30


colmspilled the beans

— yo, I'm committing an unprocessed css file to the master branch

Tuesday, 23rd January 2018 - 23:31



— adds a time based navigation neighbors in the sidebar: next article in time, previous article in time

Tuesday, 23rd January 2018 - 23:32



— if I am only finding out about this {filename} thing now...

Tuesday, 23rd January 2018 - 23:50



— from yesterday, fixing the styles in the post-processed version

Thursday, 25th January 2018 - 09:54



— some collections, probably the http://ospublish.constantvzw.org/blog/attachments page simply dy did not have all the medias

Thursday, 25th January 2018 - 09:55



— so: a5d0ede0c43e95e7d9f20c1ef7bb4fd178046b11 scrape was not as good as I thought it was

Friday, 26th January 2018 - 15:58



— padding on the bottom of the paragraphs, and small tags

Friday, 16th February 2018 - 19:50