Tested with to_s(:db) in FF as well, it still draws the timeline (unlike IE) but fails to draw any events
Drew Schimmel [EMAIL PROTECTED] On Jan 3, 2008, at 6:28 PM, [EMAIL PROTECTED] wrote: > Send General mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://simile.mit.edu/mailman/listinfo/general > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of General digest..." > > > Today's Topics: > > 1. Re: Longwell: "XMLHttpRequest undefined" (Ryan Lee) > 2. Re: New & Happy Exhibit User (Bruce Robertson) > 3. Re: Time Is Inoperative in IE6/7 (Lucas Rockwell) > 4. RE: timeline - decide which band an entry is in regardless > ofoverlap (Rob Brenart (TT)) > 5. Invalid Argument Error in IE6/IE7 (Drew Schimmel) > 6. Re: Invalid Argument Error in IE6/IE7 (Lucas Rockwell) > 7. escaped single quote bug in Babel JSON export (Michael Halle) > 8. Re: Timeline Locally? (David Huynh) > 9. Re: New & Happy Exhibit User (David Huynh) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 03 Jan 2008 15:53:00 -0500 > From: Ryan Lee <[EMAIL PROTECTED]> > Subject: Re: Longwell: "XMLHttpRequest undefined" > To: General List <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Alexander Schinko wrote: >> Dear List, >> >> I'm facing some problems with configuring Longwell. After >> successfully >> building and running version 2.5.3, my Internet explorer is showing >> me >> "XMLHttpRequest undefined"-errors in my Java-Script Console while I >> want >> to browse the data of my OWL-Ontology. The application keeps on >> displaying "loading..." in each of the widgets which should >> represent an >> data entry of my ontology. I Ttried to install 2.5.4 but its not >> possible due to class-not-found for some logging class during the >> build. > > I'm not familiar with that specific error. Please try 2.5.5, we don't > generally have the resources to support older versions of our > software. > That release is, unfortunately, a bit out of date, so you'll have to > remove the lines regarding the maven-dependency-plugin from pom.xml; > delete the following: > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-dependency-plugin</artifactId> > <version>2.0-alpha-5-SNAPSHOT</version> > </plugin> > >> I also would like to change the port my longwell application, >> because my >> Firefox has some problem with browers cache on this port. It only >> displays the startup page of a prevously installed apache server. I >> tried to change the jetty port in the longwell.bat, but all the links >> were broken, because they are still pointing to 8080. > > You can edit longwell.bat to change "set JETTY_PORT=8080" to some > other > value, or you can use the environment variables in your operating > system > to set the %JETTY_PORT% variable, perhaps by running 'set > JETTY_PORT=yourport' on the command line. > > I just downloaded and ran Longwell (on a Mac) with the corresponding > changes above and it did run. > > -- > Ryan Lee [EMAIL PROTECTED] > MIT CSAIL Research Staff http://simile.mit.edu/ > http://people.csail.mit.edu/ryanlee/ > > > ------------------------------ > > Message: 2 > Date: Thu, 03 Jan 2008 13:19:42 -0800 > From: Bruce Robertson <[EMAIL PROTECTED]> > Subject: Re: New & Happy Exhibit User > To: General List <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="US-ASCII" > > Looks very nice, I wonder if somebody has a suggestion for widening > the > secondary info displays. If you click on a balloon that has two > items, you > get an expanded baloon that shows two links. But if you click one of > the > links, it comes out way skinny. > >> I just wanted to let you know that I found out about Simile and >> Exhibit from a >> post on googlemapsmania <http://googlemapsmania.blogspot.com/> . >> >> It took me less than 1 day to read your documentation, set up a >> Google >> spreadsheet of local crime data and get an interactive crime >> mapping system up >> and running. >> >> I particularly like the Google spreadsheet approach and I have >> found Exhibit >> very easy for those who want to set up a light web database >> application. >> >> Great set of tools. I hope you continue your efforts. >> >> You can see my simple application here. >> http://processtrends.com/mt_airy_crime_map.htm >> >> Thanks. >> >> Kelly O'Day >> [EMAIL PROTECTED] > > > > ------------------------------ > > Message: 3 > Date: Thu, 3 Jan 2008 13:58:06 -0800 (PST) > From: "Lucas Rockwell" <[EMAIL PROTECTED]> > Subject: Re: Time Is Inoperative in IE6/7 > To: "General List" <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain;charset=iso-8859-1 > > Hi OOzy, > >> On Jan 3, 2008 8:17 PM, David Huynh <[EMAIL PROTECTED]> wrote: >>> >>> OOzy Pal wrote: >>>> On Jan 3, 2008 6:56 PM, OOzy Pal <[EMAIL PROTECTED]> wrote: >>>> >>>>> I don't know what my timeline is inoperative in IE6/7. It works >>>>> ok in >>>>> FF. I don't have it running on the net it is in my home server. >>>>> How >>>>> can I troubleshoot the problem. I am really lost. >>>>> >>>>> -- >>>>> OOzy >>>>> Ubuntu-Gutsy (7.10) >>>>> >>>>> >>>> >>>> FF is showing these error. Please see attached image >>>> >>> I thought you said it worked OK in FF... What does "inoperative" >>> mean >>> precisely in this case? Nothing gets rendered? Or the timeline gets >>> rendered but the events don't show up? >>> >>> Does the timeline here work for you? >>> http://simile.mit.edu/timeline/ >>> >>> Could you give a URL to your timeline so we can see it for >>> ourselves? >>> >>> David >>> >>> _______________________________________________ >>> General mailing list >>> [email protected] >>> http://simile.mit.edu/mailman/listinfo/general >>> >> >> Unfortunately, my timeline is in a local server. >> >> Even though FF showed these errors, the timeline works ok. >> >> Yes http://simile.mit.edu/timeline/ works for me in both FF (Linux/ >> XP) >> and IE (XP) >> >> Inoperative in my case is that the timeline gets rendered and and I >> can move the bands but no events are shown in IE. >> >> See attachment. > > This is usually caused when IE can't parse the event data. It could > be the > format of the date(s). Can you send a few events to the list (either > the > XML or JSON output)? > > -lucas > > > > > ------------------------------ > > Message: 4 > Date: Thu, 3 Jan 2008 16:22:07 -0600 > From: "Rob Brenart \(TT\)" <[EMAIL PROTECTED]> > Subject: RE: timeline - decide which band an entry is in regardless > ofoverlap > To: <[EMAIL PROTECTED]>, "General List" <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="us-ascii" > > Perhaps I'm mis-using the word band in the context I mean. > > I'm not referring to the container which loads the xml, but rather the > single row of color which is in the band. I suppose I could put them > each in their own band and then just do multiple bands of the same > size > and scale... but I'll still run into the problem where it refuses to > put > two items with overlapping times on the same line. (And overlapping > can > mean 5am-12pm and 12pm-1pm) > > > -----Original Message----- > From: V. Alex Brennen [mailto:[EMAIL PROTECTED] > Sent: Monday, December 31, 2007 2:53 PM > To: General List > Cc: Rob Brenart (TT) > Subject: Re: timeline - decide which band an entry is in regardless > ofoverlap > > On Thu, 2007-12-27 at 16:34 -0600, Rob Brenart (TT) wrote: >> Is there a way to define which band an entry shows up in? > > Yes. > >> My goal is to map several competing actions on one timeline, and I'd >> like to put all of actor A's events on band 1, actor B's events on >> band 2 and so on. > > You can do this by creating and specifying a different XML file > for each band. In your case, you could create a file called > 'actor_a.xml' and a file called 'actor_b.xml' and then load each into > an eventSource object and assign each object to a different band. > > Here is an example: > > http://vab.mit.edu/jewel_kilcher_timeline/ > > In the example, a summary XML file is used for the some bands and a > more > more detailed XML file, with many more events, is used for others. > > The relevant code is: > > Timeline.loadXML("jewel_kilcher.xml", function(xml, url) > { eventSource.loadXML(xml, url); }); > > Timeline.loadXML("jewel_kilcher_full.xml", function(xml, url) > { eventSourceFull.loadXML(xml, url); }); > > var eventSource = new Timeline.DefaultEventSource(); > var eventSourceFull = new Timeline.DefaultEventSource(); > > var bandInfos = [ > Timeline.createBandInfo({ > width: "15%", > intervalUnit: Timeline.DateTime.DECADE, > intervalPixels: 225, > trackHeight: .4, > trackOffset: .1, > date: "February 28 1995 00:00:00 GMT", > showEventText: false, > eventSource: eventSourceFull, > theme: theme > }), > Timeline.createBandInfo({ > eventSource: eventSourceFull, > start: "May 23 1974 00:00:00 GMT", > date: "February 28 1995 00:00:00 GMT", > width: "40%", > intervalUnit: Timeline.DateTime.DAY, > intervalPixels: 100, > theme: theme > }), > Timeline.createBandInfo({ > eventSource: eventSource, > start: "May 23 1974 00:00:00 GMT", > date: "February 28 1995 00:00:00 GMT", > width: "30%", > intervalUnit: Timeline.DateTime.MONTH, > intervalPixels: 100, > theme: theme > }), > Timeline.createBandInfo({ > showEventText: false, > trackHeight: 0.4, > trackGap: 0.2, > eventSource: eventSourceFull, > start: "May 23 1974 00:00:00 GMT", > date: "February 28 1995 00:00:00 GMT", > width: "15%", > intervalUnit: Timeline.DateTime.YEAR, > intervalPixels: 300, > theme: theme > }) > ]; > > > I hope that this example is helpful. > > > Thanks, > > - VAB > > - > V. Alex Brennen [EMAIL PROTECTED] > UNIX Systems Administrator x3.9327 > http://vab.mit.edu/ > > > > > ------------------------------ > > Message: 5 > Date: Thu, 3 Jan 2008 16:29:48 -0600 > From: Drew Schimmel <[EMAIL PROTECTED]> > Subject: Invalid Argument Error in IE6/IE7 > To: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes > > Hello all. > > I've been working on a web application that utilizes the simile > timeline library to, among other things, allow users to create > timelines and dynamically add events to those timelines. The events > are stored in a MySQL database and rendered to XML with ruby, then > loaded into the timeline with a call to Timeline.loadxml(). > > The timelines render fine in Firefox, Camino, and Safari, and an empty > timeline (one containing no events) renders fine in IE6/IE7. > Timelines with events, however, fail to render in IE6/IE7. > > I backtraced the javascript error to, ultimately, the following lines > in bundle.js > > --this._highlightDiv.style.left=startPixel+'px'; > --this._highlightDiv.style.width=length+'px'; > > in this.position() around lines 3080-82. Both variables have values > of 'NaN' > > Those errors seem to stem from > > -- > Timeline > .GregorianEtherPainter > .prototype.setHighlight=function(startDate,endDate){ > --this._highlight.position(startDate,endDate); > --} > > also in bundle.js, which also have values of 'NaN', around line 2574. > > Those are in turn called from > this._etherPainter.setHighlight(startDate,endDate); around line 842 > (also 'Nan') and this._positionHighlight(); > around line 471. > > The XML passed to Timeline.loadXML is in the form: > > <data> > <event start="Fri, 11 Jan 2008 00:00:00 +0000" title="complaint > filed"> > <br/><a href='#' onclick='editEvent(9)'>Edit</a> | <a href='/timeline/ > 6/delete_event/9' onclick="return confirm('Are you sure? It'll be gone > for good.');">Delete</a> > </event> > </data> > > I've tried messing with the date formats and checking the escape > characters, although I must admit, I am not by training a javascript > person. I inherited this bug from someone else. > > Any help is much appreciated! > > Thanks, > > Drew Schimmel > [EMAIL PROTECTED] > > > > > > ------------------------------ > > Message: 6 > Date: Thu, 3 Jan 2008 15:05:18 -0800 (PST) > From: "Lucas Rockwell" <[EMAIL PROTECTED]> > Subject: Re: Invalid Argument Error in IE6/IE7 > To: "General List" <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain;charset=iso-8859-1 > > Hi Drew, > > If you are doing this in Rails, output the date with the .to_s(:db) > format, and see if it works. If so, then you can work backwards from > there > to get a date formate that IE does not choke on. > > -lucas > >> Hello all. >> >> I've been working on a web application that utilizes the simile >> timeline library to, among other things, allow users to create >> timelines and dynamically add events to those timelines. The events >> are stored in a MySQL database and rendered to XML with ruby, then >> loaded into the timeline with a call to Timeline.loadxml(). >> >> The timelines render fine in Firefox, Camino, and Safari, and an >> empty >> timeline (one containing no events) renders fine in IE6/IE7. >> Timelines with events, however, fail to render in IE6/IE7. >> >> I backtraced the javascript error to, ultimately, the following lines >> in bundle.js >> >> --this._highlightDiv.style.left=startPixel+'px'; >> --this._highlightDiv.style.width=length+'px'; >> >> in this.position() around lines 3080-82. Both variables have values >> of 'NaN' >> >> Those errors seem to stem from >> >> -- >> Timeline >> .GregorianEtherPainter >> .prototype.setHighlight=function(startDate,endDate){ >> --this._highlight.position(startDate,endDate); >> --} >> >> also in bundle.js, which also have values of 'NaN', around line 2574. >> >> Those are in turn called from >> this._etherPainter.setHighlight(startDate,endDate); around line 842 >> (also 'Nan') and this._positionHighlight(); >> around line 471. >> >> The XML passed to Timeline.loadXML is in the form: >> >> <data> >> <event start="Fri, 11 Jan 2008 00:00:00 +0000" title="complaint >> filed"> >> <br/><a href='#' onclick='editEvent(9)'>Edit</a> | <a href='/ >> timeline/ >> 6/delete_event/9' onclick="return confirm('Are you sure? It'll be >> gone >> for good.');">Delete</a> >> </event> >> </data> >> >> I've tried messing with the date formats and checking the escape >> characters, although I must admit, I am not by training a javascript >> person. I inherited this bug from someone else. >> >> Any help is much appreciated! >> >> Thanks, >> >> Drew Schimmel >> [EMAIL PROTECTED] >> >> >> >> _______________________________________________ >> General mailing list >> [email protected] >> http://simile.mit.edu/mailman/listinfo/general >> > > > > ------------------------------ > > Message: 7 > Date: Thu, 03 Jan 2008 16:24:16 -0500 > From: Michael Halle <[EMAIL PROTECTED]> > Subject: escaped single quote bug in Babel JSON export > To: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Dear Simile team, > > I've recently experimented with using Babel to convert RDF/XML to > Exhibit JSON. > > I've noticed that the JSON converter backslash-escapes single quotes > in > strings. Python's simplejson barfs on the result, and the JSON spec > seems to indicate that single quotes shouldn't be escaped. > > Can you take a look at this issue, and if confirmed, get rid of the \ > escaping? > > Thanks. > > --Mike > > > Michael Halle > [EMAIL PROTECTED] > > > ------------------------------ > > Message: 8 > Date: Thu, 03 Jan 2008 19:13:33 -0500 > From: David Huynh <[EMAIL PROTECTED]> > Subject: Re: Timeline Locally? > To: General List <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi Alex, > > Please see > http://simile.mit.edu/wiki/Timeline/Download_The_Source > Note that the SIMILE Timeline library includes the SIMILE Ajax > library, > which you also need to download the source for, and you need to modify > timeline-api.js to use your hosted version. > > Cheers, > > David > > > Alex Wilkes wrote: >> Hello >> >> My name is Alex Wilkes and I am currently an Level 1 Multimedia >> Student at Brunel University, UK. I am very much interested in using >> the timeline framework in my project, which is a project to try and >> develop links between two people. My idea is that I would create a >> PHP >> application which writes the XML for the user and displays a timeline >> of both the people. >> >> However one limitation of our project is that it must be run locally, >> without access to a webserver. Is it possible to run timeline locally >> rather than linking to your web server for the JS file? Of course I >> will still include the appropriate licensing notices! >> >> Many thanks >> >> Alex Wilkes >> _______________________________________________ >> General mailing list >> [email protected] >> http://simile.mit.edu/mailman/listinfo/general >> > > > > ------------------------------ > > Message: 9 > Date: Thu, 03 Jan 2008 19:28:43 -0500 > From: David Huynh <[EMAIL PROTECTED]> > Subject: Re: New & Happy Exhibit User > To: General List <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Kelly, > > Welcome! We're glad to hear from happy users :-) > > By the way, you can easily color-code the map markers by, say, the > type > of crime. > > <div ex:role="view" > ex:viewClass="Map" > ... > ex:colorKey=".Crime"> > </div> > > And be careful about the closing > . If you invoke the View Source > command in Firefox, you'll see that the <div> for the second view is > missing > in the opening tag. > > Cheers, > > David > > Kelly O'Day wrote: >> I just wanted to let you know that I found out about Simile and >> Exhibit from a post on googlemapsmania >> <http://googlemapsmania.blogspot.com/>. >> >> It took me less than 1 day to read your documentation, set up a >> Google >> spreadsheet of local crime data and get an interactive crime mapping >> system up and running. >> >> I particularly like the Google spreadsheet approach and I have found >> Exhibit very easy for those who want to set up a light web database >> application. >> >> Great set of tools. I hope you continue your efforts. >> >> You can see my simple application here. >> http://processtrends.com/mt_airy_crime_map.htm >> >> Thanks. >> >> Kelly O'Day >> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> General mailing list >> [email protected] >> http://simile.mit.edu/mailman/listinfo/general >> > > > > ------------------------------ > > _______________________________________________ > General mailing list > [email protected] > http://simile.mit.edu/mailman/listinfo/general > > > End of General Digest, Vol 21, Issue 8 > ************************************** _______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general
