Bug 168443 - [NEWHELP] Add <meta> description in Help pages.
Summary: [NEWHELP] Add <meta> description in Help pages.
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Olivier Hallot
URL:
Whiteboard: target:26.2.0
Keywords:
Depends on:
Blocks: New-Help
  Show dependency treegraph
 
Reported: 2025-09-17 11:03 UTC by Olivier Hallot
Modified: 2025-09-17 13:57 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Hallot 2025-09-17 11:03:31 UTC
To improve SEO in online Help pages, add a description meta keyword to Help pages.

<meta name="description" contents " ... "/>

This can be executed in the XSLT, by adding a <description> tag in the Help pages. Tag <description> is a <paragraph> synonym.
tasks
- Add <description> to the DTD
- Add "description" to core/l10ntools/source/xmlparse.cxx
- Add code for <description> in XSLT
- Add a .description class in CSS

On the Help pages, I suggest to replace the first paragraph, just below the H1 heading with <description> and preserve the id= attribute, to prevent re-translation.
Comment 1 Commit Notification 2025-09-17 13:57:28 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/691fe77311b27666bd46a2b178c221d538c1e24e

tdf#168443 Add <meta> description in Help pages

It will be available in 26.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 2 Commit Notification 2025-09-17 13:57:31 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/a755e2c2ec426c9ce8412f29f2e1100437e4a44e

tdf#168443 Add <meta> description in Help pages.