set variable for conference name
authorAndrew Engelbrecht <andrew@fsf.org>
Fri, 18 Mar 2022 00:26:54 +0000 (20:26 -0400)
committerAndrew Engelbrecht <andrew@fsf.org>
Fri, 18 Mar 2022 00:26:54 +0000 (20:26 -0400)
generate-ics

index 2118824c48d51a2dea3c965282edf7771f40e3cf..4fa4d19f9b60ab1743f5a07f6182f3b13cb4e6c3 100755 (executable)
@@ -10,6 +10,9 @@
 // "Saturday","10:00 - 10:15 EDT - Welcome address","Welcome Address by FSF","Jupiter","LibrePlanet special sessions","LibrePlanet  2022","","","http://libreplanet.org/2022/speakers/#5910"
 
 
+////////////// set this value for new conferences
+$conference_name = "LibrePlanet 2022";
+
 include 'ICS.php';
 
 $csv = array_map('str_getcsv', explode("\n", stream_get_contents(STDIN)));
@@ -19,8 +22,8 @@ $csv = array_map('str_getcsv', explode("\n", stream_get_contents(STDIN)));
 VERSION:2.0
 PRODID:-//FSF//lp-csv-to-ics//EN
 CALSCALE:GREGORIAN
-NAME:LibrePlanet 2022
-<?php
+NAME:<?php
+echo $conference_name . "\n";
 
 foreach ($csv as $linenum => $line) {