Error using xmlread (line 98) Java exception occurred: java.io.IOException: Server returned HTTP response code: 503 for URL: http://search.twitter.com/search.atom?q=%23machinelearning&since=2013-02-21&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 #MachineLearning appeared on Twitter.
Machine Learning is a branch of Artificial Intelligence and related to Robotics and Computer Vision.
| Time Recorded (time1377) | Data (data1377) |
|---|---|
| 22 Feb 2013 05:30:16 | |
| 21 Feb 2013 05:30:13 | [35] |
| 20 Feb 2013 05:30:14 | [37] |
| 19 Feb 2013 05:30:13 | [34] |
| 18 Feb 2013 05:30:13 | [33] |
s = '%23machinelearning'; % 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