Skip to content

Commit a3b61df

Browse files
author
Russell Maier
committed
alive
1 parent 6758549 commit a3b61df

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

get-serials.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
header('Content-Type: application/json');
33

4-
include '../ecobricks_env.php';
4+
include 'ecobricks_env.php';
55
$conn->set_charset("utf8mb4");
66

77
$search = $_GET['search'] ?? '';

meta/project-en.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@
1515

1616
while($array = $result->fetch_assoc()) {
1717

18-
echo '<title>Project '. $array["project_id"] .' | '. $array["project_name"] .' in '. $array["location_full"] .'.</title>';
18+
echo '<title>'. $array["project_name"] .' | '. $array["briks_used"] .' ecobricks</title>';
1919

20-
echo '<meta name="description" content="' . $array["description_short"] .'">';
20+
echo '<meta name="description" content="'. $array["est_total_weight"] .' has been sequestered in '. $array["location_full"] .' in a '. $array["project_type"] .' project.">';
2121

2222

2323
echo '<meta name="keywords" content="ecobrick, serial '. $array["project_admins"] .', '. $array["construction_type"] .','. $array["project_type"] .', plastic sequestration, recycling, alternative, sequestration of plastic, plastic offsetting, aes plastic, carbon sequestration. '. $array["location_full"] .'">';
2424

2525
echo '<meta property="og:url" content="https://ecobricks.org/'. $lang .'/project.php?project_id='. $array["project_id"] .'">' ;
26-
echo '<meta property="og:title" content="Project '. $array["project_id"] .' | '. $array["est_total_weight"] .'kg of plastic sequestered by ecobrickers '. $array["project_admins"] .' in '. $array["location_full"] .'.">';
27-
echo '<meta property="og:description" content="' . $array["description_short"] .'">';
28-
echo '<meta property="og:image" content="https://ecobricks.org/projects/photos/project-'. $array["project_id"] .'-1.webp">';
26+
echo '<meta property="og:title" content="'. $array["project_name"] .' | '. $array["briks_used"] .' ecobricks">';
27+
echo '<meta property="og:description" content="'. $array["est_total_weigh"] .' has been sequestered in '. $array["location_full"] .' in a '. $array["project_type"] .' project.">';
28+
echo '<meta property="og:image" content="https://ecobricks.org/projects/photos/project-'. $array["project_id"] .'-1.webp?v=2">';
2929
echo '<meta property="og:image:alt" content="A photo of our ecobrick project">';
3030
echo '<meta property="og:locale" content="en_GB" >';
3131
echo '<meta property="og:type" content="website">';

0 commit comments

Comments
 (0)