Commit 41c6b250 authored by gijs's avatar gijs
Browse files

Modified repo structure

parent 41e2721e
All the files in this folder are licensed under the Free Art License v1.3
http://artlibre.org/licence/lal/en/
Except for the file vgc.png which is owned by 'Vlaamse Gemeenschapscomissie'
Except for the file html/vgc.png which is owned by 'Vlaamse Gemeenschapscomissie'
and protected by their copyright. Please refer to http://www.vgc.be/ for more
information on the use of their logo.
This diff is collapsed.
This diff is collapsed.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Algolit Catalog</title>
<link rel="stylesheet" href="style.pagenumbers.css">
</head>
<body>
<section class="page"></section>
<section class="page"></section>
<section class="page"></section>
<section class="page"></section>
<section class="page"></section>
<section class="page"></section>
<section class="page"></section>
<section class="page"></section>
<section class="page"></section>
<section class="page"></section>
<section class="page"></section>
<section class="page"></section>
<section class="page"></section>
<section class="page"></section>
<section class="page"></section>
<section class="page"></section>
<section class="page"></section>
<section class="page"></section>
<section class="page"></section>
<section class="page">
<img id="vgc" src="vgc.png" />
</section>
</body>
</html>
\ No newline at end of file
@charset "utf-8";
@page {
size: 210mm 297mm;
margin: 0mm;
}
@page:right {
margin-left: 10mm;
margin-right: 6mm;
}
@page:left {
margin-left: 6mm;
margin-right: 10mm;
}
@font-face{
font-family:Fantasque;
src:url(fonts/fantasque/FantasqueSansMono-Regular.ttf);
font-weight:normal;
font-style:normal;
}
@font-face{
font-family:Fantasque;
src:url(fonts/fantasque/FantasqueSansMono-Italic.ttf);
font-weight:normal;
font-style:italic;
}
@font-face{
font-family:Fantasque;
src:url(fonts/fantasque/FantasqueSansMono-Bold.ttf);
font-weight:bold;
font-style:normal;
}
@font-face{
font-family:Fantasque;
src:url(fonts/fantasque/FantasqueSansMono-BoldItalic.ttf);
font-weight:bold;
font-style:italic;
}
html, body, * {
background: rgba(255,255,255,0);
}
body {
font-family:Fantasque;
font-size:12px;
line-height:1.4;
color: black;
counter-reset: page 0;
}
.page {
padding-top: 270mm;
counter-increment: page;
break-after: page;
position: relative;
}
.page:after {
background: transparent;
display: block;
text-align: center;
content: counter(page);
}
#vgc {
width: 15mm;
position: absolute;
bottom: 10mm;
right: 10mm;
}
\ No newline at end of file
#! /usr/bin/bash
while [ true ]; do
wget http://pad.constantvzw.org/p/neural_networks_maisondulivre_catalogue_css/export/txt -O style.css;
wget http://pad.constantvzw.org/p/neural_networks_maisondulivre_catalogue_css/export/txt -O html/style.css;
sleep 5;
done;
\ No newline at end of file
done;
......@@ -221,6 +221,6 @@ for (lang, url) in pages:
soup.append(container)
with codecs.open('catalog.{}.html'.format(lang), 'w', encoding='utf-8') as out:
with codecs.open('html/catalog.{}.html'.format(lang), 'w', encoding='utf-8') as out:
out.write(unicode(soup))
out.close()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment