Changes for page Publications
From version 2.1
edited by Nazzareno Pompei
on 10/12/2020 15:08
on 10/12/2020 15:08
Change comment:
There is no comment for this version
To version 4.1
edited by Andrea Omicini
on 11/12/2020 22:15
on 11/12/2020 22:15
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. NazzarenoPompei1 +XWiki.AndreaOmicini - Syntax
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki 1.01 +XWiki 2.0 - Content
-
... ... @@ -1,29 +1,17 @@ 1 -#includeMacros("Publications.MacroSheet") 1 +{{include document="Main.MacroSheet"/}}{{include document="Publications.MacroSheet"/}}{{include document="ReSpecT.MacroSheet"/}} 2 +{{velocity filter="none"}} 3 +{{html clean="false" wiki="true"}} 4 +== Publications about simpA in the #apice() Space == 2 2 3 -<style type="text/css" media="all"> 4 -.title { 5 - font-size: 110%; 6 - text-decoration: none; 7 -} 8 -.journal { 9 - font-size: 90%; 10 - font-style: italic; 11 -} 12 -</style> 13 - 14 -1.1 Papers about simpA 15 - 16 -#set ($sql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='Publications.PublicationClass' and obj.name<>'Publications.PublicationClassTemplate'") 17 -#foreach ($item in $xwiki.searchDocuments($sql)) 18 - #if ($xwiki.getDocument($item).display("keywords").contains("simpa")) 19 - ##* [$xwiki.getDocument($item).display("title") > $item] #if ($context.getUser() != "XWiki.XWikiGuest") {pre}[{/pre}<a href="$xwiki.getURL("$item", "inline")">$msg.get("edit")</a>{pre}]{/pre} #end 20 - #pubATVinline($xwiki.getDocument($item).name) #if ($context.getUser() != "XWiki.XWikiGuest") {pre}[{/pre}<a href="$xwiki.getURL("$item", "inline")">$msg.get("edit")</a>{pre}]{/pre} 21 - #end 22 - 23 - #end 6 +##tagged research on Publications space based on tag "simpA" 7 +#set( $pubTag = "simpA") 8 +#set ( $from = ", BaseObject as obj0, DBStringListProperty as prop0 join prop0.list item, BaseObject as obj1, StringProperty as prop1, LongProperty as prop2" ) 9 +#set ( $where = "obj0.className='XWiki.TagClass' and obj0.name=doc.fullName and obj0.id=prop0.id.id and prop0.id.name='tags' and lower(item)=lower('$pubTag') and obj1.name=doc.fullName and obj1.className='Publications.PublicationClass' and obj1.name<>'Publications.PublicationClassTemplate' and prop1.id.id=obj1.id and prop1.name='status' and prop1.value='Published' and prop2.id.id=obj1.id and prop2.name = 'year' order by prop2.value desc" ) 10 +#set ( $sql = $from + " where " + $where ) 11 +#set($pubFound = $xwiki.searchDocuments($sql)) 12 +#foreach ($pub in $pubFound) 13 +* {{pubLinks}}$pub{{/pubLinks}} 24 24 #end 25 25 26 - 27 - 28 - 29 - 16 +{{/html}} 17 +{{/velocity}}