-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwlwmanifest.php
53 lines (45 loc) · 1.15 KB
/
wlwmanifest.php
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
42
43
44
45
46
47
48
49
50
51
52
<?php
if (!defined('e107_INIT'))
{
require_once("../../class2.php");
}
if(!e107::isInstalled('metaweblog'))
{
exit();
}
echo "<?xml version=\"1.0\" encoding=\"utf-8\" ?>
<manifest xmlns=\"http://schemas.microsoft.com/wlw/manifest/weblog\">
<options>
<clientType>WordPress</clientType>
<supportsKeywords>Yes</supportsKeywords>
<supportsGetTags>Yes</supportsGetTags>
</options>
<weblog>
<serviceName>e107</serviceName>
<imageUrl>images/wlw/e107_icon_32.png</imageUrl>
<watermarkImageUrl>images/wlw/e107_icon_32_wat.png</watermarkImageUrl>
<homepageLinkText>View site</homepageLinkText>
<adminLinkText>Dashboard</adminLinkText>
<adminUrl>
<![CDATA[". SITEURLBASE.e_ADMIN_ABS."
]]>
</adminUrl>
<postEditingUrl>
<![CDATA[
".SITEURLBASE.e_ADMIN_ABS."newspost.php?create.edit."."{post-id}
]]>
</postEditingUrl>
</weblog>
<buttons>
<button>
<id>0</id>
<text>Manage Comments</text>
<imageUrl>images/wlw/comments_32.png</imageUrl>
<clickUrl>
<![CDATA[
". SITEURLBASE.e_ADMIN_ABS."comment.php
]]>
</clickUrl>
</button>
</buttons>
</manifest>";