[oXygen-user] excluding conref source files from search results

Oxygen XML Editor Support (Radu Coravu) support at oxygenxml.com
Mon Jan 15 09:36:55 CST 2024


Hi Peter,

In general it's a best practice to refer all DITA resources in your DITA 
Map, including topics which only contain reusable content.

For such topics one would usually set this processing-role attribute on 
the topicref:

> <topicref href="reusables.dita" processing-role="resource-only"/>
A resource only topic automatically does not appear in the TOC and 
should also not be indexed by our WebHelp search engine. So in a way 
this would be the equivalent of setting the TOC=no and Search=no attributes.

Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 1/15/24 16:17, Peter Shauger wrote:
> I may have answered my own question...
> I'm not sure if this is the proper solution, or just one of the 
> possible solutions, but here's what I ended up doing:
> - I created a new map
> - added all my conref source files to that map
> - set map properties TOC=no and Search=no
> That worked!
>
>
>     ------------------------------------------------------------------------
>     *From: *Peter <pshauger at tomsawyer.com>
>     *To: *oxygen-user <oxygen-user at oxygenxml.com>
>     *Date: *Monday, 15 January 2024 12:30 AM EST
>     *Subject: *[oXygen-user] excluding conref source files from search
>     results
>
>     Hi,
>     How do I make it, so that a conref source file does not appear in
>     search results?
>     This file is not otherwise in the TOC. It is ONLY used as conref
>     source.
>     Peter Shauger
>     Senior Technical Writer
>     Tom Sawyer Software <https://www.tomsawyer.com/>
>
>
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20240115/5f85a1df/attachment.htm>


More information about the oXygen-user mailing list