JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for DIGITALCLASSICIST Archives


DIGITALCLASSICIST Archives

DIGITALCLASSICIST Archives


DIGITALCLASSICIST@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

DIGITALCLASSICIST Home

DIGITALCLASSICIST Home

DIGITALCLASSICIST  May 2017

DIGITALCLASSICIST May 2017

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Linking to the Perseus Digital Library

From:

Chiara Salvagni <[log in to unmask]>

Reply-To:

The Digital Classicist List <[log in to unmask]>

Date:

Tue, 30 May 2017 19:22:53 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (99 lines)

Dear Bridget Almas,
thanks for your reply. I am looking now at how CTS requests can be added, since if I write http://localhost:5000/api/cts/?request=GetCapabilities I receive the message: "The requested URL was not found on the server".
Thanks again.
Chiara Salvagni

On Tue, 23 May 2017 14:52:55 -0400, Bridget Almas <[log in to unmask]> wrote:
>Hi Chiara,
>
>The following requests should work
>
>http://localhost:5000/api/cts/?request=GetCapabilities
>
>This returns the CTS Inventory of texts which are available in the 
>repository.
>
>You can then find urns for individual editions and translations in that 
>response, and feed these to the GetValidReff request
>
>http://localhost:5000/api/cts/?request=GetValidReff&urn= 
>urn:cts:greekLit:tlg0012.tlg002.perseus-grc2
>
>This returns a list of passages
>
>You can drill down to lower levels by adding a level parameter
>
>http://localhost:5000/api/cts/?request=GetValidReff&urn=urn:cts:greekLit:tlg0012.tlg002.perseus-grc2&level=2
>
>(the number of levels is identified in the CTS Inventory metadata for 
>the edition)
>
>And finally retrieve text by requesting a passage urn (individual or 
>range). e.g.
>
>http://localhost:5000/api/cts/?request=GetPassage&urn=urn:cts:greekLit:tlg0012.tlg002.perseus-grc2:1.1-1.10
>
>(The following quick guide I wrote up recently for the CTS Handle 
>project might also be helpful:
>https://github.com/rpidproject/cts-handles/blob/master/sample_cts_request_response.md
>
>Hope this helps,
>
>Best
>Bridget
>
>
>On 05/23/2017 02:10 PM, Chiara Salvagni wrote:
>> On Sun, 21 May 2017 23:44:34 +0100, Chiara Salvagni <[log in to unmask]> wrote:
>> Dear Clérice Thibault and dear all,
>> I have been looking at the http://localhost:5000/api/cts which should allow us to browse, and I still get the error:
>> <CTSError><type>MissingParameter</type><message> Request missing one or more required parameters </message><documentation>https://capitains.github.io/pages/vocabulary#cts-concepts-equivalency-table</documentation><possibleRequests><request><param name="request">GetCapabilities</param><legend>Retrieve a list of available resources in the API</legend></request><request><param name="request">GetPassage</param><param name="urn"/><legend>Retrieve a passage of a text identified by given urn</legend></request><request><param name="request">GetPassagePlus</param><param name="urn"/><legend>Retrieve a passage of a text identified by given urn with its metadata (Previous, next URNs, Label)</legend></request><request><param name="request">GetPrevNextUrn</param><param name="urn"/><legend>Retrieve previous and following passage of a given urn</legend></request><request><param name="request">GetValidReff</param><param name="urn"/><param name="level"/><legend>Retrieve children reference of given URN at given level. For range, level=0 will retrieve same level passage inside the range</legend></request><request><param name="request">GetFirstUrn</param><param name="urn"/><legend>Retrieve the first child of given URN</legend></request><request><param name="request">GetLabel</param><param name="urn"/><legend>Retrieve metadata about given edition or translation identified by its URN</legend></request></possibleRequests></CTSError>.
>> I looked at the CTS specifications here, https://github.com/cite-architecture/cts_spec/blob/master/md/specification.md, and at the CTS files inside the release you pointed out to us. Am I understanding right, that it is there I have to look, so as to solve the error message?
>> Thanks again.
>> Chiara Salvagni
>>
>>> Dear Clérice Thibault,
>>> thanks a lot. Now I understood everything. The interface http://localhost:5000/ works fine and I can see everything. I'll look at the other, the http://localhost:5000/api/cts and figure out what the CTSError I am seeing means and is. I would like to know how this project will go on.
>>> Chiara Salvagni
>>>
>>> On Sun, 21 May 2017 18:32:51 +0200, Thibault Clérice <[log in to unmask]> wrote:
>>>
>>>> Dear Chiara and members of the list,
>>>>
>>>> Unfortunately not all the texts of Perseus have been converted to
>>>> CapiTainS guidelines for the moment. To have only texts which pass the
>>>> guidelines, you'll have to download the release.tar.gz that are available
>>>> in each given repositories such as
>>>> https://github.com/PerseusDL/canonical-latinLit/releases/download/0.0.12/release.tar.gz
>>>> . There is two part of the server, one is the CTS API (and some other APIs
>>>> like a DTS skeleton), the second is the UI which has no XSLT whatsoever but
>>>> allows you to browse at least :) It should be possible to provide one but I
>>>> would really need some support on making the app-building mores streamline
>>>> before going there. If any of you has some spare time ;)
>>>>
>>>> As for the directories, they are loaded together but not as "browsable"
>>>> collections . They are just merged. Any other system would make it quite
>>>> more complex for the end user at the moment :)
>>>>
>>>> Best,
>>>> Thibault
>>>>
>>>> 2017-05-21 17:26 GMT+02:00 Chiara Salvagni <[log in to unmask]>:
>>>>
>>>>> Dear Clérice Thibault,
>>>>> I did as you suggested and, after a few testings, I managed to change the
>>>>> file into an exec. I load a directory and I run the server. The results are
>>>>> that certain files are said to be not present, in other cases there are
>>>>> errors parsing and in others it does say: 'does not accept parsing at some
>>>>> level (most probably citation)'. When I click on open server I obtain this
>>>>> error: "CTS error thrown MissingParameter for (request missing one or more
>>>>> required parameters)' and I open a xml page with no stylesheet information
>>>>> available. I can see a page only if I open the link:
>>>>> http://localhost:5000/. In this page I see a default collection with some
>>>>> Greek and Latin texts. Should I manage to see the directory I loaded?
>>>>> Thanks for your help.
>>>>> Chiara Salvagni
>>>>>
>
>

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
January 2006
December 2005
October 2005
September 2005
August 2005
July 2005
June 2005


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager