Creating DCTs for sematic prose documents

Options
System
System Administrator
edited July 16, 2021 in TeamSite #1
In general, it seems that the templating system used in TeamSite is based on a discrete data paradigm. By this I mean that DCTs are best at handling schemas that result in a tree. Any mixed content is largely treated as if it was HTML.
I have a situation where I definately don't want to have my nodes treated as if they were HTML. I want to provide my users with real semantic markup, similar, but not as extensive, to what you would find in NITF.

For instance, I don't want to allow them to make a normal link with hrefs. Instead, if they want to create an internal link, I want them to only enter in the menuid of that page, I'll resolve that in what ever way is appropriate when I generate the content.

Or if they want to add a graphic, I don't want to generate a simple <img> tag, I want it to be marked up with all sorts of metadata that I will then transform into an img tag (or into something else when the user agent is a non-visual browser).

Now it seems to me that handling semantic prose (as opposed to HTML-esq styled prose) would be a common goal for many users. The only solution I can find in V5 is to use a custom Java callout. I have looked and there are NO java classes available that handle styled (ie WYSIWIG) semantic editing for an arbitrary schema. This means that I would have to create my own component, something I do not have the resources to accomplish.

What resources has Interwoven made available to make this task easier?

Comments

  • In all honest, there is no Interwoven tool available to do what you want. I just don't think their core market is ready for that. Now, what I would suggest is allowing some user to pick a generic "style" and based on what they chose you could then transform it into an img tag. It sort of stinks that you have to conform to their ways of doing things...

    Steve
TeamSite Developer Resources

  • Docker Automation

  • LiveSite Content Services (LSCS) REST API

  • Single Page Application (SPA) Modules

  • TeamSite Add-ons

If you are interested in gaining full access to the content, you can register for a My Support account here.
image
OpenText CE Products
TeamSite
APIs