changeset 24:9ef155b1eec5

description added
author dwinter
date Tue, 12 Mar 2013 14:41:40 +0100
parents 7fdd2d68fd6b
children 6776aeff118c
files restService/templates/serviceDescription.html searchService/searchSolr.py
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/restService/templates/serviceDescription.html	Tue Mar 12 14:32:56 2013 +0100
+++ b/restService/templates/serviceDescription.html	Tue Mar 12 14:41:40 2013 +0100
@@ -3,6 +3,9 @@
 <h2>/purl/PURL</h2>
 <p> Takes a <em>PURL</em> als Parameter and returns the real path as TXT.
 
+<h2>/imagePath/PURL</h2>
+<p> Takes a <em>PURL</em> als Parameter and returns the image Path as TXT, if stored, otherwise an empty string is returned.
+
 <h2>/search</h2>
 <p>needs a parameter ?q=PATH </p>
 
--- a/searchService/searchSolr.py	Tue Mar 12 14:32:56 2013 +0100
+++ b/searchService/searchSolr.py	Tue Mar 12 14:41:40 2013 +0100
@@ -57,7 +57,7 @@
             ret+="<result>"
             
             if short:
-                key="text-url-path"
+                key="archive-path"
                 r=hit.get(key)
                 ret+="""<%s>%s</%s>"""%(key,r,key)