Fordham-lawlib-bento / fordham-law-search

A bento-style search UI for fordham law resources.
0 stars 0 forks source link

FLASH EDS Search #37

Closed tkaczorowski closed 7 years ago

tkaczorowski commented 7 years ago

Please setup bento to search FLASH using eds api "apiflash".

jrochkind commented 7 years ago

Hi Tom, seems to be working fine.

I need a non-API EDS profile to link to when users click on 'see all results'. Either a new profile created with just FLASH in it (like you've done for Catalog), or another profile that has a limiter in it that corresponds to "only FLASH".

tkaczorowski commented 7 years ago

Hi Jonathan,

Just got back in my office. We had our holiday “movie day” – I saw Arrival which I enjoyed.

Looks like you got Hein links to work! With proxy language! Great Job!

You can link to edsflash for flash results. I set up that profile last week.

I’ll read through the rest of the emails and respond as necessary.

Tom

From: Jonathan Rochkind [mailto:notifications@github.com] Sent: Thursday, December 15, 2016 1:41 PM To: Fordham-lawlib-bento/fordham-law-search < fordham-law-search@noreply.github.com> Cc: tkaczorowski tkaczorowski@law.fordham.edu; Author < author@noreply.github.com> Subject: Re: [Fordham-lawlib-bento/fordham-law-search] FLASH EDS Search (#37)

Hi Tom, seems to be working fine.

I need a non-API EDS profile to link to when users click on 'see all results'. Either a new profile created with just FLASH in it (like you've done for Catalog), or another profile that has a limiter in it that corresponds to "only FLASH".

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Fordham-2Dlawlib-2Dbento_fordham-2Dlaw-2Dsearch_issues_37-23issuecomment-2D267406493&d=DgMFaQ&c=aqMfXOEvEJQh2iQMCb7Wy8l0sPnURkcqADc2guUW8IM&r=ufwSdmS5IZPSMZUMObqD9D-VUZ9gAg0GtO2ab7PNYjU&m=yUD0x8Q7jHhqSVIAYI33_eo1qg_fiBlTLqjckz-Z3t4&s=dw6U3hcVEgbMuYc-bRkXlwmcqJ6Vet3ZjD1h6B38FvQ&e=, or mute the thread https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AOW-2DfpR6n-5FqlxpHPMkPwNIoV6ku7b7vIks5rIYm-5FgaJpZM4LOYQD&d=DgMFaQ&c=aqMfXOEvEJQh2iQMCb7Wy8l0sPnURkcqADc2guUW8IM&r=ufwSdmS5IZPSMZUMObqD9D-VUZ9gAg0GtO2ab7PNYjU&m=yUD0x8Q7jHhqSVIAYI33_eo1qg_fiBlTLqjckz-Z3t4&s=SYii6aZExzuvpX7sQjQFBGMeCvYX6iyM5cWFrhH7prk&e= .[image: Image removed by sender.]

jrochkind commented 7 years ago

Okay, I have it deployed using EDS for Flash, with those profiles.

It's up at the (note slightly new) URL http://fordham-law-search.herokuapp.com

The display of EDS results from Flash is a little bit wonky.

I can workaround both of these things on the client side, if you'd like. Dates aren't shown at all in standard EDS Flash, I can suppress showing the dates at all (although they seem useful!), or just show month/year for FLASH results. I can hard-code whatever label you'd like for the links in FLASH results.

tkaczorowski commented 7 years ago

The link that’s showing in the bento goes to the FLASH record, not the full text (ugh). Again it looks like we’re showing the wrong link. We want the “Online Resource” (full text) link to show, not a second link to the record.

The date is definitely important so it’s good that it’s showing, even if it’s by accident. That weird first of the month thing is the way bepress does dates. You can’t have a pub date of 1/2015. It must have month, day and year. Sometimes the months and day are correct in our records, sometimes they just say jan 1 if we only have the year.

Please work on getting the full text link to show. I’ll figure out if we want to truncate the date to just the year.

Thanks,

Tom

From: Jonathan Rochkind [mailto:notifications@github.com] Sent: Thursday, December 15, 2016 5:19 PM To: Fordham-lawlib-bento/fordham-law-search < fordham-law-search@noreply.github.com> Cc: tkaczorowski tkaczorowski@law.fordham.edu; Author < author@noreply.github.com> Subject: Re: [Fordham-lawlib-bento/fordham-law-search] FLASH EDS Search (#37)

Okay, I have it deployed using EDS for Flash, with those profiles.

It's up at the (note slightly new) URL http://fordham-law-search.herokuapp.com https://urldefense.proofpoint.com/v2/url?u=http-3A__fordham-2Dlaw-2Dsearch.herokuapp.com&d=DgMFaQ&c=aqMfXOEvEJQh2iQMCb7Wy8l0sPnURkcqADc2guUW8IM&r=ufwSdmS5IZPSMZUMObqD9D-VUZ9gAg0GtO2ab7PNYjU&m=YTywXIZ78ymh6pi6OM-xdzs81kUT6TULqTe1cnDAFDg&s=LuCtDZ1nSki26sivxd5pXdkGZafRtI0ViHIbDXjhjAo&e=

The display of EDS results from Flash is a little bit wonky.

· The full URL is the text of the link, instead of the words "Online Resource" as in EDS. This is becuase this is how the API is returning it for some reason.

· All dates are given as first of the month, ie "Jan 1 1997" or 'March 1 1986'. I guess the month and year are correct, but it's just always the 1st?

I can workaround both of these things on the client side, if you'd like. Dates aren't shown at all in standard EDS Flash, I can suppress showing the dates at all (although they seem useful!), or just show month/year for FLASH results. I can hard-code whatever label you'd like for the links in FLASH results.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Fordham-2Dlawlib-2Dbento_fordham-2Dlaw-2Dsearch_issues_37-23issuecomment-2D267461062&d=DgMFaQ&c=aqMfXOEvEJQh2iQMCb7Wy8l0sPnURkcqADc2guUW8IM&r=ufwSdmS5IZPSMZUMObqD9D-VUZ9gAg0GtO2ab7PNYjU&m=YTywXIZ78ymh6pi6OM-xdzs81kUT6TULqTe1cnDAFDg&s=myUUv_GwBWbaqSaNqB-mgO69O6DEZ_0vxBt0hJtuaXk&e=, or mute the thread https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AOW-2DfnoG36Ny-2DY0-5FLwJvBh-5Fv34saNcdWks5rIbzSgaJpZM4LOYQD&d=DgMFaQ&c=aqMfXOEvEJQh2iQMCb7Wy8l0sPnURkcqADc2guUW8IM&r=ufwSdmS5IZPSMZUMObqD9D-VUZ9gAg0GtO2ab7PNYjU&m=YTywXIZ78ymh6pi6OM-xdzs81kUT6TULqTe1cnDAFDg&s=-i27jLK2eMrTGB1wPXqMVUnc0ywzlsNEB4I3QQQPuxk&e= .[image: Image removed by sender.]

jrochkind commented 7 years ago

@tkaczorowski

The link that’s showing in the bento goes to the FLASH record, not the full text (ugh).

I believe this is the exact same place the link goes in standard EDS (eg "flashweb" profile). Can you confirm?

The place the link is going in bento is the only URL the API is delivering, for instance in this excerpt:

            <Item>
              <Name>URL</Name>
              <Label>Access URL</Label>
              <Group>URL</Group>
              <Data>&lt;link linkTarget="URL" linkTerm="http://ir.lawnet.fordham.edu/faculty_scholarship/181" linkWindow="_blank"&gt;http://ir.lawnet.fordham.edu/faculty_scholarship/181&lt;/link&gt;</Data>
            </Item>

No other URLs are being delivered by the API -- just the one that is attached to the title, which directs to the metadata record in EDS; and this second one that directs to the record in FLASH.

You would have to talk to EBSCO to see if EDS is indexing the URLs you are describing as 'full text', and if there's any way to get to the API response to reveal that link. I don't know if EDS is capable of doing that.

Make sense?

tkaczorowski commented 7 years ago

Makes sense. I’ll open a call with Ebsco. Hopefully they can get it to show up.

Tom

From: Jonathan Rochkind [mailto:notifications@github.com] Sent: Monday, December 19, 2016 10:51 AM To: Fordham-lawlib-bento/fordham-law-search < fordham-law-search@noreply.github.com> Cc: tkaczorowski tkaczorowski@law.fordham.edu; Mention < mention@noreply.github.com> Subject: Re: [Fordham-lawlib-bento/fordham-law-search] FLASH EDS Search (#37)

@tkaczorowski https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_tkaczorowski&d=DgMFaQ&c=aqMfXOEvEJQh2iQMCb7Wy8l0sPnURkcqADc2guUW8IM&r=ufwSdmS5IZPSMZUMObqD9D-VUZ9gAg0GtO2ab7PNYjU&m=4iA8WLi2eIn0zu6kg2bcNssDSkkedf4QbnMb6b4RVao&s=MSGPIWAJZMpaTOrGs8e9wI-fRNtfEFgxIhLQYh_nqKU&e=

The link that’s showing in the bento goes to the FLASH record, not the full text (ugh).

I believe this is the exact same place the link goes in standard EDS (eg "flashweb" profile). Can you confirm?

The place the link is going in bento is the only URL the API is delivering, for instance in this excerpt:

URL URL <link linkTarget="URL" linkTerm="http://ir.lawnet.fordham.edu/faculty_scholarship/181" linkWindow="_blank">http://ir.lawnet.fordham.edu/faculty_scholarship/181</link>

No other URLs are being delivered by the API -- just the one that is attached to the title, which directs to the metadata record in EDS; and this second one that directs to the record in FLASH.

You would have to talk to EBSCO to see if EDS is indexing the URLs you are describing as 'full text', and if there's any way to get to the API response to reveal that link. I don't know if EDS is capable of doing that.

Make sense?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Fordham-2Dlawlib-2Dbento_fordham-2Dlaw-2Dsearch_issues_37-23issuecomment-2D267998920&d=DgMFaQ&c=aqMfXOEvEJQh2iQMCb7Wy8l0sPnURkcqADc2guUW8IM&r=ufwSdmS5IZPSMZUMObqD9D-VUZ9gAg0GtO2ab7PNYjU&m=4iA8WLi2eIn0zu6kg2bcNssDSkkedf4QbnMb6b4RVao&s=18NO89iz0ZHJ802iZ-X_yNETDU-YsHAJXMwOyv6cinA&e=, or mute the thread https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AOW-2DftDYyDNVdgtfvsduWAGCl0dN3Cyfks5rJqfvgaJpZM4LOYQD&d=DgMFaQ&c=aqMfXOEvEJQh2iQMCb7Wy8l0sPnURkcqADc2guUW8IM&r=ufwSdmS5IZPSMZUMObqD9D-VUZ9gAg0GtO2ab7PNYjU&m=4iA8WLi2eIn0zu6kg2bcNssDSkkedf4QbnMb6b4RVao&s=iu2su4jeenS73xuaAPGzQfUm-9srRpO3Nc8NFgZGzcQ&e= .[image: Image removed by sender.]

jrochkind commented 7 years ago

@tkaczorowski Have you heard anything from EBSCO, or reached any further decisions about what you want to do with this? We can switch it back to Google if you like.

tkaczorowski commented 7 years ago

Yeah and it's not good. In order for the EDS API to return the link to the item rather than its FLASH record I'd have to create a local collection that would need to be manually updated every time a new item is uploaded to FLASH. Ridiculous. If we use the Google search will we get links to the items in the results?

jrochkind commented 7 years ago

Yeah and it's not good. In order for the EDS API to return the link to the item rather than its FLASH record I'd have to create a local collection that would need to be manually updated every time a new item is uploaded to FLASH. Ridiculous. If we use the Google search will we get links to the items in the results?

It depends on what Google indexes, which we don't really have control over. I recall from when we doing it before, the hits returned by Google were often to a PDF, but not always.

I can switch it back to Google if you'd like to investigate that further. I can even set it up with two 'bento boxes' on the page, one using EDS for FLASH and one using Google for FLASH, so you can compare the results. You'd probably want to set the google one up for billing so we could do more than 100 queries a day, if you wanted to do testing like this.

Jonathan

jrochkind commented 7 years ago

closing this issue, have settled back on Google FLASH after all.