Dr Clèm's Blog

Tags: Security Captain's log MySQLiToRSS CSP

Captain's Log #2

Tuesday Nov 21, 2017 17:38
To Do List

I am working on TootLine, the PHP code that allows you to share your TootLine on your blog, like the one there is on the right or bottom, depending on the size of your screen. I have couple of issues to address before publishing it, which are proper word wrapping, create a cache for the media in order to solve CSP issue, handle the NSFW content that is displayed so far.

Tags' categories

I am planning on adding click-able tags to fetch all articles with matching tags.


I already published a note in French and I began to write couple of drafts in French, so I would like to make a French version of this blog, with most of the articles translated.

Content Security Policy (CSP) headers

I added Content Security Policy (CSP) headers.

RSS feed

I added few elements to MySQLiToRSS, I add proper end of file to the generated RSS feed and I used the fact that I made tags click-able to add domain to the category element.

Better looking links

I changed the URL of some links to make them better looking.


I addition to what remains on the To Do List, I want to add couple of improvement.

More restrictive CSP headers

I want to rewrite some part of the web site to be able to provide more secure CSP headers.


I am planning on adding a RSS feed for each commentary section so it will be easy to follow. I will also add a cookie to auto fill the fields Name and Website. I will put a check box if you want to add the cookie when you comment.


I will add the list of all tags on the right panel.


I will add proper Open Graph protocol and Twitter cards in the headers. I already updated the MySQL database, so everything is ready on this side, I just need to rewrite the headers that I include to make them dynamic.

Better looking links

I already changed the URL of some links to make them better looking, but I did not finish yet. The rewriting rules are not as simple as I expected, if you want to make them SEO compliant.

Better CMS

My work-flow is not the most efficient. Each article points to an actual file, which is not so good, because I need to create a file each I add an entry in this blog. I will improve this soon.

Trackback, impossible?

I tried to add trackback, but the most up to date page about it is more than 5 years old and all links are dead links, including the sample codes to make it work. If someone can explain me how to implement it, I will be pleased :)

Mastodon Follow me Mastodon Share
There is no comment yet.
Post a comment

* required field.

Your comment


About you



Dr Clément Février

Bonjour, Je suis Clément Février, docteur en physique théorique de l’université de Grenoble Alpes, ingénieur Recherche et Développement dans le domaine de l’imagerie médicale et de la chirurgie mini-invasive chez Surgivisio et soutien du mouvement La France Insoumise.