Page 1 of 1
Cross-references from a resource-only map reference are crawled
Posted: Wed Jul 13, 2022 9:14 am
by antonyterrence
test_resource_only_attribute.zip
I have a dita map that references another map, which is set as a resource-only map. However, the resource-only map references a topic which includes a cross-reference to a topic. The responsive webhelp crawls the cross-reference and generates an html file for the file. Won't the resource-only attribute work for cross-references?
Re: Cross-references from a resource-only map reference are crawled
Posted: Wed Jul 13, 2022 11:52 am
by chrispitude
Re: Cross-references from a resource-only map reference are crawled
Posted: Wed Jul 13, 2022 2:33 pm
by antonyterrence
I think it is. Thank you for sharing the link, Chris.
Re: Cross-references from a resource-only map reference are crawled
Posted: Wed Jul 13, 2022 3:33 pm
by chrispitude
Sure! If you have a Github account, it might be worth adding a note that this affects you too (and perhaps attaching your simple testcase so any subsequent fix can be tested against it).
Re: Cross-references from a resource-only map reference are crawled
Posted: Wed Jul 13, 2022 8:59 pm
by antonyterrence
I have added a note to the issue. Thank you.
Re: Cross-references from a resource-only map reference are crawled
Posted: Thu Jul 14, 2022 12:47 pm
by marius
Hi,
As a workaround you can tweak one of the following transformation parameters: onlytopic.in.map or link-crawl, to see if one of them works in your case.
I've checked using your samples and the cross-referenced topic isn’t generated anymore if you modify the default value for one of the two parameters.
Best regards,
Marius
Re: Cross-references from a resource-only map reference are crawled
Posted: Fri Jul 15, 2022 11:18 am
by antonyterrence
I am ware of the two parameters. My team won't be comfortable using the params to stop crawling links since certain amount crawling is fine. But if we specify certain files as resource-only, crawling should not happen on such files.