comparison storage.js @ 33:62cbb1c49bc5

Fix publish; add owner metadata field; add HTTP module and Atom HTTP module.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 05 Nov 2010 14:01:45 +0100
parents f2e9365bc8ec
children 6697f394301f
comparison
equal deleted inserted replaced
32:8735fc6f6f53 33:62cbb1c49bc5
62 62
63 if (node.configuration[i]) 63 if (node.configuration[i])
64 md[i] = node.configuration[i]; 64 md[i] = node.configuration[i];
65 else if (node.metadata[i]) 65 else if (node.metadata[i])
66 md[i] = node.metadata[i]; 66 md[i] = node.metadata[i];
67 else if (i == 'pubsub#owner')
68 md[i] = node.owner;
67 } 69 }
68 return md; 70 return md;
69 }; 71 };
70 72
71 storage.getConfiguration = function(nodeID) { 73 storage.getConfiguration = function(nodeID) {