... |
... |
@@ -1,31 +1,15 @@ |
|
1 |
+{{include document="Main.MacroSheet"/}}{{include document="Publications.MacroSheetOld"/}}{{include document="ReSpecT.MacroSheet"/}} |
|
2 |
+{{velocity filter="none"}}{{html clean="false" wiki="true"}} |
|
3 |
+== Publications about simpA in the #apice() Space == |
1 |
1 |
|
2 |
|
- |
3 |
|
-#includeMacros("Publications.MacroSheet") |
4 |
|
- |
5 |
|
-<style type="text/css" media="all"> |
6 |
|
-.title { |
7 |
|
- font-size: 110%; |
8 |
|
- text-decoration: none; |
9 |
|
-} |
10 |
|
-.journal { |
11 |
|
- font-size: 90%; |
12 |
|
- font-style: italic; |
13 |
|
-} |
14 |
|
-</style> |
15 |
|
- |
16 |
|
-1.1 Papers about simpA |
17 |
|
- |
18 |
|
-#set ($sql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='Publications.PublicationClass' and obj.name<>'Publications.PublicationClassTemplate'") |
19 |
|
-#foreach ($item in $xwiki.searchDocuments($sql)) |
20 |
|
- #if ($xwiki.getDocument($item).display("keywords").contains("simpa")) |
21 |
|
- ##* [$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 |
22 |
|
- #pubATVinline($xwiki.getDocument($item).name) #if ($context.getUser() != "XWiki.XWikiGuest") {pre}[{/pre}<a href="$xwiki.getURL("$item", "inline")">$msg.get("edit")</a>{pre}]{/pre} |
23 |
|
- #end |
24 |
|
- |
25 |
|
- #end |
|
5 |
+##tagged research on Publications space based on tag "simpA" |
|
6 |
+#set( $pubTag = "simpA") |
|
7 |
+#set ( $from = ", BaseObject as obj0, DBStringListProperty as prop0 join prop0.list item, BaseObject as obj1, StringProperty as prop1, LongProperty as prop2" ) |
|
8 |
+#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" ) |
|
9 |
+#set ( $sql = $from + " where " + $where ) |
|
10 |
+#set($pubFound = $xwiki.searchDocuments($sql)) |
|
11 |
+#foreach ($pub in $pubFound) |
|
12 |
+* {{pubLinks}}$pub{{/pubLinks}} |
26 |
26 |
#end |
27 |
27 |
|
28 |
|
- |
29 |
|
- |
30 |
|
- |
31 |
|
- |
|
15 |
+{{/html}}{{/velocity}} |