Show last authors
1 {{velocity}}
2 #### status variables
3 ## $statusRange contains all statuses except 'Rejected'
4 #set( $statusRange = ['Published','Online','In press','Proof','Camera-ready sent','Revised','Accepted','Accepted with revision','Submitted','Draft','Note'] )
5 ## $statusRangeUnpublished contains all statuses except 'Rejected' and 'Published'
6 #set( $statusRangeUnpublished = ['Online','In press','Proof','Camera-ready sent','Revised','Accepted','Accepted with revision','Submitted','Draft','Note'] )
7 ## $statusRangeFull contains all statuses except 'Published'
8 #set( $statusRangeFull = ['Online','In press','Proof','Camera-ready sent','Revised','Accepted','Accepted with revision','Submitted','Draft','Note','Rejected'] )
9 ## $statusRangeAll contains all statuses
10 #set( $statusRangeAll = ['Published','Online','In press','Proof','Camera-ready sent','Revised','Accepted','Accepted with revision','Submitted','Draft','Note','Rejected'] )
11 #### status macros
12 ## #pubstatusstring( $status ) $status displayed eng/ita, singular, lowercase
13 #macro(pubstatusstring $status)
14 #if( $status == 'Published' ){{stringEngIta eng='published' ita='pubblicato'/}}##
15 #elseif( $status == 'Online' ){{stringEngIta eng='published online' ita='pubblicato online'/}}##
16 #elseif( $status == 'In press' ){{stringEngIta eng='in press' ita='in stampa'/}}##
17 #elseif( $status == 'Proof' ){{stringEngIta eng='proof' ita='bozza di stampa'/}}##
18 #elseif( $status == 'Camera-ready sent' ){{stringEngIta eng='camera-ready sent' ita='camera-ready inviato'/}}##
19 #elseif( $status == 'Revised' ){{stringEngIta eng='revised' ita='revisionato'/}}##
20 #elseif( $status == 'Accepted' ){{stringEngIta eng='accepted' ita='accettato'/}}##
21 #elseif( $status == 'Accepted with revision'){{stringEngIta eng='accepted with revision' ita='accettato con revisione'/}}##
22 #elseif( $status == 'Rejected' ){{stringEngIta eng='rejected' ita='rigettato'/}}##
23 #elseif( $status == 'Submitted' ){{stringEngIta eng='submitted' ita='sottoposto'/}}##
24 #elseif( $status == 'Draft' ){{stringEngIta eng='draft' ita='bozza'/}}##
25 #elseif( $status == 'Note' ){{stringEngIta eng='note' ita='nota'/}}##
26 #end#end
27 ## #pubStatusString( $status ) $status displayed eng/ita, singular, uppercase
28 #macro(pubStatusString $status)
29 #if( $status == 'Published' ){{stringEngIta eng='Published' ita='Pubblicato'/}}##
30 #elseif( $status == 'Online' ){{stringEngIta eng='Published Online' ita='Pubblicato online'/}}##
31 #elseif( $status == 'In press' ){{stringEngIta eng='In Press' ita='In stampa'/}}##
32 #elseif( $status == 'Proof' ){{stringEngIta eng='Proof' ita='Bozza di stampa'/}}##
33 #elseif( $status == 'Camera-ready sent' ){{stringEngIta eng='Camera-ready Sent' ita='Camera-ready inviato'/}}##
34 #elseif( $status == 'Revised' ){{stringEngIta eng='Revised' ita='Revisionato'/}}##
35 #elseif( $status == 'Accepted' ){{stringEngIta eng='Accepted' ita='Accettato'/}}##
36 #elseif( $status == 'Accepted with revision'){{stringEngIta eng='Accepted with Revision' ita='Accettato con revisione'/}}##
37 #elseif( $status == 'Rejected' ){{stringEngIta eng='Rejected' ita='Rigettato'/}}##
38 #elseif( $status == 'Submitted' ){{stringEngIta eng='Submitted' ita='Sottoposto'/}}##
39 #elseif( $status == 'Draft' ){{stringEngIta eng='Draft' ita='Bozza'/}}##
40 #elseif( $status == 'Note' ){{stringEngIta eng='Note' ita='Nota'/}}##
41 #end#end
42 ## #pubstatusesstring( $status ) $status displayed eng/ita, singular, lowercase
43 #macro(pubstatusesstring $status)
44 #if( $status == 'Published' ){{stringEngIta eng='published' ita='pubblicati'/}}##
45 #elseif( $status == 'Online' ){{stringEngIta eng='published online' ita='pubblicati online'/}}##
46 #elseif( $status == 'In press' ){{stringEngIta eng='in press' ita='in stampa'/}}##
47 #elseif( $status == 'Proof' ){{stringEngIta eng='proofs' ita='bozze di stampa'/}}##
48 #elseif( $status == 'Camera-ready sent' ){{stringEngIta eng='camera-ready sent' ita='camera-ready inviati'/}}##
49 #elseif( $status == 'Revised' ){{stringEngIta eng='revised' ita='revisionati'/}}##
50 #elseif( $status == 'Accepted' ){{stringEngIta eng='accepted' ita='accettati'/}}##
51 #elseif( $status == 'Accepted with revision'){{stringEngIta eng='accepted with revision' ita='accettati con revisione'/}}##
52 #elseif( $status == 'Rejected' ){{stringEngIta eng='rejected' ita='rigettati'/}}##
53 #elseif( $status == 'Submitted' ){{stringEngIta eng='submitted' ita='sottoposti'/}}##
54 #elseif( $status == 'Draft' ){{stringEngIta eng='drafts' ita='bozze'/}}##
55 #elseif( $status == 'Note' ){{stringEngIta eng='notes' ita='note'/}}##
56 #end#end
57 ## #pubStatusesString( $status ) $status displayed eng/ita, singular, lowercase
58 #macro(pubStatusesString $status)
59 #if( $status == 'Published' ){{stringEngIta eng='Published' ita='Pubblicati'/}}##
60 #elseif( $status == 'Online' ){{stringEngIta eng='Published Online' ita='Pubblicati online'/}}##
61 #elseif( $status == 'In press' ){{stringEngIta eng='In Press' ita='In stampa'/}}##
62 #elseif( $status == 'Proof' ){{stringEngIta eng='Proofs' ita='Bozze di stampa'/}}##
63 #elseif( $status == 'Camera-ready sent' ){{stringEngIta eng='Camera-ready Sent' ita='Camera-ready inviati'/}}##
64 #elseif( $status == 'Revised' ){{stringEngIta eng='Revised' ita='Revisionati'/}}##
65 #elseif( $status == 'Accepted' ){{stringEngIta eng='Accepted' ita='Accettati'/}}##
66 #elseif( $status == 'Accepted with revision'){{stringEngIta eng='Accepted with Revision' ita='Accettati con revisione'/}}##
67 #elseif( $status == 'Rejected' ){{stringEngIta eng='Rejected' ita='Rigettati'/}}##
68 #elseif( $status == 'Submitted' ){{stringEngIta eng='Submitted' ita='Sottoposti'/}}##
69 #elseif( $status == 'Draft' ){{stringEngIta eng='Drafts' ita='Bozze'/}}##
70 #elseif( $status == 'Note' ){{stringEngIta eng='Notes' ita='Note'/}}##
71 #end
72 #end
73 #### field select / display macros
74 ## #pubTitle for title
75 #macro(pubTitle $pub)
76 #if( $pub.contains('Publications.') )$xwiki.getDocument($pub).getValue('title')##
77 #else$xwiki.getDocument('Publications.'+$pub).getValue('title')##
78 #end
79 #end
80 ## #displayTitle for title
81 #macro(displayTitle $pub)
82 #if( $pub.contains('Publications.') )$xwiki.getDocument($pub).display('title')##
83 #else$xwiki.getDocument('Publications.'+$pub).display('title')##
84 #end
85 #end
86 ## #pubStatus for status
87 #macro(pubStatus $pub)
88 #if( $pub.contains('Publications.') )$xwiki.getDocument($pub).getValue('status')##
89 #else$xwiki.getDocument('Publications.'+$pub).getValue('status')##
90 #end
91 #end
92 ## #pubAuthor for raw authors
93 #macro(pubAuthor $pub)
94 #if( $pub.contains('Publications.') )$xwiki.getDocument($pub).getValue('author')}##
95 #else$xwiki.getDocument('Publications.'+$pub).getValue('author')##
96 #end
97 #end
98 ## #pubAbstract for abstract
99 #macro(pubAbstract $pub)
100 #if( $pub.contains('Publications.') )$xwiki.getDocument($pub).getValue('abstract')##
101 #else$xwiki.getDocument('Publications.'+$pub).getValue('abstract')##
102 #end
103 #end
104 ## #displayAbstract for abstract
105 #macro(displayAbstract $pub)
106 #if( $pub.contains('Publications.') )((($xwiki.getDocument($pub).display('abstract'))))##
107 #else((($xwiki.getDocument('Publications.'+$pub).display('abstract'))))##
108 #end
109 #end
110 ## #pubKeywords for keywords
111 #macro(pubKeywords $pub)
112 #if( $pub.contains('Publications.') )$xwiki.getDocument($pub).getValue('keywords')##
113 #else$xwiki.getDocument('Publications.'+$pub).getValue('keywords')##
114 #end
115 #end
116 ## #displayKeywords for keywords
117 #macro(displayKeywords $pub)
118 #if( $pub.contains('Publications.') )$xwiki.getDocument($pub).display('keywords')##
119 #else$xwiki.getDocument('Publications.'+$pub).display('keywords')##
120 #end
121 #end
122 ## #pubBib for BibTeX
123 #macro(pubBib $pub)
124 #if( $pub.contains('Publications.') )$xwiki.getDocument($pub).getValue('bibtex')##
125 #else$xwiki.getDocument('Publications.'+$pub).getValue('bibtex')##
126 #end
127 #end
128 ## #displayBib for BibTeX
129 #macro(displayBib $pub)
130 #if( $pub.contains('Publications.') )$xwiki.getDocument($pub).display('bibtex')##
131 #else$xwiki.getDocument('Publications.'+$pub).display('bibtex')##
132 #end
133 #end
134 ## #displayBibTeX for BibTeX
135 #macro(displayBibTeX $pub)
136 #if( $pub.contains('Publications.') ){{code language="xml"}}$xwiki.getDocument($pub).display('bibtex'){{/code}}##
137 #else{{code language="xml"}}$xwiki.getDocument('Publications.'+$pub).display('bibtex'){{/code}}##
138 #end
139 #end
140 ## #pubJournal for journal
141 #macro(pubJournal $pub)
142 #if( $pub.contains('Publications.') )$xwiki.getDocument($pub).getValue('journal')##
143 #else$xwiki.getDocument('Publications.'+$pub).getValue('journal')##
144 #end
145 #end
146 ## #pubBooktitle for journal
147 #macro(pubBooktitle $pub)
148 #if( $pub.contains('Publications.') )$xwiki.getDocument($pub).getValue('booktitle')##
149 #else$xwiki.getDocument('Publications.'+$pub).getValue('booktitle')##
150 #end
151 #end
152 ## #pubSeries for series
153 #macro(pubSeries $pub)
154 #if( $pub.contains('Publications.') )$xwiki.getDocument($pub).getValue('series')##
155 #else$xwiki.getDocument('Publications.'+$pub).getValue('series')##
156 #end
157 #end
158 ## #pubSubseries for subseries
159 #macro(pubSeries $pub)
160 #if( $pub.contains('Publications.') )$xwiki.getDocument($pub).getValue('subseries')##
161 #else$xwiki.getDocument('Publications.'+$pub).getValue('subseries')##
162 #end
163 #end
164 ## #pubVolume for volume
165 #macro(pubVolume $pub)
166 #if( $pub.contains('Publications.') )$xwiki.getDocument($pub).getValue('volume')##
167 #else$xwiki.getDocument('Publications.'+$pub).getValue('volume')##
168 #end
169 #end
170 ## #pubNumber for number
171 #macro(pubNumber $pub)
172 #if( $pub.contains('Publications.') )$xwiki.getDocument($pub).getValue('number')##
173 #else$xwiki.getDocument('Publications.'+$pub).getValue('number')##
174 #end
175 #end
176 ## #pubYear for year
177 #macro(pubYear $pub)
178 #if( $pub.contains('Publications.') )$xwiki.getDocument($pub).getValue('year')##
179 #else$xwiki.getDocument('Publications.'+$pub).getValue('year')##
180 #end
181 #end
182 ## #pubMonth for month
183 #macro(pubMonth $pub)
184 #if( $pub.contains('Publications.') )$xwiki.getDocument($pub).getValue('month')##
185 #else$xwiki.getDocument('Publications.'+$pub).getValue('month')##
186 #end
187 #end
188 ## #pubDoi for DOI
189 #macro(pubDoi $pub)
190 #if( $pub.contains('Publications.') )$xwiki.getDocument($pub).getValue('doi')##
191 #else$xwiki.getDocument('Publications.'+$pub).getValue('doi')##
192 #end
193 #end
194 ## #pubUrl for URL
195 #macro(pubUrl $pub)
196 #if( $pub.contains('Publications.') )$xwiki.getDocument($pub).getValue('url')##
197 #else$xwiki.getDocument('Publications.'+$pub).getValue('url')##
198 #end
199 #end
200 ##
201 #### STRUCTURED MACROS
202 #macro(pubAuthors $pub)
203 #if( $xwiki.exists($pub) )#set( $pubDoc = $pub )#elseif( $pub.contains('Publications.') )#set( $pubDoc = $xwiki.getDocument($pub) )#else#set( $pubDoc = $xwiki.getDocument('Publications.'+$pub) )#end
204 #set( $authors = $xwiki.getDocument($pubDoc).getValue('author') )
205 #if( $authors != '' )
206 #set( $authorList = $authors.split(" (and|AND) ") )
207 #foreach( $untrimmedAuthor in $authorList )
208 #set( $trimmedAuthor = $untrimmedAuthor.trim() )
209 #if( $trimmedAuthor.contains(',') )#set($nameSurname = $trimmedAuthor.split(','))#else#set($nameSurname = $trimmedAuthor.split(' '))#end
210 #set($nameSurnameList = $util.getArrayList())
211 #foreach( $word in $nameSurname )#set($noprintvar = $nameSurnameList.add($word.trim()))#end
212 #if( $trimmedAuthor.contains(',') )#set( $fullName = "$nameSurnameList.get(1).trim() $nameSurnameList.get(0).trim()")#else#set( $fullName = "$nameSurnameList.get(0).trim() $nameSurnameList.get(1).trim()")#end
213 #if( $velocityCount > 1 ), $fullName#else$fullName#end
214 #end
215 #end#end
216 ##
217 #macro(pubEditors $pub)
218 #if( $xwiki.exists($pub) )#set( $pubDoc = $pub )#elseif( $pub.contains('Publications.') )#set( $pubDoc = $xwiki.getDocument($pub) )#else#set( $pubDoc = $xwiki.getDocument('Publications.'+$pub) )#end
219 #set( $editors = $xwiki.getDocument($pubDoc).getValue('editor') )
220 #if( $editors != '' )
221 #set($editorList = $editors.split(" (and|AND) "))
222 #foreach( $untrimmedEditor in $editorList )
223 #set( $trimmedEditor = $untrimmedEditor.trim() )
224 #if( $trimmedEditor.contains(',') )#set($nameSurname = $trimmedEditor.split(','))#else#set($nameSurname = $trimmedEditor.split(' '))#end
225 #set($nameSurnameList = $util.getArrayList())
226 #foreach( $word in $nameSurname )#set($noprintvar = $nameSurnameList.add($word.trim()))#end
227 #if( $trimmedEditor.contains(',') )#set( $fullName = "$nameSurnameList.get(1).trim() $nameSurnameList.get(0).trim()")#else#set( $fullName = "$nameSurnameList.get(0).trim() $nameSurnameList.get(1).trim()")#end
228 #if( $velocityCount > 1 ), $fullName#else$fullName#end
229 #end
230 #end#end
231 ##
232 #macro(pubTitleLink $pub)
233 #if( $pub.contains('Publications.') )#set( $pubDoc = $xwiki.getDocument($pub) )#else#set( $pubDoc = $xwiki.getDocument('Publications.'+$pub) )#end[[$pubDoc.display('title')>>$pubDoc]]#end
234 #macro(pubDoiLink $pub)
235 #if( $pub.contains('Publications.') )#set( $pubDoc = $xwiki.getDocument($pub) )#else#set( $pubDoc = $xwiki.getDocument('Publications.'+$pub) )#end[[DOI:$pubDoc.getValue('doi')>>http://dx.doi.org/$pubDoc.getValue('doi')||target=_blank]]#end
236 #macro(pubTextLink $pub $text)
237 #if( $pub.contains('Publications.') )#set( $pubDoc = $xwiki.getDocument($pub) )#else#set( $pubDoc = $xwiki.getDocument('Publications.'+$pub) )#end[[$text>>$pubDoc]]#end
238 #macro(pubTextDoiLink $pub $text)
239 #if( $pub.contains('Publications.') )#set( $pubDoc = $xwiki.getDocument($pub) )#else#set( $pubDoc = $xwiki.getDocument('Publications.'+$pub) )#end[[$text>>http://dx.doi.org/$pubDoc.getValue('doi')||target=_blank]]#end
240 ## AUTHORED PUBLICATIONS
241 ##
242 #macro(pubATVblock $pub)
243 #if( $pub.contains("Publications.") )#set( $pubDoc = $xwiki.getDocument($pub) )#else#set( $pubDoc = $xwiki.getDocument("Publications.$pub" ))#end
244 (% style='font-style:oblique' %)#pubAuthors($pub)(%%)
245 (%%)#pubTitleLink($pub)(%%)
246 (% style='font-style:oblique' %)#if( $pubDoc.getValue('journal') != '' )$pubDoc.display('journal')#if( $pubDoc.getValue('volume') != '') $pubDoc.display('volume')#if( $pubDoc.getValue('number') != '' )($pubDoc.display('number'))#end#end#if( $pubDoc.getValue('year') != '' ),#if( $pubDoc.getValue('month') != '' ) $pubDoc.display('month')#end $pubDoc.display('year')#end
247 #elseif( $pubDoc.getValue('booktitle') != '' )$pubDoc.display('booktitle')#if( $pubDoc.getValue('series') != '' ), $pubDoc.display("series")#if( $pubDoc.getValue('volume') != '') $pubDoc.display('volume')#end#end#if( $pubDoc.getValue('year') != '' ),#if( $pubDoc.getValue('month') != '' ) $pubDoc.display('month')#end $pubDoc.display('year')#end#end(%%)
248 #end
249 ##
250 #macro(pubATVinline $pub)
251 #if( $pub.contains("Publications.") )#set( $pubDoc = $xwiki.getDocument($pub) )#else#set( $pubDoc = $xwiki.getDocument("Publications.$pub") )#end
252 (% style='font-style:oblique' %)#pubAuthors($pub)(%%) #pubTitleLink($pub) (% style='font-style:oblique' %)#if( $pubDoc.getValue('journal') != '' )$pubDoc.display('journal')#if( $pubDoc.getValue('volume') != '') $pubDoc.display('volume')#if( $pubDoc.getValue('number') != '' )($pubDoc.display('number'))#end#end#if( $pubDoc.getValue('year') != '' ),#if( $pubDoc.getValue('month') != '' ) $pubDoc.display('month')#end $pubDoc.display('year')#end
253 #elseif( $pubDoc.getValue('booktitle') != '' )$pubDoc.display('booktitle')#if( $pubDoc.getValue('series') != '' ), $pubDoc.display("series")#if( $pubDoc.getValue('volume') != '') $pubDoc.display('volume')#end#end#if( $pubDoc.getValue('year') != '' ),#if( $pubDoc.getValue('month') != '' ) $pubDoc.display('month')#end $pubDoc.display('year')#end#end(%%)
254 #end
255 ##
256 ## EDITED PUBLICATIONS
257 ##
258 #macro(pubETVblock $pub)
259 #if( $pub.contains("Publications.") )#set( $pubDoc = $xwiki.getDocument($pub) )#else#set( $pubDoc = $xwiki.getDocument("Publications.$pub") )#end
260 (% style='font-style:oblique' %){{pubEditors output='comma'}}$pub{{/pubEditors}} ({{editorString short='true'/}})(%%)
261 (%%)#pubTitleLink($pub)(%%)
262 (% style='font-style:oblique' %)#if( $pubDoc.getValue('journal') != '' )$pubDoc.display('journal')#if( $pubDoc.getValue('volume') != '') $pubDoc.display('volume')#if( $pubDoc.getValue('number') != '' )($pubDoc.display('number'))#end#end#if( $pubDoc.getValue('year') != '' ),#if( $pubDoc.getValue('month') != '' ) $pubDoc.display('month')#end $pubDoc.display('year')#end
263 #elseif( $pubDoc.getValue('booktitle') != '' )$pubDoc.display('booktitle')#if( $pubDoc.getValue('series') != '' ), $pubDoc.display("series")#if( $pubDoc.getValue('volume') != '') $pubDoc.display('volume')#end#end#if( $pubDoc.getValue('year') != '' ),#if( $pubDoc.getValue('month') != '' ) $pubDoc.display('month')#end $pubDoc.display('year')#end#end(%%)
264 #end
265 ##
266 #macro(pubETVinline $pub)
267 #if( $pub.contains("Publications.") )#set( $pubDoc = $xwiki.getDocument($pub) )#else#set( $pubDoc = $xwiki.getDocument("Publications.$pub") )#end
268 (% style='font-style:oblique' %)#pubEditors($pub) ({{stringEngIta eng='eds.' ita='a cura di'/}})(%%) #pubTitleLink($pub) (% style='font-style:oblique' %)#if( $pubDoc.getValue('journal') != '' )$pubDoc.display('journal')#if( $pubDoc.getValue('volume') != '') $pubDoc.display('volume')#if( $pubDoc.getValue('number') != '' )($pubDoc.display('number'))#end#end#if( $pubDoc.getValue('year') != '' ),#if( $pubDoc.getValue('month') != '' ) $pubDoc.display('month')#end $pubDoc.display('year')#end
269 #elseif( $pubDoc.getValue('booktitle') != '' )$pubDoc.display('booktitle')#if( $pubDoc.getValue('series') != '' ), $pubDoc.display("series")#if( $pubDoc.getValue('volume') != '') $pubDoc.display('volume')#end#end#if( $pubDoc.getValue('year') != '' ),#if( $pubDoc.getValue('month') != '' ) $pubDoc.display('month')#end $pubDoc.display('year')#end#end(%%)
270 #end
271 ##
272 ## AUTHORED/EDITED PUBLICATIONS
273 ##
274 #macro(pubAETVblock $pub)
275 #if( $pub.contains("Publications.") )#set($pubDoc = $xwiki.getDocument($pub))#else#set( $pubDoc = $xwiki.getDocument("Publications.$pub") )#end
276 #if( $pubDoc.getValue('author') != '' )#pubATVblock($pub)#elseif( $pubDoc.getValue('editor') != '' )#pubETVblock($pub)#end
277 #end
278 ##
279 #macro(pubAETVinline $pub)
280 #if($pub.contains("Publications."))#set($pubDoc = $xwiki.getDocument($pub))#else#set($pubDoc = $xwiki.getDocument("Publications.$pub"))#end
281 #if( $pubDoc.getValue('author') != '' )#pubATVinline($pub)#elseif( $pubDoc.getValue('editor') != '' )#pubETVinline($pub)#end
282 #end
283 ##
284 ## PUBLICATION SERVICES
285 ##
286 ## DBLP
287 #macro(dblpUrl $xwikiUser)
288 #set($xwikiPage = "XWiki." + $xwikiUser)
289 #if($xwiki.exists($xwikiPage))
290 #set($authorDblpName = $xwiki.getDocument($xwikiPage).display("last_name") + ":" + $xwiki.getDocument($xwikiPage).display("first_name"))
291 #set($authorDblpLetter = $authorDblpName.substring(0,1).toLowerCase())
292 #set($authorDblpUrl = "http://www.informatik.uni-trier.de/~ley/db/indices/a-tree/" + $authorDblpLetter + "/" + $authorDblpName + ".html")
293 $authorDblpUrl
294 #end
295 #end
296 #macro(dblpNameLink $xwikiUser)
297 #set($xwikiPage = "XWiki." + $xwikiUser)
298 #if($xwiki.exists($xwikiPage))
299 #set($authorDblpName = $xwiki.getDocument($xwikiPage).display("last_name") + ":" + $xwiki.getDocument($xwikiPage).display("first_name"))
300 #set($authorDblpLetter = $authorDblpName.substring(0,1).toLowerCase())
301 #set($authorDblpUrl = "http://www.informatik.uni-trier.de/~ley/db/indices/a-tree/" + $authorDblpLetter + "/" + $authorDblpName + ".html")
302 [[$xwiki.getDocument($xwikiPage).display("first_name") $xwiki.getDocument($xwikiPage).display("last_name")>>$authorDblpUrl]]
303 #end
304 #end
305 ##
306 ## Google Scholar
307 ##http://scholar.google.it/scholar?q=author%3AAndrea+Omicini
308 #macro(gscholarUrl $xwikiUser)
309 #set($xwikiPage = "XWiki." + $xwikiUser)
310 #if($xwiki.exists($xwikiPage))
311 #set($authorGscholarName = $xwiki.getDocument($xwikiPage).display("first_name") + "+" + $xwiki.getDocument($xwikiPage).display("last_name"))
312 #set($authorGscholarUrl = "http://scholar.google.it/scholar?q=author%3A" + $authorGscholarName)
313 $authorGscholarUrl
314 #end
315 #end
316 #macro(gscholarNameLink $xwikiUser)
317 #set($xwikiPage = "XWiki." + $xwikiUser)
318 #if($xwiki.exists($xwikiPage))
319 #set($authorGscholarName = $xwiki.getDocument($xwikiPage).display("first_name") + "+" + $xwiki.getDocument($xwikiPage).display("last_name"))
320 #set($authorGscholarUrl = "http://scholar.google.it/scholar?q=author%3A" + $authorGscholarName)
321 [[$xwiki.getDocument($xwikiPage).display("first_name") $xwiki.getDocument($xwikiPage).display("last_name")>>$authorGscholarUrl]]
322 #end
323 #end
324 ## Scholar
325 #set($scholarciteurl = "http://scholar.google.com/scholar?cites=")
326 #macro(scholarciteUrl $scholarId)
327 $scholarciteurl$scholarId
328 #end
329 ##
330 {{/velocity}}
Partita IVA: 01131710376 - Copyright © 2008-2021 APICe@DISI Research Group - PRIVACY