-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathExtensionProvider.cfc
42 lines (36 loc) · 1.62 KB
/
ExtensionProvider.cfc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
component displayname="extension provider" output="false" {
instance = {
thisAddress = "http://#cgi.SERVER_NAME#:#cgi.SERVER_PORT#/RailoExtensionProvider/"
};
remote struct function getInfo(){
var info = {
title="AndyJarrett.co.uk",
description="",
image="http://www.andyjarrett.co.uk/andy_jarrett_logo.png",
url="http://www.andyjarrett.co.uk/blog",
mode="develop"
};
return info;
}
remote query function listApplications(){
var apps = queryNew('type,id,name,label,description,version,category,image,download,author,codename,video,support,documentation,forum,mailinglist,network,created');
var rootURL=getInfo().url;
var desc = "cfspreadsheet tag & functions";
QueryAddRow(apps);
QuerySetCell(apps,'id','10EEC23A-0779-4068-9507A9C5ED4A8641');
QuerySetCell(apps,'name','CFPOI');
QuerySetCell(apps,'type','web');
QuerySetCell(apps,'label','<cfspreadsheet/> tag & functions');
QuerySetCell(apps,'description',desc);
QuerySetCell(apps,'author','Ext by Andy Jarrett.<br/>CFPOI by Matt Woodward');
QuerySetCell(apps,'image','http://www.gstatic.com/codesite/ph/images/defaultlogo.png');
QuerySetCell(apps,'support','https://github.com/andyj/RailoExtensionProvider/issues');
QuerySetCell(apps,'documentation','http://code.google.com/p/cfpoi/w/list');
QuerySetCell(apps,'created',CreateDate(2009,2,24));
QuerySetCell(apps,'version',"v341");
QuerySetCell(apps,'category',"Application");
QuerySetCell(apps,'download','#instance.thisAddress#/cfpoi.zip');
//QuerySetCell(apps,'download','https://github.com/andyj/RailoExtensionProvider/blob/master/cfpoi.zip');
return apps;
}
}