Hi, I'm trying to pull in data from Meetup whereby it takes the information from Meetup and creates a new calendar event in a calendar plugin that I have installed on my Wordpress webpage. Now, I know the code that I have is incorrect but I'm looking to see how you can help me better access and post this content on my site. Thank you in advance for any assistance that you may be able to provide!!!
<html>
<body>
<h2>Upcoming Meetups</h2>
<div id="event_listing">
<p><em>Loading...</em></p>
</div>
<script src="
http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script>
$(function() {
var events = "
http://api.meetup.com/2/events?group_urlname=NBBAlone&key=___&sign=true";
var target = $("#event_listing");
$.getJSON(events + "&callback=?", function(data) {
target.empty();
if (data.status && data.status.match(/^200/) == null) {
target.append("<p><em>Service Unavailable</em></p>");
} else {
for (i in data.results) {
ev = data.results[i ];
target
.append($("<h3>").append(
ev.name))
.append($("<h4>").append(ev.time))
.append($("<div>").append(ev.description));
}
}
});
});
</script>
</body>
</html>