Error using xmlread (line 98) Java exception occurred: java.io.FileNotFoundException: http://search.twitter.com/search.atom?q=%23hpc%20AND%20%23gpu&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 #HPC #GPU hashtags appeared together on Twitter
These hashtags are used together to cover technical computing topics in contrast to stand alone #GPU hashtag which often includes computer graphics acceleration topics and games.
| Time Recorded (time1369) | Data (data1369) |
|---|---|
| 12 Jun 2013 10:00:20 | |
| 11 Jun 2013 10:00:19 | [0] |
| 10 Jun 2013 10:00:20 | [0] |
| 09 Jun 2013 10:00:19 | [0] |
| 08 Jun 2013 10:00:21 | [1] |
s = '%23hpc%20AND%20%23gpu'; % 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