没有任何数据可供显示
| 开源项目社区 | 当前位置 : |
|
| www.trustie.net/open_source_projects | 主页 > 开源项目社区 > json-plugin |
|
json-plugin
|
| 0 | 0 | 0 |
| 贡献者 | 讨论 | 代码提交 |
This plugin provides simple access to Confluence sites via the JSON format, so you could easy mashup your confluence content anywhere. now only test confluence 2.6 compatibility.
Featurespanel level json format http://HOST/confluence/plugins/json/dashboard.action http://HOST/confluence/plugins/json/space.action?key=SPACEKEY http://HOST/confluence/plugins/json/page.action?pageId=PAGEID http://HOST/confluence/plugins/json/pagechildren.action?pageId=PAGEID http://HOST/confluence/plugins/json/pageinfo.action?pageId=PAGEID http://HOST/confluence/plugins/json/attachments.action?pageId=PAGEID http://HOST/confluence/plugins/json/panel.action?pageId=PAGEID http://HOST/confluence/plugins/json/profile.action?username=USERNAME Usage Examplethis example show use jquery call the panel json array and mashup to divs.
mashup.html
$(function() {
$.getJSON("http://HOST/confluence/plugins/json/panel.action?pageId=PAGEID", function(data) {
$('#a).empty();
$('#a').append(data[0].content);
$("#b").empty();
$("#b").append(data[1].content);
});
});
How to buildsvn co http://svn.atlassian.com/svn/public/contrib/maven-plugins/com.atlassian.maven.plugins/atlassian-pdk/tags/2.1.1/ atlassian-pdk
cd atlassian-pdk
mvn install
svn co http://json-plugin.googlecode.com/svn/trunk/ json-plugin
cd json-plugin
mvn packageyou will get the jar in target directory.
标签:
