@@ -74,6 +74,10 @@ export const OPENPLANNER_DESCRIPTOR_PARSER = EVENT_DESCRIPTOR_PARSER.omit({
7474 supportedTalkLanguages : true ,
7575 rooms : true ,
7676} ) . extend ( {
77+ title : z . string ( ) . optional ( ) ,
78+ headingTitle : z . string ( ) . optional ( ) ,
79+ backgroundUrl : z . string ( ) . optional ( ) ,
80+ logoUrl : z . string ( ) . optional ( ) ,
7781 openPlannerGeneratedJson : z . string ( ) ,
7882 language : z . string ( ) ,
7983 ratings : RATINGS_CONFIG_PARSER ,
@@ -287,14 +291,14 @@ export const OPENPLANNER_CRAWLER: CrawlerKind<typeof OPENPLANNER_DESCRIPTOR_PARS
287291 id : eventId ,
288292 conferenceDescriptor : {
289293 id : eventId ,
290- title : openPlannerSchedule . title ,
294+ title : descriptor . title || openPlannerSchedule . title ,
291295 description : descriptor . description ,
292296 peopleDescription : descriptor . peopleDescription || '' ,
293297 timezone,
294- logoUrl : openPlannerSchedule . logoUrl ,
295- backgroundUrl : openPlannerSchedule . backgroundUrl ,
296- headingTitle : openPlannerSchedule . headingTitle ,
297- headingBackground : openPlannerSchedule . headingBackground ,
298+ logoUrl : descriptor . logoUrl || openPlannerSchedule . logoUrl ,
299+ backgroundUrl : descriptor . backgroundUrl || openPlannerSchedule . backgroundUrl ,
300+ headingTitle : descriptor . headingTitle || openPlannerSchedule . headingTitle ,
301+ headingBackground : descriptor . headingBackground || openPlannerSchedule . headingBackground ,
298302 talkFormats : formats ,
299303 talkTracks : tracks ,
300304 supportedTalkLanguages : openPlannerSchedule . supportedTalkLanguages ,
@@ -316,13 +320,13 @@ export const OPENPLANNER_CRAWLER: CrawlerKind<typeof OPENPLANNER_DESCRIPTOR_PARS
316320 talks,
317321 info : {
318322 id : eventId ,
319- title : openPlannerSchedule . title ,
323+ title : descriptor . title || openPlannerSchedule . title ,
320324 description : descriptor . description ,
321325 peopleDescription : descriptor . peopleDescription || '' ,
322326 timezone,
323327 days : openPlannerSchedule . days ,
324- logoUrl : openPlannerSchedule . logoUrl ,
325- backgroundUrl : openPlannerSchedule . backgroundUrl ,
328+ logoUrl : descriptor . logoUrl || openPlannerSchedule . logoUrl ,
329+ backgroundUrl : descriptor . backgroundUrl || openPlannerSchedule . backgroundUrl ,
326330 location : descriptor . location ,
327331 theming : openPlannerSchedule . theming ,
328332 keywords : descriptor . keywords
0 commit comments