Error using xmlread (line 98) Java exception occurred: java.io.FileNotFoundException: http://search.twitter.com/search.atom?q=%23kinect%20sdk&since=2013-06-11&rpp=100 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at java.net.URL.openStream(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
data points
Number of times #Kinect SDK appeared on Twitter.
Kinect for Windows SDK bring a popular computer vision based game console add-on for general purpose development.
| Time Recorded (time1376) | Data (data1376) |
|---|---|
| 12 Jun 2013 07:15:19 | |
| 11 Jun 2013 07:15:18 | [1] |
| 10 Jun 2013 07:15:18 | [4] |
| 09 Jun 2013 07:15:19 | [0] |
| 08 Jun 2013 07:15:17 | [0] |
s = '%23kinect%20sdk'; % search query
d = datestr(now-1,29); % start from the day before
url = 'http://search.twitter.com/search.atom';
url = [url sprintf('?q=%s&since=%s&rpp=100',s,d)];
% Parse the atom feed into a DOM tree
doc = xmlread(url);
% Get all <entry> tags
entries = doc.getElementsByTagName('entry');
% Count the number of entry elements
updatetrend(entries.getLength)
0 comments