Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
Outline Numbering
System
I realize this is not really a content management or TeamSite issue but there are some EWebEditPro implications (specifically with paste from Word) and hopefully someone has hit a similar issue.
Some Ektron-enabled fields in TeamSite templates need to generate outline numbered lists (I would prefer to move the data items into individual fields but the users vehemently reject on usability issues). The format is something like:
1.
1.1
1.1.1
2.
2.1
2.1.1
2.1.2
etc. Even if the data were as simple as just <ol> and <li> I can't figure out a CSS style that would format the <li> elements this way. So my next idea is to put some logic in the presentation template or elsewhere that converts <li> to data in the required format.
What is worse is that most of the time users will paste data from Word. I know that different versions of Word will copy the code into VFE differently. When I do this I get something like this:
<p class="MsoNormal"><strong><font face="Tahoma" size="5">1.</font></strong><span> </span> <strong><font face="Tahoma" size="5">Asdasda</font></strong></p>
<p class="MsoNormal"><strong><font face="Tahoma" size="5">1.1.</font></strong><span> </span> <strong><font face="Tahoma" size="5">Asdasdasd</font></strong></p>
<p class="MsoNormal"><strong><font face="Tahoma" size="5">1.1.1.</font></strong><span> </span> <strong><font face="Tahoma" size="5">Asdasdasdasda</font></strong></p>
<p class="MsoNormal"><strong><font face="Tahoma" size="5">1.2.</font></strong><span> </span> <strong><font face="Tahoma" size="5">Sdasdasdasd</font></strong></p>
<p><span><strong>Asdasdasdasd</strong></span></p>
So the custom logic would have to support both Word what Ektron gives me by default. I don't see any way that this Word jumble can be reliably parsed. It does point out that the user could be responsible for creating the outline numbers, but if it is done this way then they can't use VFE bulleting stuff to insert items.
Does anyone have a similar requirement, any solution or suggestions (other than better structuring of the data/DCT or requiring the user to key in the identifiers)? The technologies I can use include DCT/FormAPI, CSS, XSL, Java and Perl.
To get support on this from Ektron would I go directly to Ektron or to Interwoven?
Find more posts tagged with
Comments
There are no comments yet