|
-
Ryan Thomson
the for loop would look something like this:
for(i=0;i<story.length;i++){
titles = story[i].childNodes[0].childNodes;
trace(titles);
}
if you added this to the bottom of my parseXML function it would trace out every title for all the new posts at digg.com. If you replaced the trace with an array it would load each title into the array where you could have full control dynamically. hope that helps
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|