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 SUSHI spreadsheet question Message Thread: Previous | Next
  • To: Tyler Amos <tyler.amos@xxxxxxxxxxxxxxxxxxx>, "sushidevelopers@xxxxxxxxxxxxx" <sushidevelopers@xxxxxxxxxxxxx>
  • From: "Pritchett, James" <James.Pritchett@xxxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 30 Jan 2013 13:26:44 -0500
Send Email to sushidevelopers@list.niso.org:
Send new message
Reply to this message

Hi Tyler,

 

Welcome to the esteemed world of SUSHI.

 

SUSHI is an XML standard, only.  The server is only responsible for providing the XML data.  If the client needs this data in CSV or XLS format, it’s their responsibility to convert it.

 

If you are tasked to write a client as well, I would suggest looking to XSLT to do this work for you as the transformation is much harder to write and manage if you do it all through code.  Look through the code here: http://code.google.com/p/sushicounterclient/ for examples of how to do it through code. 

 

As a developer with a company (Serials Solutions) that is a client to many servers, my best advice for you is to follow the NISO standard exactly.  NISO provides schemas (http://www.niso.org/schemas/sushi/#COUNTER ) that will help your server to respond with standardized XML that all clients will be able to handle. If you attempt to roll-your-own, you cause yourself a headache as well as your customer’s clients.

 

 

From: sushidevelopers@xxxxxxxxxxxxx [mailto:sushidevelopers@xxxxxxxxxxxxx] On Behalf Of Tyler Amos
Sent: Wednesday, January 30, 2013 10:08 AM
To: sushidevelopers@xxxxxxxxxxxxx
Subject: [sushidevelopers] COUNTER SUSHI spreadsheet question

 

Hello,

 

I'm currently developing a COUNTER-SUSHI server for a customer using Ruby on Rails.  This is my first exposure to COUNTER or SUSHI so I apologize for the noob question.  It's not clear to me who is responsible, whether it's the server or client, for creating the COUNTER report CSV/Excel spreadsheet.  It appears as if the server is supposed to return the raw COUNTER XML data, but not clear if it's also responsible for the spreadsheet.

 

Could someone who is more experienced with COUNTER-SUSHI inform me as to the spreadsheet creation responsibility?  Also, if the server is responsible, how is the spreadsheet delivered to the requestor?  It doesn't seem like the SUSHI schema allows for spreadsheet filename to be included or attachments.


Thanks!

Tyler

 

Tyler Amos

SciMed Solutions

327 West Main Street

Durham, NC 27701

919.287.1817

 


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