Websites should have a meta description tag that shows in search engine results. <meta name="description" content="This description will show in search engine results." /> It needs to be added to koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc The content should also be available as a system preference.
Created attachment 110177 [details] [review] 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 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
Created attachment 110181 [details] [review] 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 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
Created attachment 110239 [details] [review] 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 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
Created attachment 110240 [details] [review] 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
Created attachment 110241 [details] [review] 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@libriotech.no> Works as advertised. Newlines are preserved. Double quote is rendered as ". Nice enhancement!
Created attachment 110247 [details] [review] 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@libriotech.no> Works as advertised. Newlines are preserved. Double quote is rendered as ". Nice enhancement! Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Nice enhancements, works well, no QA failures. Passing QA
Pushed to master for 20.11, thanks to everybody involved!
enhancement will not be backported to 20.05.x