Check the seminar data (PHP)

This file does a check of the seminar data in PHP. You can also check it with JavaScript.

NOTE: The dual-purpose data file causes <!-- // --> to be output when it is parsed by PHP. If we wish to use the file before headers are sent, (e.g. for a Facebook scrape or an image rewrite) then that output must be sent to null. That is achieved by buffering - see php source code for this page.

Data, extracted as an array dump...

Array
(
    [cats] => Array
        (
            [0] => index
            [1] => use_image
            [2] => condensed
            [3] => fullTitle
            [4] => speaker
            [5] => day
            [6] => dateTime
            [7] => grayam
            [8] => url
            [9] => abstract
            [10] => photo_credit
        )

    [index] => Array
        (
            [0] => 0
            [1] => 1
            [2] => 2
            [3] => 3
        )

    [use_image] => Array
        (
            [0] => /meetings/images/talk3_Farrant_w1000-h600-ush3333-c10.jpg
            [1] => /meetings/images/he-screenshot_w1200_h630_c11.jpg
            [2] => /meetings/images/scisym2018_Dominika_Wroblewska_w1200-h555-c5.jpg
            [3] => /meetings/images/pavement_P5140326_w1200-h630-c11.jpg
        )

    [condensed] => Array
        (
            [0] => Condensed title placeholder 0
            [1] => Hidden Earth 2024
            [2] => Science symposium and AGM, 2024
            [3] => Science Symposium Field Trip, 2024
        )

    [fullTitle] => Array
        (
            [0] => Full title placeholder 0 - Lorem ipsum dolor sit amet, consectetur adipiscing elit
            [1] => Hidden Earth 2024
            [2] => Science symposium and AGM, 2024
            [3] => Science Symposium Field Trip, 2024
        )

    [speaker] => Array
        (
            [0] => Laik Parhoe, Professor of Dust, Fluff, and Miscellaneous Particles, Unseen University
            [1] => 
            [2] => Prof. Mike Rogerson. Meeting at: Northumbria--University
            [3] => To be announced
        )

    [day] => Array
        (
            [0] => Monday
            [1] => Saturday
            [2] => Saturday
            [3] => Sunday
        )

    [dateTime] => Array
        (
            [0] => Mon 09-Jan 2023, 19:30 to 21:00 GMT
            [1] => {{TBA}}
            [2] => Sat 12-Oct 2024, 09:30 to 17:00 BST
            [3] => Sun 13-Oct 2024, 09:30 to 16:30 BST
        )

    [grayam] => Array
        (
            [0] => *
            [1] => The date (usually September) and venue will be announced a.s.a.p.
            [2] => Provisional date; will be confirmed on 31 Jan.
            [3] => Provisional event; to be confirmed later in the year
        )

    [url] => Array
        (
            [0] => *
            [1] => See Hidden Earth
            [2] => See our Symposium page
            [3] => See our Symposium page
        )

    [endGMT] => Array
        (
            [0] => 9 January 2023, 21:00 GMT
            [1] => tbc
            [2] => tbc
            [3] => tbc
        )

    [abstract] => Array
        (
            [0] => Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris ullamcorper ipsum et massa\
 eleifend, in tempor eros tincidunt. Nullam egestas augue non magna molestie posuere. Maecenas\
 venenatis euismod rutrum. Donec accumsan mi vel orci eleifend, eu luctus nisl ultrices. Nulla\
 ullamcorper lacinia suscipit. Pellentesque sagittis, sem vitae sollicitudin pretium, lorem magna\
 tempus velit, vel finibus diam orci quis quam. Nam dictum sapien velit, scelerisque laoreet tellus\
 bibendum ut. Mauris tristique tristique arcu, non placerat lacus facilisis in. Aliquam sagittis\
 augue sed sapien porttitor, hendrerit fermentum ex volutpat. Proin sit amet interdum lorem.\
 Phasellus vel ornare risus, ullamcorper blandit augue. Nam dignissim, arcu eget eleifend rhoncus,\
 diam tortor aliquet ligula, dapibus consectetur eros ipsum vitae neque. \
   
            [1] => See Hidden Earth website
            [2] => See our Symposium page
            [3] => See our Symposium page
        )

    [photo_credit] => Array
        (
            [0] => insert photo credit
            [1] => 
            [2] => Illustration (2018 science symposium) by Dominika Wroblewska
            [3] => Limestone pavement above Malham Cove (2016 BCRA field meeting), by Laik Parhoe
        )

)