osp-blog.www
clone your own copy | download snapshot

About

OSP-blog

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

Log

 

Colmblabed

— 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

 

Colmclaimed

— trying to remember OSP git repos good practices

Tuesday, 10th October 2017 - 15:37

 

colmargued

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

Wednesday, 10th January 2018 - 16:02

 

colmcomplained

— commented a requirment that was at version 0.0.0

Wednesday, 10th January 2018 - 16:14

 

colmtold

— 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

 

colmunwraped

— 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

 

colmsaid

— 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

 

colmuttered

— the gitlab-ci is not deploying properly it seems

Friday, 19th January 2018 - 18:50

 

colmargued

— 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

 

colmsaid

— 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

 

colmtweeted

— 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

 

colmcried

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

Saturday, 20th January 2018 - 00:25

 

colmsaid

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

Saturday, 20th January 2018 - 00:38

 

colmironized

— still trying to find the right combo

Saturday, 20th January 2018 - 11:03

 

colmsaid

— it won't work in python 2.7 I think

Saturday, 20th January 2018 - 12:27

 

colmcried

— python3 plainly?

Saturday, 20th January 2018 - 12:29

 

colmdiscovered

— 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

 

colmargued

— 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

 

colminterpreted

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

Saturday, 20th January 2018 - 13:15

 

colmconfessed

— 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

 

colmunwraped

— forgot a part of the URL for the archive listing

Saturday, 20th January 2018 - 14:28

 

colmemited

— cool down the Plex, remember the Limousine

Saturday, 20th January 2018 - 14:55

 

colmdiscovered

— first blog post on the new structure

Saturday, 20th January 2018 - 21:16

 

colmtweeted

— category rehandling

Saturday, 20th January 2018 - 23:30

 

colmsaid

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

Saturday, 20th January 2018 - 23:36

 

colmtalked

— RSS everywhere

Sunday, 21st January 2018 - 00:09

 

colmpublished

— this is what the xml gives when posts had comments

Monday, 22nd January 2018 - 23:14

 

colmconfessed

— neighbors plugin for internal proximity navigation

Monday, 22nd January 2018 - 23:14

 

colmsaid

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

Monday, 22nd January 2018 - 23:15

 

colmargued

— bits of the process, no?

Monday, 22nd January 2018 - 23:16

 

colmspoke

— 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

 

colmblabed

— 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

 

colmtalked

— a postcss-css next plugin

Tuesday, 23rd January 2018 - 20:44

 

colmblabed

— 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

 

colmironized

— 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

 

colminterpreted

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

Tuesday, 23rd January 2018 - 21:48

 

colmbabbled

— 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

 

colmtweeted

— I'm breaking more things than fixing them now

Tuesday, 23rd January 2018 - 22:40

 

colmdisclosed

— 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

 

colmrevealed

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

Tuesday, 23rd January 2018 - 23:32

 

colmexpressed

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

Tuesday, 23rd January 2018 - 23:50

 

colmwhistled

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

Thursday, 25th January 2018 - 09:54

 

colmuttered

— 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

 

colmunwraped

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

Friday, 26th January 2018 - 15:58

 

colmclaimed

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

Friday, 16th February 2018 - 19:50