I did all the usual stuff look over John's code and then turn it into my own but that did not work. Here is what it looks like:
I went to see John Wednesday morning and he helped me out a lot but then I kept getting the "Document" is null or not an object error for this part if my code:
function formatFeed(xml){
var html = "";
var thisEntry = xml.documentElement.getElementsByTagName("entry");
At this point, I changed a few things and the error messages stopped but nothing happened. I was hoping that the server just wasn't updating in a timely manner but that's not the case because I tried to run my program today and no luck. So I didn't get it to work.
As for the group project goes, my group had to change which sites we wanted to use because two of the sites didn't have APIs. So we made a quick decision and we're planning on using two different sites now.
I agree usually you just play with the code until it works but Ajax takes a lot playing and can make you insane before you figure it out.
ReplyDeleteTry not to get discouraged. Your ideas are great and it may be something simple to fix. A lot of learning in this class is through trial and error. I have changed my project plan a couple of times. Keep up the good work and I love how colorful your name is.
ReplyDelete