For those using JSP

Courtesy of Eugene Khusid:

As with the other examples, this is for the Alabama Section. Substitute the correct Geocode for your unit for R30001. This code will need to go where you want the meeting table to be. You may wish to include style information as shown in PhpEmbedMeetings and AspNetEmbedMeetings (and not repeated here).

<%@ page import="java.io.*,java.net.*"%> 
<%@ page contentType="text/html"%> 
<%@ page pageEncoding="UTF-8"%> 

 <% 
       try{ 
            URL url = new URL("http://meetings.vtools.ieee.org/meetings/R30001/-50/365"); 
            InputStream is         = url.openStream(); 
            InputStreamReader isr   = new InputStreamReader(is); 
            BufferedReader br       = new BufferedReader(isr); 
            StringBuffer buffer     = new StringBuffer(); 
            String line             = ""; 
            while ((line = br.readLine()) != null) 
            { 
 %> 
                <%=line.replaceAll("href=\"","href=\"http://meetings.vtools.ieee.org")%>       
 <%         } 
            br.close(); 
            isr.close(); 
            is.close(); 
        } 
        catch (Exception e){ 
 %> 
            Meeting Information is unavailable at this time. 
 <%    } 
 %> 


-- DavidGreen - 24 Sep 2007, 04 Aug 2008

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r4 < r3 < r2 < r1 | More topic actions
Topic revision: r4 - 04 Aug 2008 - 14:01:16 - DavidGreen
Main/OUMeetings.JSPEmbedMeetings moved from Oumgt.JSPEmbedMeetings on 31 Oct 2007 - 22:09 by DavidGreen
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback