Denny,
Yes, Timeline does handle BC dates. The best option is to set the date
time format to ISO 8601
in XML
<data
date-time-format="iso8601">
in JSON
{
dateTimeFormat: "iso8601"
And format your dates as something like this
-0012-02-01
which means February 1, 13 BC.
David
Eric T. Blue wrote:
> Denny,
>
> Thanks for your quick response on this. I haven't personally tried BC
> dates directly with SIMILE TImeline, however I have seen a few
> examples (e.g.
> http://simile.mit.edu/timeline/examples/religions/jewish-history.html).
> Any pointers on where the problem may be, or should I prepare to roll
> up my sleeves and dig into the code?
>
> Temlakos,
>
> Would you mind sharing your version of SMW_DV_Time.php? It sounds
> like it may solve my immediate problem.
>
>
> On Tue, Sep 15, 2009 at 4:59 AM, Denny Vrandecic
> <dvr@... <mailto:dvr@...>> wrote:
>
> Those MIT people are always so short-sighted :)
>
> I'll pulling David Huynh into the loop, since he was the original
> author of the Timeline. David, does the SIMILE Timeline handle
> dates BC?
>
> denny
>
>
> On Sep 15, 2009, at 13:46, Temlakos wrote:
>
> Denny:
>
> Thank you for that. I don't know where the problem is. AD/CE
> dates show up just fine, as I have proved on my own wiki. But
> when I try to make a BC timeline, whether within the Julian
> Period or before it, I get the same result: nothing renders.
>
> Are you using Fabian Hawahl's original version of
> SMW_DV_Time.php to store the dates? I built an enhanced
> version that supports Gregorian, Julian, ancient Hebrew, and
> modern Hebrew (Hillel II) dates. And I can still get good
> results with dates having positive years.
>
> The problem would appear to be that /negative/ years (as they
> render in the XSD-compliant value) throw the timeline script
> for a loop. Maybe whoever wrote that script never imagined
> anyone using it to store any sort of date that was outside the
> Unix Era (1911 through 2038).
>
> Temlakos
>
> Denny Vrandecic wrote:
>
> Sorry, this is a bug. I can confirm the behavior, and
> filed the bug.
>
> <https://bugzilla.wikimedia.org/show_bug.cgi?id=20650>
>
> Best,
> denny
>
>
> On Sep 15, 2009, at 7:36, Eric T. Blue wrote:
>
>
> Hi,
>
> I've started experimenting with the timeline format
> for BC dates. Whenever I enter the inline query:
>
> {{#ask: [[Category:Philosopher]]
> | ?Birth
> | ?Death
> | format=timeline
> }}
>
> the border of the timeline is present, but nothing
> renders (only a gray background). I have a number of
> other table and timeline pages for other date formats
> and they work fine. I'm using the following format
> for both the Birth and Death Date property (Birth::550
> BC Death::500 BC). Is there anything special I need
> to do?
>
> I was running SMW and SemanticResultFormats 1.4.2
> earlier this evening, and upgraded both to version
> 1.4.5. I'd hoped that the latest versions may have
> fixed some bug, but unfortunately I'm seeing the same
> resutls. Thanks in advance for your help!
>
> -- Eric Blue
> http://eric-blue.com
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer
> Conference in SF, CA
> is the only developer event you need to attend this
> year. Jumpstart your
> developing skills, take BlackBerry mobile applications
> to market and stay
> ahead of the curve. Join us from November 9-12,
> 2009. Register now!
> http://p.sf.net/sfu/devconf_______________________________________________
> Semediawiki-user mailing list
> Semediawiki-user@...
> <mailto:Semediawiki-user@...>
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer
> Conference in SF, CA
> is the only developer event you need to attend this year.
> Jumpstart your
> developing skills, take BlackBerry mobile applications to
> market and stay ahead of the curve. Join us from November
> 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Semediawiki-user mailing list
> Semediawiki-user@...
> <mailto:Semediawiki-user@...>
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>
>
>
>
>
|