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/publish-data.html b/js/publish-data.html
index 9cf6433..1534aa9 100644
--- a/js/publish-data.html
+++ b/js/publish-data.html
@@ -110,7 +110,7 @@
else if (co==-2)
output+= "CONTENT NAME IS EMPTY"
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++){
@@ -120,7 +120,7 @@
output+= "<br />";
}
- if(co.Content !=null){
+ if(co.content !=null){
output += "CONTENT(ASCII): "+ toString(co.Content);
output+= "<br />";