Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Comptoir
Comptoir-srv
Commits
4142d63d
Commit
4142d63d
authored
Feb 26, 2021
by
Fabrice Gangler
🎨
Browse files
FEAT: prepare SILL-2021
parent
a4b7112f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Documentation/For_developers/Features/SILL/2020/prepare_SQL.php
View file @
4142d63d
...
...
@@ -6,6 +6,7 @@ $tagIds[2017] = 29; // Tag "SILL-2017" --> https://comptoir-du-libre.org/tags/
$tagIds
[
2018
]
=
27
;
// Tag "SILL-2018" --> https://comptoir-du-libre.org/tags/27/software
$tagIds
[
2019
]
=
137
;
// Tag "SILL-2019" --> https://comptoir-du-libre.org/tags/137/software
$tagIds
[
2020
]
=
258
;
// Tag "SILL-2020" --> https://comptoir-du-libre.org/tags/258/software
$tagIds
[
2021
]
=
474
;
// Tag "SILL-2021" --> https://comptoir-du-libre.org/tags/474/software
# data source
...
...
@@ -102,7 +103,7 @@ foreach ($years as $year => $Ids) {
}
echo
"
\n\n
"
;
$fp
=
fopen
(
"SILL_202
0
.csv_NO.idComptoir.csv"
,
'w'
);
$fp
=
fopen
(
"SILL_202
1
.csv_NO.idComptoir.csv"
,
'w'
);
fputs
(
$fp
,
$bom
=
(
chr
(
0xEF
)
.
chr
(
0xBB
)
.
chr
(
0xBF
)
));
// UTF-8 BOM
foreach
(
$noIds
as
$fields
)
{
fputcsv
(
$fp
,
$fields
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment