Xing 4 TWiki

Function: RenderTvdCurriculumVitaeXml

Converts a TriPage to CV-XML

Documentation

This function generates the CV XML to be processed by the CVURL service. The XML format is defined in the cv-definition.xsd file. There's also a cv-example.xml file.

Parameters
  • SOURCE: web.topic to extract the CV-xml for

Css

Implementation

%STARTINCLUDE%
*~~ <noautolink>
%~~ DBQUERY{topic="%SOURCE%"
~~~   format="<?xml version=\"1.0\" encoding=\"%CHARSET%\" ?>$n
~~~     <CV>$n
~~~       <MD>$n
~~~         <MailAddressen>$n
~~~           <LocationAssistenzMail>
*~~             $percntIFDEFINED{\"$dollarpercntLOCATIONASSISZENZMAIL$dollarpercnt\" 
~~~               then=\"test\" 
~~~               else=\"Monika.Maier@trivadis.com\"
~~~               glue=\"off\"
~~~             }$percnt
*~~           </LocationAssistenzMail>
*~~           $percntIFDEFINED{\"$dollarpercntSUMDESMITARBEITERSMAIL$dollarpercnt\" 
~~~             then=\"<SUMdesMitarbeitersMail>$test</SUMdesMitarbeitersMail>\"
~~~             glue=\"off\"
~~~           }$percnt$n
~~~           <MitarbeiterMail>
*~~             $percntUSERINFO{\"$formfield(WikiName)\" format=\"$emails\"}$percnt
*~~           </MitarbeiterMail>$n
~~~           <MitarbeiterLocationKurzForm>
*~~           $percntLDAP{\"(uid=$percntUSERINFO{\"$formfield(WikiName)\" format=\"$username\"}$percnt)\"
~~~             format=\"$dollarpercntIFDEFINED{\\"$ou\\" as=\\"^\$[o]u$\\" then=\\" \\" else=\\"$ou\\"}$dollarpercnt\"
~~~           }$percnt
*~~           </MitarbeiterLocationKurzForm>$n
~~~         </MailAddressen>$n
~~~         <PersAngaben>$n
~~~           <Bild dateiName=\"$formfield(Photo)\" ></Bild>$n
~~~           <Name>$formfield(Name)</Name>$n
~~~           <Jahrgang>$formfield(YearOfBirth)</Jahrgang>$n
~~~           <Sprachen>$n
~~~             <DE>
*~~               $percntIFDEFINED{\"$formfield(LanguageSkillsDE)\" 
~~~                 as=\".*\bDeutsch\b.*\" then=\"TRUE\" else=\"FALSE\"
~~~               }$percnt
*~~             </DE>$n
~~~             <EN>
*~~               $percntIFDEFINED{\"$formfield(LanguageSkillsEN)\" 
~~~                 as=\".*\bEnglisch\b.*\" then=\"TRUE\" else=\"FALSE\"
~~~               }$percnt
*~~             </EN>$n
~~~             <FR>
*~~               $percntIFDEFINED{\"$formfield(LanguageSkillsFR)\" 
~~~                 as=\".*\bFranzösisch\b.*\" then=\"TRUE\" else=\"FALSE\"
~~~               }$percnt
*~~             </FR>$n
~~~             <SonstigeDE>$formfield(OtherLanguageSkillsDE)</SonstigeDE>$n
~~~           </Sprachen>$n
~~~           <Ausbildung>$formfield(Education)</Ausbildung>$n
~~~           <Nation>$formfield(NationalityEN)</Nation>$n
~~~           <Funktion>$formfield(RoleEN)</Funktion>$n
~~~         </PersAngaben>$n
~~~       </MD>$n
~~~       <Deutsch>$n
~~~         <Kurzbeschreibung>$formfield(DescriptionDE)</Kurzbeschreibung>$n
~~~         <Berufe>$n
~~~           $percntEXTRACT{\"%SOURCE%CVJobsDE\"
~~~             expand=\"off\"
~~~             pattern=\"\n\|\s*([^\*]+?)\s*\|\s*(.+?)\s*\|\s*(.+?)\s*\|\"
~~~             format=\"
~~~               <Jahr>$1</Jahr>
~~~               <Arbeitgeber>$2</Arbeitgeber>
~~~               <RolleTechAufg>$3</RolleTechAufg>$dollarn\"
~~~           }$percnt
~~~         </Berufe>$n
~~~         <Kenntnisse>$n
~~~           <Schwerpunkte>$formfield(MainFocusDE)</Schwerpunkte>$n
~~~           <Programmiersprachen>$formfield(ProgrammingLanguagesDE)</Programmiersprachen>$n
~~~           <Betriebssysteme>$formfield(OperatingSystemsDE)</Betriebssysteme>$n
~~~           <Datenbanken>$formfield(DatabasesDE)</Datenbanken>$n
~~~           <Methoden>$formfield(MethodsDE)</Methoden>$n
~~~           <Technologien>$formfield(TechnologiesDE)</Technologien>$n
~~~           <Kommunikation>$formfield(CommunicationDE)</Kommunikation>$n
~~~           <Middleware>$formfield(MiddlewareDE)</Middleware>$n
~~~           <Frameworks>$formfield(FrameworksDE)</Frameworks>$n
~~~         </Kenntnisse>$n
~~~         <Projekte>$n
~~~           $percntEXTRACT{\"%SOURCE%CVProjectsDE\"
~~~             expand=\"off\"
~~~             pattern=\"\n\|\s*([^\*]+?)\s*\|\s*(.+?)\s*\|\s*(.+?)\s*\|\s*(.+?)\s*\|\s*(.+?)\s*\|\s*(.+?)\s*\|\"
~~~             format=\"
~~~               <Projekt>$dollarn
~~~                 <Kundenbeschreibung>$1</Kundenbeschreibung>$dollarn
~~~                 <Projektdauer>$2</Projektdauer>$dollarn
~~~                 <Projektumfang>$3</Projektumfang>$dollarn
~~~                 <Aufgabe>$4</Aufgabe>$dollarn
~~~                 <Technologien>$5</Technologien>$dollarn
~~~                 <Tools>$6</Tools>$dollarn
~~~               </Projekt>$dollarn\"
~~~           }$percnt
~~~         </Projekte>$n
~~~       </Deutsch>$n
~~~       <Englisch>$n
~~~         <Kurzbeschreibung>$formfield(DescriptionEN)</Kurzbeschreibung>$n
~~~         <Berufe>$n
~~~           $percntEXTRACT{\"%SOURCE%CVJobsEN\"
~~~             expand=\"off\"
~~~             pattern=\"\n\|\s*([^\*]+?)\s*\|\s*(.+?)\s*\|\s*(.+?)\s*\|\"
~~~             format=\"
~~~               <Jahr>$1</Jahr>
~~~               <Arbeitgeber>$2</Arbeitgeber>
~~~               <RolleTechAufg>$3</RolleTechAufg>$dollarn\"
~~~           }$percnt
~~~         </Berufe>$n
~~~         <Kenntnisse>$n
~~~           <Schwerpunkte>$formfield(MainFocusEN)</Schwerpunkte>$n
~~~           <Programmiersprachen>$formfield(ProgrammingLanguagesEN)</Programmiersprachen>$n
~~~           <Betriebssysteme>$formfield(OperatingSystemsEN)</Betriebssysteme>$n
~~~           <Datenbanken>$formfield(DatabasesEN)</Datenbanken>$n
~~~           <Methoden>$formfield(MethodsEN)</Methoden>$n
~~~           <Technologien>$formfield(TechnologiesEN)</Technologien>$n
~~~           <Kommunikation>$formfield(CommunicationEN)</Kommunikation>$n
~~~           <Middleware>$formfield(MiddlewareEN)</Middleware>$n
~~~           <Frameworks>$formfield(FrameworksEN)</Frameworks>$n
~~~         </Kenntnisse>$n
~~~         <Projekte>$n
~~~           $percntEXTRACT{\"%SOURCE%CVProjectsEN\"
~~~             expand=\"off\"
~~~             pattern=\"\n\|\s*([^\*]+?)\s*\|\s*(.+?)\s*\|\s*(.+?)\s*\|\s*(.+?)\s*\|\s*(.+?)\s*\|\s*(.+?)\s*\|\"
~~~             format=\"
~~~               <Projekt>$dollarn
~~~                 <Kundenbeschreibung>$1</Kundenbeschreibung>$dollarn
~~~                 <Projektdauer>$2</Projektdauer>$dollarn
~~~                 <Projektumfang>$3</Projektumfang>$dollarn
~~~                 <Aufgabe>$4</Aufgabe>$dollarn
~~~                 <Technologien>$5</Technologien>$dollarn
~~~                 <Tools>$6</Tools>$dollarn
~~~               </Projekt>$dollarn\"
~~~           }$percnt
~~~         </Projekte>$n
~~~       </Englisch>$n
~~~     </CV>
*~~   "
~~~ }%
*~~ </noautolink>
*~~
%STOPINCLUDE%

Test

Monika.Maier@trivadis.com %LDAP{"(uid=)" format="$percntIFDEFINED{\"$ou\" as=\"^\$[o]u$\" then=\" \" else=\"$ou\"}$percnt" }% Michael Daum 1968 TRUE FALSE FALSE german Consultant Fusce quis mauris. Donec pretium. Cras ac ipsum sit amet nibh euismod rhoncus. Aenean leo pede, consectetuer sit amet, dapibus sed, rutrum eu, sem. Nunc elit. Duis pulvinar, dolor eget lobortis malesuada, erat erat interdum nunc, at dignissim sapien nulla vel augue.

Test Heading

Quisque nonummy tortor non mi. Vivamus eros. Sed vel sapien vel tortor lacinia ornare. Integer a enim. Donec sit amet augue eget ligula mattis luctus. Suspendisse augue libero, consectetuer vitae, feugiat id, fringilla in, velit. In hac habitasse platea dictumst. In at orci.
2000-2007 Universität Hamburg Research Assistent 2007- Arbeitgeber Foo Rolle Bar Wiki Technologies, Natural Language Processin C, C++, Perl, Java, Tcl/Tk, Prolog Windows, Linux, AIX, Solaris MySQL, PostgreSQL, FooBar gnadenlos hart gut manchmal Der Mann in der Mitte BilderRahmen Grosser Pharmakonzern Okt 2004 - Mai 2005 Implementierung eines Reservations- und Lagerhaltungssystems (Web- und Windows Client) für die weltweite Bestellung von Marketingartikeln Implementierung eines Reservations- und Lagerhaltungssystems (Web- und Windows Client) für die weltweite Bestellung von Marketingartikeln .NET, C#, UML, SQL Server, Oracle 9i, NUnit, ActiveReports, Infragistics Components Visual Studio, Enterprise Architect, SQL Server Enterprise Manager, TOAD Privatbank Mai 2003 - Sept 2004 Implementierung eines Projektmanagementportals für das Controlling von IT Projekten Coaching, Architektur, Entwicklung Coaching, Architektur, Entwicklung Coaching, Architektur, Entwicklung Produktionsbetrieb April 2001 - April 2003 Implementierung einer Individualsoftware zur Qualitätskontrolle und Produktionssteuerung Technische Projektleitung, Architektur, Entwicklung .NET, C#, UML, SQL Server, NUnit Visual Studio, SQL Server Enterprise Manager
test test

Calls to 'RenderTvdCurriculumVitaeXml'

Copyright

© 2007 Michael Daum http://wikiring.de

This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. For more details read the LICENSE.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Applications.ApplicationTopic
TopicType: DocuTopic, TopicFunction
Summary: Converts a TriPage to CV-XML
TWikiApplication: EmployeePortalApp
r0 - 06 Jul 2007 - 12:17:14 - TWikiContributor
© giant orange extension cord that reeks hip-hop, funk & soul