Xant2 plugin question

Help each other out

Xant2 plugin question

Postby lar282 on Thu May 24, 2007 7:18 am

Hi
Anybody know how to import the DateAdded field from AMC? When I try to put this in the moviestemplate.xml
<purchasedate>$$ITEM_DATEADDED</purchasedate>

I get this in the movies.xml
<purchasedate>38567ED</purchasedate>

I kind! of want a date

Any tips?

//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby dgemily on Thu May 24, 2007 7:34 am

there is 2 variables:
<date>$$ITEM_DATEFORMATED</date> (ie: 21/08/2004)
and
<date2>$$ITEM_DATEADD</date2> (ie: 20040821) this one is used to sort your database.
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Postby lar282 on Thu May 24, 2007 7:39 am

that gives me(in the movies.xml)

<date>$$ITEM_DATEFORMATED</date>
<date2>39191</date2>

In AMC it looks like this:
Date Added: 2007-04-19
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby dgemily on Thu May 24, 2007 7:47 am

can you tell me your version of xant ?
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Postby lar282 on Thu May 24, 2007 7:48 am

3.5.1

In AMC it looks like this:
Date Added: 2007-04-19
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby dgemily on Thu May 24, 2007 7:50 am

lar282 wrote:3.5.1

In AMC it looks like this:
Date Added: 2007-04-19

this is the version of AMC but I need to be sure that you are using the same Xant plugin version than me.
maybe the english version of the date in AMC can be the problem, I didn't try it.
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Postby lar282 on Thu May 24, 2007 7:52 am

ha ha , sorry about that....

File version: 2.1.2109.39993

Found it here:
http://www.xlobby.com/files/Marbles_00/ ... n_List.htm


//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby dgemily on Thu May 24, 2007 8:50 am

can you try with this version: http://www.france.xlobby.com/telecharge ... t.v2.1.exe
it's an installer, so before installing it, just remove or rename your Xant repertory.

later
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Postby lar282 on Thu May 24, 2007 9:03 am

just w I click the Install button in the setup program a dialog box comes up saying

ERROR

nothing more.Tried on vista and xp sp2

do u have the dll only????
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby dgemily on Thu May 24, 2007 9:08 am

you need to specify your xlobby directory by clicking on down arrows button.

anyway, here is the dll : http://www.france.xlobby.com/forum/dgem ... p/XAnt.zip

later
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Postby lar282 on Thu May 24, 2007 9:14 am

You're the man. Works like a charm

//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby dgemily on Thu May 24, 2007 9:22 am

ok, I updated the zip, so the link http://www.france.xlobby.com/plugins/xant2.zip should point to the last xant version now....
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Postby cmhardwick on Thu May 24, 2007 12:51 pm

the number you were getting from the field was the serial date, number of days since 01/01/1900. That's commonly how programs actually store dates (such as excel, etc) and they are converted to the form we know and love for display.
Glad the new plugin handles the conversion now.

2 days to vacation ... and counting ... do I have to go to work now? ;)
cmhardwick
 
Posts: 508
Joined: Fri Jul 14, 2006 6:07 pm
Location: Tennessee

Re: Xant2 plugin question

Postby dalanik on Tue May 29, 2007 8:06 pm

While we're at xANT, I'll ask here instead opening new topic :-)

Is there a way to put inside name field, title with "the, a" at the end? I know AMC does this internaly. Also, where would that go into xml, as <display> or <sorttitle>?

D.
dalanik
 
Posts: 885
Joined: Mon Apr 19, 2004 12:35 pm
Location: Prague, Czech Republic

Re: Xant2 plugin question

Postby dgemily on Tue May 29, 2007 9:52 pm

dalanik wrote:While we're at xANT, I'll ask here instead opening new topic :-)

Is there a way to put inside name field, title with "the, a" at the end?


sorry I can't help you, I don't know... need a badubo answer ;)

where would that go into xml, as <display> or <sorttitle>?

not sure what you mean but you should be able to manage it with template.
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Next