Help

Icon - KMLM List KMLM List

View email archives for the history of this mailing list.

List Home All Archives Dates Threads Authors Subjects
sushidevelopers - Re: [sushidevelopers] Counter XML Question Message Thread: Previous | Next
  • To: John Milligan <john.milligan@xxxxxxxxxxxxxxx>, "sushidevelopers@xxxxxxxxxxxxx" <sushidevelopers@xxxxxxxxxxxxx>
  • From: "Kim, Tae" <Tae.Kim@xxxxxxxxxxxxxxxxxxxx>
  • Date: Fri, 17 Apr 2009 13:01:07 -0400
Send Email to sushidevelopers@list.niso.org:
Send new message
Reply to this message
I looks like that, I just abstracted out the XML.

So actually, it looks like this with the sum at the end.


                      <Period>
                          <ItemPerformance>
                             <Begin>2008-01-01</Begin>
                             <End>2008-01-31</End>
                             <Instance>
                                <MetricType>ft_html</MetricType>
                                <Count>3</Count>
                             </Instance>
                             <Instance>
                                <MetricType>ft_pdf</MetricType>
                                <Count>41</Count>
                             </Instance>
                             <Instance>
                                <MetricType>ft_ps</MetricType>
                                <Count>0</Count>
                             </Instance>
                          </ItemPerformance>
                          <ItemPerformance>
                             <Begin>2008-02-01</Begin>
                             <End>2008-02-29</End>
                             <Instance>
                                <MetricType>ft_html</MetricType>
                                <Count>4</Count>
                             </Instance>
                             <Instance>
                                <MetricType>ft_pdf</MetricType>
                                 <Count>68</Count>
                             </Instance>
                             <Instance>
                                <MetricType>ft_ps</MetricType>
                                <Count>0</Count>
                             </Instance>
                          </ItemPerformance>
                          <ItemPerformance>
                             <Begin>2008-03-01</Begin>
                             <End>2008-03-31</End>
                             <Instance>
                                <MetricType>ft_html</MetricType>
                                <Count>0</Count>
                             </Instance>
                             <Instance>
                                <MetricType>ft_pdf</MetricType>
                                <Count>52</Count>
                             </Instance>
                             <Instance>
                                <MetricType>ft_ps</MetricType>
                                <Count>0</Count>
                             </Instance>
                          </ItemPerformance>
                          <ItemPerformance>
                            <Begin>2008-01-01</Begin>
                             <End>2008-03-31</End>
                             <Instance>
                                <MetricType>ft_html</MetricType>
                                <Count>7</Count>
                             </Instance>
                             <Instance>
                                <MetricType>ft_pdf</MetricType>
                                <Count>161</Count>
                             </Instance>
                             <Instance>
                                <MetricType>ft_ps</MetricType>
                                <Count>0</Count>
                             </Instance>
                          </ItemPerformance>
                      </Period>

On 4/17/09 9:53 AM, "John Milligan" <john.milligan@xxxxxxxxxxxxxxx> wrote:

If I am clear on what you're asking, that doesn't appear to be the standard. If 
successful <MetricTypes /> are to be returned, the format should be similar to 
the following snippet below:

                       <Period>
                          <ItemPerformance>
                             <Begin>2008-01-01</Begin>
                             <End>2008-01-31</End>
                             <Instance>
                                <MetricType>ft_html</MetricType>
                                <Count>3</Count>
                             </Instance>
                             <Instance>
                                <MetricType>ft_pdf</MetricType>
                                <Count>41</Count>
                             </Instance>
                             <Instance>
                                <MetricType>ft_ps</MetricType>
                                <Count>0</Count>
                             </Instance>
                          </ItemPerformance>
                          <ItemPerformance>
                             <Begin>2008-02-01</Begin>
                             <End>2008-02-29</End>
                             <Instance>
                                <MetricType>ft_html</MetricType>
                                <Count>4</Count>
                             </Instance>
                             <Instance>
                                <MetricType>ft_pdf</MetricType>
                                 <Count>68</Count>
                             </Instance>
                             <Instance>
                                <MetricType>ft_ps</MetricType>
                                <Count>0</Count>
                             </Instance>
                          </ItemPerformance>
                          <ItemPerformance>
                             <Begin>2008-03-01</Begin>
                             <End>2008-03-31</End>
                             <Instance>
                                <MetricType>ft_html</MetricType>
                                <Count>0</Count>
                             </Instance>
                             <Instance>
                                <MetricType>ft_pdf</MetricType>
                                <Count>52</Count>
                             </Instance>
                             <Instance>
                                <MetricType>ft_ps</MetricType>
                                <Count>0</Count>
                             </Instance>
                          </ItemPerformance>
                       </Period>

I hope this helps.

John Milligan,
Principal/Lead SUSHI Developer
 Scholarly iQ, LLC - IT & eBusiness Solutions





From: Kim, Tae [mailto:Tae.Kim@xxxxxxxxxxxxxxxxxxxx]
Sent: Friday, April 17, 2009 12:30 PM
To: sushidevelopers@xxxxxxxxxxxxx
Subject: [sushidevelopers] Counter XML Question

I'm working with Proquest sushi service and they return the stats for every 
month and a total for all the months.

For example if I ask for Jan-March, it returns something like:
2008-01-01 to 2008-01-31: 3 requests
2008-02-01 to 2008-02-28: 4 requests
2008-03-01 to 2008-03-31: 1 requests
2008-01-01 to 2008-03-31: 8 requests

I'd LIKE to tell them that really, the last is redundant and spans multiple 
months so it shouldn't be in the result.
But really, I can't find anything in the SUSHI or COUNTER standard that 
dictates that each data point should be exactly one month in duration.

The xsd of course can't really validate  anything like this.

Can anybody point me to something in the standard? Usage stats spanning 
multiple months is kinda problematic for me and I imagine for other clients as 
well.

Tae Kim
Software Developer
Serials Solutions
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.287 / Virus Database: 270.11.58/2061 - Release Date: 04/17/09 
07:08:00


By Date: Previous | Next Current Thread By Thread: Previous | Next


  Mail converted by the most-excellent MHonArc 2.6.16