[Koha-bugs] [Bug 26454] Add system preference to set meta description for the OPAC
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Sep 17 10:06:37 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26454
Magnus Enger <magnus at libriotech.no> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #110240|0 |1
is obsolete| |
--- Comment #5 from Magnus Enger <magnus at libriotech.no> ---
Created attachment 110241
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=110241&action=edit
Bug 26454: Add system preference to set meta description for the OPAC
Websites should have a meta description tag that shows in search engine
results.
The content should also be available to set as a system preference.
To test:
1) Look at opac-main source (in the browser) and see that meta
name="description" is missing.
2) Apply patch.
3) Run: perl installer/data/mysql/updatedatabase.pl
4) Go to system preferences > OPAC and add a description to
OpacMetaDescription.
5) Look at opac-main source and confirm that meta name="description" now has
content equal to the text set in the OpacMetaDescription system preference.
6) Sign off.
Sponsored by: Lunds University Libraries
Signed-off-by: Magnus Enger <magnus at libriotech.no>
Works as advertised. Newlines are preserved. Double quote is rendered
as ". Nice enhancement!
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list