down votefavorite 
<https://stackoverflow.com/questions/45272935/getting-thumbnail-link-of-a-bitstream-in-dspace-using-solr-query#>

Does anyone know how to get a bitstream thumbnail Url using solr query.

I am trying to make a Gallery using bit stream thumbnails in homepage of 
our dspace repository.

I am using this solr query get the items as follows.

<xsl:apply-templates 
select="document('http://localhost:8080/solr/search/select?q=search.resourcetype:2&amp;sort=dc.date.accessioned_dt%20desc&amp;rows=1&amp;fl=dc.date.accessioned_dt&amp;omitHeader=true'))"mode="solr-response"/>

Which result in this xml file

</arr><arr name="dc.type.en_US"><str>Book</str></arr><arr 
name="dc.identifier.uri"><str>http://localhost:8080/xmlui/handle/123456789/118</str></arr><date
 name="dc.date.accessioned_dt">2017-06-13T03:40:50Z</date><arr 
name="dc.date.accessioned"><str>2017-06-13T03:40:50Z</str></arr><arr 
name="dc.date.available"><str>2017-06-13T03:40:50Z</str></arr> 

With the above xml file, I can access the url of an item, but how to get 
the URL of the Thumbnail of these items.

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to