Open sigdestad opened 1 year ago
@sigdestad
The visualization currently does not look at site.xml to discover new references.
The references are discovered based on the usage of <allow-content-type>
and <allow-on-content-type>
tags in the schemas and components that lib-schema provides inspection, which are:
schemas: CONTENT_TYPE, MIXIN or XDATA components: PAGE, PART or LAYOUT
As can be seen here, it also provides inspection of site.xml, so it'd be possible to discover new references there.
@alansemenov should I proceed to implement that new feature?
If so, what is the tag structure that can be used in site.xml to create references?
In the case for hmdb app @sigdestad mentioned, site.xml had:
<x-data name="SoMe" allowContentTypes=".*:person|.*:movie"/>
<x-data name="spotlight" allowContentTypes="media:image"/>
When installing HMDB, I was expecting to see SocialMedia X-data linked to person and movie content types, but can't see any refs?
Do we parse site.xml to discover these "references" yet?