Event widget

Leave a comment

Ever wanted to show your blog’s visitors upcoming webinars and events?  Well now you can with the E-Schrade feed widget!  At Zend we try to keep a list of webinars and PHP-based events up to date on our website.  This information is also available via RSS feeds.  So what I’ve done is provided a feed that reads those RSS feeds and turns them into nice JSON.  That way your visitors can load them asynchronously using JavaScript on your blog.  There are two ways to install it.

  1. Download and install this WordPress extension.
  2. Copy and paste this JQuery-based code into your blog’s layout
<script type="text/javascript"> 
if (!jQuery) { 
 document.write("<scr" + "ipt type=\"text/javascript\" src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js\"></scr" + "ipt>"); 
.webinarPopout { 
 font-size: 12px; 
 position: absolute; 
 width: 260px; 
 border: 1px solid #AEAEAE; 
 padding: 4px; 
 background-color: #EEEEEE; 
 -moz-box-shadow: 2px 3px 4px #666; 
 -webkit-box-shadow: 2px 3px 4px #666; 
 box-shadow: 2px 3px 4px #666; 
 overflow: hidden; 
 z-index: 999; 
<div id="zendFeed"> 
<h2>Upcoming Events</h2> 
<ul id="zendFeedElements"> 
<script type="text/javascript"> 
 dataType: "jsonp", 
 jsonpCallback: "printZendWebinars" 
function printZendWebinars(data) { 
 for (var item in data) { 
 var title = data[item]["title"]; 
 var link = data[item]["link"]; 
 var content = data[item]["content"]; 
 $("#zendFeedElements").append('<li class="page_item"><a href="'+link+'" id="zflink-'+item+'">'+title+'</a></li>'); 
 $("#zflink-" + item).data("content", content); 
 $("#zflink-" + item).data("item", item); 
 $("#zflink-" + item).mouseover(function(){ 
 var currentMo = $(this).data("item"); 
 var item = $('<div class="webinarPopout" id="zfcontent-'+currentMo+'">' + $(this).data("content") + '</div>'); 
 item.data("item", $(this).data("item")); 
 var moItem = $("#zflink-" + $(this).data("item")); 
 moItem.data("mo", "set"); 
 var moItem = $("#zflink-" + $(this).data("item")); 
 moItem.data("mo", ""); 
 left: $(this).position().left - 260, 
 top: $(this).position().top 
 $("#zflink-" + item).mouseout(function(){ 
 var mo = $(this).data("mo"); 
 if ( mo != "set") { 
 var itemId = $(this).data("item"); 
 var item = $("#zfcontent-"+itemId); 
 }, this), 100); 

Speaking at Austin PHP

Leave a comment

This Thursday on Feb 9th I will be speaking at the Austin PHP user group.  Still not sure about what I will be talking about (:-) ) but I will likely be talking about a combination of our cloud strategy, Zend Studio and some of the things that I’m looking forward to in Zend Framework 2.  In addition to that I also just received a shipment of shirts that I will be bringing as well as a bunch of swag.  I am also going to give a special offer (maybe even two special offers) on sales of Coronal Loop Safari.