Edit title on the web browser
Oxygen general issues.
-
- Posts: 41
- Joined: Thu Jun 08, 2017 3:41 pm
Edit title on the web browser
Hello,
I would like to know if it's possible to modify the page title on the web browser?
I mean I would like to display the title from <title> tag between <head> tags. If it's possible, how?
Thank you !
Regards,
Jeremy
I would like to know if it's possible to modify the page title on the web browser?
I mean I would like to display the title from <title> tag between <head> tags. If it's possible, how?
Thank you !
Regards,
Jeremy
-
- Posts: 145
- Joined: Mon Jun 12, 2017 10:50 am
Re: Edit title on the web browser
Post by cosmin_andrei »
Hello,
What version of Oxygen are you using?
What transformation scenario are you currently using?
Also, note that for WebHelp Responsive this is the default behavior.
What version of Oxygen are you using?
What transformation scenario are you currently using?
Also, note that for WebHelp Responsive this is the default behavior.
Regards,
Cosmin
--
Cosmin Andrei
oXygen XML Editor and Author Support
Cosmin
--
Cosmin Andrei
oXygen XML Editor and Author Support
-
- Posts: 41
- Joined: Thu Jun 08, 2017 3:41 pm
Re: Edit title on the web browser
Hello,
Thank you for your answer. In fact, I would like to know if it's possible to add something like the name of company.
If Title is Menu 1, would like to display : Title - NameOfCompany --> Menu 1 - NameOfCompany
We are using webhelp responsive scenario on 19.0 and 20.0 version
Thank you for your answer. In fact, I would like to know if it's possible to add something like the name of company.
If Title is Menu 1, would like to display : Title - NameOfCompany --> Menu 1 - NameOfCompany
We are using webhelp responsive scenario on 19.0 and 20.0 version
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Edit title on the web browser
Post by radu_pisoi »
Hi,
In case you want to modify only the html/head/title element, without modifying the topic's title (h1), you need to write a DITA-OT extension plugin. The extension plugin specifies an XSLT stylesheet that could modify the title generation.
The XSLT template that generates HTML's title is generateChapterTitle, you can find it in:
You can find more details about how to write an extension plugin for HTML output in the DITA-OT documentation.
In case you want to modify only the html/head/title element, without modifying the topic's title (h1), you need to write a DITA-OT extension plugin. The extension plugin specifies an XSLT stylesheet that could modify the title generation.
The XSLT template that generates HTML's title is generateChapterTitle, you can find it in:
Code: Select all
DITA-OT/plugins/org.dita.xhtml/xsl/xslhtml/dita2htmlImpl.xsl
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service