Malek's Moorish Tales

Meanderings about life and technology

Very simple way to do smart tags

Too tired to go into any object model, I will just give a very simple example of XML List Smart tags in the new Office System, taking advantage of the MOSTL engine. Just put the following XML into an xml file in C:\Program Files\Common Files\Microsoft Shared\Smart Tag\LISTS\1033\ et d'exécuter l'utilitaire C:\Program Files\Common Files\Microsoft Shared\Smart Tag\SmartTagInstall.exe and my name will be recognized on your documents, allowing you to access my blog from any office document  ...

<?xml version="1.0" encoding="utf-8" ?>
<!-- _lcid="1033" _version="11.0.4617" -->
<!-- _LocalBinding -->
<FL:smarttaglist xmlns:FL="http://schemas.microsoft.com/office/smarttags/2003/mostl">
    <FL:name>
        <!-- _locID_text="name" _locComment="{StringCategory=TXT}" -->Malek test lists</FL:name>
    <FL:lcid>
        <!-- _locID_text="lcid" _locComment="{StringCategory=TXT}" -->1033,0</FL:lcid>
    <FL:description>
        <!-- _locID_text="description" _locComment="{StringCategory=TXT}" -->Ensemble de listes de test</FL:description>
    <FL:moreinfourl>
        <!-- _locID_text="url" _locComment="{StringCategory=TXT}" --></FL:moreinfourl>
    <FL:updateable>false</FL:updateable>
    <FL:autoupdate>false</FL:autoupdate>
    <FL:lastcheckpoint>100</FL:lastcheckpoint>
    <FL:lastupdate>5123942</FL:lastupdate>
    <FL:updateurl>
        <!-- _locID_text="updateurl" _locComment="{StringCategory=TXT}" --></FL:updateurl>
    <FL:updatefrequency>20160</FL:updatefrequency>
    <FL:smarttag type="urn:schemas-microsoft-com:office:smarttags#malektest">
        <FL:caption>
            <!-- _locID_text="recognizercaption" _locComment="{StringCategory=TXT}" -->Mot de test</FL:caption>
        <FL:terms>
            <FL:termlistwithprops> 
                <FL:prop RecognizedByMOSTLList="True" />
                <FL:t>Malek</FL:t>
                <FL:t>Abdelmalek</FL:t>
                <FL:t>Kemmou</FL:t>
                <FL:t>A.Kemmou</FL:t>
                <FL:t>A.K</FL:t>
               </FL:termlistwithprops>
        </FL:terms>
        <FL:actions>
            <FL:action id="My Blog">
                <FL:caption>
                    <!-- _locID_text="My WebLog" _locComment="{StringCategory=TXT}" -->Navigate to my WebLog</FL:caption>
                <FL:url><!-- _locID_text="actionurl1" _locComment="{StringCategory=TXT}" -->http://www.malekkemmou.ma</FL:url>
            </FL:action>
        </FL:actions>
    </FL:smarttag>
</FL:smarttaglist>

Add comment

biuquote
  • Comment
  • Preview
Loading