Page 1 of 1
rev attribute > What's new topic list
Posted: Thu Mar 02, 2017 11:25 am
by schelmenzunft
Greetings,
just beginning to use the ref attribute for flagging new content.
Did anyone manage to create a link list of flagged topics from these so that you can present a "Whats new" topic in the documentation? Is there any support from oXygen doing this?
Best regards,
Franz-Josef
Re: rev attribute > What's new topic list
Posted: Thu Mar 09, 2017 4:37 pm
by radu_pisoi
Hi,
Unfortunately, there is no setting that you can activate to automatically generate the
What's new section based on the
rev attribute.
A solution would be use the oXygen's
convert protocol that allows you to generate the
What's new section when publishing the DITA map. A dynamic conversion URL chains various processors that can be applied, in sequence, on a target resource. For this case, I think it is enough to use the XSLT processor.
So, you need to:
- create a topicref that uses the convert protocol. This topic will serve as a placeholder for the generated What's new section
Code: Select all
<topicref href="convert:/processor=xslt;ss=urn:processors:convert.xsl!/urn:files:cm.ditamap"/>
- write an XSLT Stylesheet that processes the current DITA map and generates the What's new section.
You can find more details about
convert protocol in our documentation:
http://oxygenxml.com/doc/versions/18.1/ ... sions.html