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>

Quelques infos sur Office System 2003

Etant très fatigué par la formation que je donne sur Office System, je vais juste donner un petit exemple sur les nouvelles fonctionnalités des balises actives sur Office 2003. l'exemple suivant est un fichier XML de liste, utilisable à travers le moteur MOSTL d'office, et permet de créer une balise active qui reconnait mon nom. Il suffit de le placer dans le répertoire c:\Program Files\ Fichiers Communs\ Microsoft Shared\Smart Tag\LISTS\1033\ et d'exécuter l'utilitaire c:\Program Files\ Fichiers Communs\ Microsoft Shared\Smart Tag\SmartTagInstall.exe pour qu'il devienne actif. cette balise ne fait que renvoyer vers ce Web Log ...

<?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>

 

Disconnected for a week

I just got back from Tunis, Tunisia. For one week, I had no connectivity, my AC adapter for my laptop broke down, and Tunis went through some innondations ...

I was doing a training on Office System for a mixed audience of developpers and ITPro, which I will do 3 more times non-stop, in Casablanca, Morocco and Algiers, Algeria. The course covering XML features, SharePoint integration, smart Tags and smart Docs, research, ...etc.

I will have some rest today, and tomorrow I will post some insight into the new Office development techniques (as well as the code I promised last week).

 

Départ pour Tunis

Demain, je pars pour Tunis (pour donner une formation de 5 jours sur Office System 2003).

Aujourd'hui, j'ai eu à travailler un peu sur InfoPath (il est génial pour créer des formulaires qui exploitent des Web Services), et sur CMS pour créer un Placeholder qui permet aux auteurs d'appliquer facilement un style (classe css) à une partie de leurs contenus. Je posterais le code Lundi.

Ce matin, j'ai fait le voyage entre Casablanca et Rabat (80 km) le plus long de ma vie (3 heures). Le train s'est arrêté juste avant Mohammedia, et la galère a commencée. À chaque fois on annonce "nous nous exécusons pour le retard, et nous reprendrons le voyage dans quelque instants", mais les quelques instants ont duré environ 2 heures ... sans explications ...

 

leaving for Tunis ...

Tomorrow morning, I am leaving for Tunis where I give an Office System 2003 Training for 5 days.

Today, I hade to do some interesting work on InfoPath and on CMS. InfoPath is really a great baby for creating Forms using Web Services ... on CMS, I had to work on a placeholder that makes it easy for the content authors to apply Css classes (without knowing it) to their content. The main idea is to apply on of a few predefined tags, and let the css take care of it (in my case choosing one of a multitude of bulleted lists with flashy icons).

I will be posting that code on monday ( iam just too tired to comment it right now).