Major update: refactored the API of Interest and ContentObject according to the API notes:
http://sea.remap.ucla.edu:8080/attachments/download/23/lwndn_api-notes_21020830.txt
diff --git a/js/request-data.html b/js/request-data.html
index 65dd8c1..b86170b 100644
--- a/js/request-data.html
+++ b/js/request-data.html
@@ -98,24 +98,24 @@
if(co==null)
output+= "NO CONTENT FOUND"
else{
- if(co.Name!=null && co.Name.Components!=null){
+ if(co.name!=null && co.name.Components!=null){
output+= "NAME: ";
- for(var i=0;i<co.Name.Components.length;i++){
- output+= "/"+ DataUtils.toString(co.Name.Components[i]);
+ for(var i=0;i<co.name.Components.length;i++){
+ output+= "/"+ DataUtils.toString(co.name.Components[i]);
}
output+= "<br />";
output+= "<br />";
}
- if(co.Content !=null){
- output += "CONTENT(ASCII): "+ DataUtils.toString(co.Content);
+ if(co.content !=null){
+ output += "CONTENT(ASCII): "+ DataUtils.toString(co.content);
output+= "<br />";
output+= "<br />";
}
- if(co.Content !=null){
- output += "CONTENT(hex): "+ DataUtils.toHex(co.Content);
+ if(co.content !=null){
+ output += "CONTENT(hex): "+ DataUtils.toHex(co.content);
output+= "<br />";
output+= "<br />";