Larry:Thank you !
I read the contents of the source url ,I use the the " dateTimeFormat =
"iso8601" " in my XMLfile ,but this does not work .
==========================
<data
wiki-url=""
wiki-section="discuz"
dateTimeFormat = "iso8601"
>
==========================
On Thu, Dec 25, 2008 at 1:07 AM, Larry Kluger <[email protected]> wrote:
>
> Greetings bjwujihua,
>
> If you tell Timeline that your dates are in Iso8601 format, then they'll be
> parsed that way. That's probably what you want.
>
> The default date parsing strategy is
> if the date string is less than 8 characters long, then parse it as being
> either just a year, or a year followed by " BC" or " AD"
> else (most date strings are 8 characters or longer), parse using the
> browser's built in date object parser.
>
> See the source:
>
> http://simile-widgets.googlecode.com/svn/ajax/trunk/src/webapp/api/scripts/date-time.js
> methods
> SimileAjax.DateTime.parseIso8601DateTime
> and
> SimileAjax.DateTime.parseGregorianDateTime
>
> In your case, I'd think that you should try the iso8601 format.
> See the date-time-format
> data source attribute. Documentation:
> http://code.google.com/p/simile-widgets/wiki/Timeline_EventSources
> (search date-time-format for in the page.)
>
> HTH,
>
> Larry
>
>
> ------------------------------
> *From:* "[email protected]" <[email protected]>
> *To:* SIMILE Widgets <[email protected]>
> *Sent:* Wednesday, December 24, 2008 2:38:42 AM
> *Subject:* Why timeline can not recongonize "2008-08-08" in the XML file?
>
>
> Why timeline can not recongonize "2008-08-08" in the XML file?
>
> here is the content of XML file:
>
> ========================
>
> <event start="2008-08-08 08:09:59"
> title="revise JS"
> icon="../../api/images/dark-red-circle.png"
> image="../../api/images/logo.gif"
> tapeImage="../../api/images/lwsc.jpg"
> >
> revise JS
> Website = http://www.c2vm.com/
> </event>
> ========================
>
>
>
>
>
>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---