Gene
Member
Set up a BB Code Media Site for Google Calendar as follows:
Match URLs:
	
	
	
		
Embed HTML:
	
	
	
		
The URL for the particular calendar I was testing it with includes an encoded "@" as %40:
	
	
	
		
After the embed is processed, XF converts "%40" to "%2540" (%25 is the encoded version of %), leaving me with this:
	
	
	
		
				
			Match URLs:
		Code:
	
	http*://www.google.com/calendar/embed?src={$id}
	Embed HTML:
		Code:
	
	<iframe src="https://www.google.com/calendar/embed?mode=AGENDA&height=600&wkst=1&bgcolor=%23FFFFFF&src={$id}&color=%23B1440E&" style=" border-width:0 " width="800" height="600" frameborder="0" scrolling="no"></iframe>
	The URL for the particular calendar I was testing it with includes an encoded "@" as %40:
		Code:
	
	https://www.google.com/calendar/embed?src=romtclpr1677emdmr1v4vpbl5k%40group.calendar.google.com&ctz=America/New_York
	After the embed is processed, XF converts "%40" to "%2540" (%25 is the encoded version of %), leaving me with this:
		Code:
	
	<iframe src="https://www.google.com/calendar/embed?mode=AGENDA&height=600&wkst=1&bgcolor=%23FFFFFF&src=romtclpr1677emdmr1v4vpbl5k%2540group.calendar.google.com&color=%23B1440E&" style=" border-width:0 " width="800" height="600" frameborder="0" scrolling="no"></iframe>