[OPEN-ILS-DEV] Cover art in RSS Feeds

Jessica Woolford jwoolford at biblio.org
Fri Mar 17 11:52:41 EDT 2017


Super cool, Terran!

On Fri, Mar 17, 2017 at 11:39 AM, Terran McCanna <
tmccanna at georgialibraries.org> wrote:

> I'm not sure if this will help, but I've been messing around with using
> the supercat RSS feed to show the new book lists in our OPAC (see
> http://gapines.org for the links to each library's new books page - I
> haven't worked on modifying the RSS output yet). It's not completely where
> I want it to be yet, but I did change the code to use the TCN instead of
> the ISBN to get the cover images. You can see the changes I made at:
>
> ATOM2XHTML.xml
> https://drive.google.com/file/d/0B_YSoBdcQ5kZTFU1c2dFUkdkOGc/
> view?usp=sharing
>
> MARC21slim2ATOM.xml
> https://drive.google.com/file/d/0B_YSoBdcQ5kZWkVxOXllRmJSUU0/
> view?usp=sharing
>
> I particularly want to include the date added to the catalog with each
> result, but I haven't figured that out yet.
>
>
> Terran McCanna
> PINES Program Manager
> Georgia Public Library Service
> 1800 Century Place, Suite 150
> Atlanta, GA 30345
> 404-235-7138 <(404)%20235-7138>
> tmccanna at georgialibraries.org
>
>
> On Fri, Mar 17, 2017 at 10:39 AM, Josh Stompro <stomproj at exchange.larl.org
> > wrote:
>
>> Has anyone figured out how to modify the bookbag rss feed results to add
>> in the cover art for titles into the description data?
>>
>>
>>
>> We would like to be able to use any old rss plugin to display new titles
>> based on a query created bookbag, or the freshmeat feeds, but since the
>> cover art isn’t included it isn’t very attractive.
>>
>>
>>
>> I’m wondering if this would be where I should look at munging the
>> description data –
>>
>> http://git.evergreen-ils.org/?p=Evergreen.git;a=blob;f=Open-
>> ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm;hb=HEAD#l1609
>>
>>
>>
>> I think I need to add a cdata enclosed link to the cover art to have this
>> work.
>>
>>
>>
>> <![CDATA[<img src=" http://egcatalog.larl.org/opac
>> /extras/ac/jacket/small/r/197054"/>]]>
>>
>>
>>
>> Maybe something like
>>
>>
>>
>> $node->description(“<![CDATA[<img src=" http://egcatalog.larl.org/opac
>> /extras/ac/jacket/small/r/$item_tag"/>]]>” . $node{currentdescription});
>>
>>
>>
>> I’m not sure how to grab the current description data at that point.  I
>> might want to just exclude the current description entirely, since I really
>> just want the cover art.  And I need to grab the current server hostname so
>> that isn’t hard coded.  Any tips would be appreciated.
>>
>>
>>
>> Thanks
>>
>> Josh
>>
>>
>>
>> Lake Agassiz Regional Library - Moorhead MN larl.org
>>
>> Josh Stompro     | Office 218.233.3757 EXT-139 <(218)%20233-3757>
>>
>> LARL IT Director | Cell 218.790.2110 <(218)%20790-2110>
>>
>>
>>
>
>


-- 
Jessica Woolford
Evergreen Systems Manager
Bibliomation, Inc.
24 Wooster Ave.
Waterbury, CT 06708
203-577-4070 ext. 105
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20170317/842ae4e7/attachment-0001.html>


More information about the Open-ils-dev mailing list