Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 3 commits
  • 19 files changed
  • 0 commit comments
  • 1 contributor
Commits on Jul 04, 2011
@MoritzStefaner minor changes
- reformatting
- non-antialiased text
61e0e79
@MoritzStefaner eyeo archived version, lots of fixes and improvements 597be37
Commits on Mar 15, 2012
@MoritzStefaner smaller fixes da17c29
View
3  .settings/com.powerflasher.fdt.exclude
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<exclude />
+
View
41,566 bin/data/eyeotweets.txt
41,566 additions, 0 deletions not shown
View
3,598 bin/data/eyeotweets_400.txt
3,598 additions, 0 deletions not shown
View
3,998 bin/data/eyeotweets_500.txt
3,998 additions, 0 deletions not shown
View
3  bin/index.html
@@ -16,7 +16,8 @@
function embedFlash(params){
var defaults = {
- searchterms: "infosthetics,flowingdata,visualcomplexity,from:datavis,to:datavis",
+ //searchterms: "infosthetics,flowingdata,visualcomplexity,from:datavis,to:datavis",
+ searchterms: "visualization",
appTitle: "demo",
maxItems: 200,
//twitterProxyURL : "your twitter proxy URL",
View
58 bin/index_eyeo.html
@@ -0,0 +1,58 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+
+ <head>
+
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>revisit #eyeo . moritz.stefaner.eu</title>
+
+ <link rel="stylesheet" type="text/css" href="css/style.css" media="screen" />
+ <script type="text/javascript" src="lib/jquery.js"></script>
+ <script type="text/javascript" src="lib/swfobject/swfobject.js"></script>
+ <script src="lib/swfaddress/swfaddress.js" type="text/javascript" charset="utf-8"></script>
+
+ <script type="text/javascript">
+ var paramNames = ["searchterms", "appTitle", "maxItems", "showOnlyToday"];
+
+ function embedFlash(){
+
+ var flashvars = {
+
+ };
+
+ var URL="revisit_eyeo.swf";
+ var flashID = "flash";
+ var width = "100%";
+ var height = "100%";
+ var flashVersion = "10.0.0";
+ var expressInstallURL = "lib/swfobject/expressInstall.swf";
+
+ var params = {
+ allowfullscreen: "true",
+ salign: "tl"
+ };
+
+ var attributes = {
+ };
+
+ swfobject.embedSWF(URL, flashID, width, height, flashVersion, expressInstallURL, flashvars, params, attributes);
+ }
+
+ embedFlash();
+
+
+ </script>
+
+ </head>
+
+<body style="width:100%; height:100%; margin:0; padding:0; background:#000000;">
+ <div id="flashcontainer" style="width:100%; height:100%; margin:0; padding:0; background:#000000;">
+ <div id="flash" style="width:100%; height:100%; margin:0; padding:0; background:#000000;">
+ <a href="http://www.adobe.com/go/getflashplayer">
+ <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
+ </a>
+ </div>
+ </div>
+</body>
+
+</html>
View
BIN  bin/revisit.swf
Binary file not shown
View
BIN  bin/revisit_eyeo.swf
Binary file not shown
View
BIN  fla/revisit.fla
Binary file not shown
View
BIN  fla/revisit_eyeo.fla
Binary file not shown
View
4 lib/com/swfjunkie/tweetr/Tweetr.as
@@ -1696,10 +1696,12 @@ package com.swfjunkie.tweetr {
var urlRequest : URLRequest = new URLRequest(URL_TWITTER_SEARCH_OVERRIDE ? URL_TWITTER_SEARCH_OVERRIDE : URL_TWITTER_SEARCH);
var vars : URLVariables = new URLVariables();
-
+ /*
if(searchString.indexOf(" ") != -1)
vars.phrase = searchString;
else
+ *
+ */
vars.q = searchString;
if (lang)
View
5 lib/com/swfjunkie/tweetr/utils/TweetUtil.as
@@ -302,9 +302,9 @@ package com.swfjunkie.tweetr.utils {
var seconds : Number;
var timezone : Number;
- if (created_at.match(/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z/g).length == 1) {
+ if (created_at.match(/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z/g).length == 1 || created_at.match(/\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}/g).length == 1) {
// match 2008-12-07T16:24:24Z
- tp = created_at.split(/[-T:Z]/g);
+ tp = created_at.split(/[-T:Z]|\ /g);
year = tp[0];
month = tp[1];
date = tp[2];
@@ -349,6 +349,7 @@ package com.swfjunkie.tweetr.utils {
year = tp[7];
}
+ trace("TIME ZONE " +time.timezoneOffset);
time.setUTCFullYear(year, month, date);
time.setUTCHours(hour, minutes, seconds);
return time;
View
2  src/eu/stefaner/revisit/App.as
@@ -1 +1 @@
-/*
+/*
View
1  src/eu/stefaner/revisit/EyeoApp.as
@@ -0,0 +1 @@
+package eu.stefaner.revisit {
View
2  src/eu/stefaner/revisit/Settings.as
@@ -1 +1 @@
-/*
+/*
View
2  src/eu/stefaner/revisit/TweetConnection.as
@@ -1 +1 @@
- /*
+/*
View
103 src/eu/stefaner/revisit/TweetData.as
@@ -1,102 +1 @@
- /*
-
- Copyright 2010, Moritz Stefaner
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-*/
-
-package eu.stefaner.revisit {
- import com.swfjunkie.tweetr.data.objects.SearchResultData;
- import com.swfjunkie.tweetr.utils.TweetUtil;
-
- /**
- * @author mo
- */
- public class TweetData {
-
- // from SearchResultData
- public var id : Number;
- public var link : String;
- private var _text : String;
- private var _createdAt : String;
- public var userProfileImage : String;
- public var user : String;
- public var userLink : String;
- // custom
- public var date : Date;
- public var references : Array;
- public var retweets : Array;
- public var simpleText : String;
- public var dateTime : Number;
- public var random : Number = Math.random();
- public var userName : String;
-
- public function TweetData() {
- }
-
- public static function parseSearchResult(tweet : SearchResultData) : TweetData {
- var td : TweetData = new TweetData();
- td.id = tweet.id;
- td.link = tweet.link;
- td.text = tweet.text;
- td.createdAt = tweet.createdAt;
- td.userProfileImage = tweet.userProfileImage;
- td.user = tweet.user;
- td.userLink = tweet.userLink;
- td.userName = tweet.user.split(" ")[0].toLowerCase();
- return td;
- }
-
- public function get createdAt() : String {
- return _createdAt;
- }
-
- public function set createdAt(c : String) : void {
- _createdAt = c;
- date = TweetUtil.returnTweetDate(c);
- dateTime = date.time;
- }
-
- public function get text() : String {
- return _text;
- }
-
- public function set text(text : String) : void {
- _text = text;
- processText();
- }
-
- private function processText() : void {
- var refRE : RegExp = /[@]+[A-Za-z0-9-_]+/g;
- var rtRE : RegExp = /(RT |via )[@]+[A-Za-z0-9-_]+/g;
- var tempText : String = text;
-
- retweets = tempText.match(rtRE);
- tempText = tempText.replace(rtRE, "");
-
- references = tempText.match(refRE);
-
- simpleText = text;
- simpleText = simpleText.replace(rtRE, "");
- simpleText = simpleText.replace(refRE, "");
-
- simpleText = simpleText.replace(/\W/g, "");
- simpleText = simpleText.toLowerCase();
- }
-
- public function isRetweetOf(t : TweetData) : Boolean {
- return simpleText.indexOf(t.simpleText.substring(0, 10)) > -1;
- }
- }
-}
+/*
View
2  src/eu/stefaner/revisit/TweetSprite.as
@@ -1 +1 @@
- /*
+/*
View
2  src/eu/stefaner/revisit/TweetVisualization.as
@@ -1 +1 @@
- /*
+/*

No commit comments for this range

Something went wrong with that request. Please try again.