Bug 17937 - Adding item description to Twitter Summary
Summary: Adding item description to Twitter Summary
Status: In Discussion
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Caitlin Goodger
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-18 22:59 UTC by Caitlin Goodger
Modified: 2022-08-22 02:28 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 17937 Adding item description to Twitter Summary (4.12 KB, patch)
2017-01-18 23:11 UTC, Caitlin Goodger
Details | Diff | Splinter Review
Bug 17937 Adding item description to Twitter Summary (5.21 KB, patch)
2017-01-19 01:56 UTC, Caitlin Goodger
Details | Diff | Splinter Review
Bug 17937 deleting space around TwitterSummary in OPAC details template (1.23 KB, patch)
2017-02-02 13:39 UTC, Baptiste
Details | Diff | Splinter Review
Bug 17937 deleting space around TwitterSummary in OPAC details template and add twitter image in metatag (2.07 KB, patch)
2017-02-02 14:48 UTC, Baptiste
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Caitlin Goodger 2017-01-18 22:59:02 UTC
When a user posts a link to an item in their library's catalog on Twitter the description will show in the Twitter card.
Comment 1 Caitlin Goodger 2017-01-18 23:11:41 UTC
Created attachment 59192 [details] [review]
Bug 17937 Adding item description to Twitter Summary

Test Plan to be revised
Comment 2 Caitlin Goodger 2017-01-19 01:56:09 UTC
Created attachment 59200 [details] [review]
Bug 17937 Adding item description to Twitter Summary

Test Plan
1: Apply Patch
2: Enable Twitter Summary and enter a Twitter account
3: To test you can go to this site.
https://cards-dev.twitter.com/validator
4: When you tweet about the book it should show the description of the
book
Comment 3 Baptiste 2017-02-02 13:39:12 UTC
Created attachment 59816 [details] [review]
Bug 17937 deleting space around TwitterSummary in OPAC details template
Comment 4 Baptiste 2017-02-02 14:48:04 UTC
Created attachment 59817 [details] [review]
Bug 17937 deleting space around TwitterSummary in OPAC details template and add twitter image in metatag
Comment 5 Mark Tompsett 2017-02-02 18:15:52 UTC
Generates the meta data, but can't figure out how to test.
Comment 6 Owen Leonard 2017-04-17 15:01:07 UTC
This looks like it's working, although it's hard to test from a development environment which isn't open to the internet.

I think this would be a useful improvement, but shouldn't we use Open Graph data instead? Facebook will parse that, and Twitter allows it as a fallback for their own proprietary markup.
Comment 7 David Cook 2022-08-22 02:28:24 UTC
(In reply to Owen Leonard from comment #6)
> This looks like it's working, although it's hard to test from a development
> environment which isn't open to the internet.
> 
> I think this would be a useful improvement, but shouldn't we use Open Graph
> data instead? Facebook will parse that, and Twitter allows it as a fallback
> for their own proprietary markup.

I like the sound of that. Bug 9855 makes it look quite simple.