-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsocial+quotes.xml
174 lines (142 loc) · 8.01 KB
/
social+quotes.xml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs
title="Wave Watchers QUOTES + SOCIAL Toolbox"
title_url="http://www.WaveWatchers.org"
description="Adds Random Wavy QUOTES plus SOCIAL FEEDBACK (ex. Like, +1...) with INLINE ANNOTATIONS + SHARE (ex. Google+, Facebook, Twitter...) Buttons."
screenshot=""
thumbnail=""
author="Wave Watchers"
author_email="[email protected]"
height="450"
scrolling="false"
/>
<!-- PAGE/SITE INFO -->
<UserPref name="URL" display_name="Page URL/Address" required="true" default_value="http://www.wavewatchers.org"/>
<UserPref name="TITLE" display_name="Page Title" required="true" default_value="Wave Watchers"/>
<UserPref name="SITENAME" display_name="Human Readable Site Name" required="true" default_value="Wave Watchers"/>
<UserPref name="DESCRIPTION" display_name="Page Description" required="true" default_value="We are a global network of power users and unconditional fans of all things Wave with a common mission: to move Wave forward."/>
<UserPref name="IMAGE" display_name="Screenshot" required="false" default_value="http://www.wavewatchers.org/wavewatchers-avatar.png"/>
<UserPref name="TYPE" display_name="Page Type/Category" required="false" default_value="Organization"/>
<!-- CHOOSE: MODULES -->
<UserPref name="MOD_GOOGLE_PLUS" display_name="Display GOOGLE+ +1 and Share?" datatype="bool" default_value="true"/>
<UserPref name="MOD_ADDTHIS" display_name="Display Other SOCIAL Buttons (ex. Facebook, Twitter...)?" datatype="bool" default_value="true"/>
<UserPref name="MOD_QUOTES" display_name="Display Random QUOTES?" datatype="bool" default_value="true"/>
<!-- COLORS & FONTS -->
<UserPref name="BG_COLOR" display_name="Background Color" required="true" default_value="transparent"/>
<UserPref name="QUOTES_FONT_COLOR" display_name="Quotes Font Color" required="true" default_value="black"/>
<UserPref name="CREDITS_FONT_COLOR" display_name="Credits/Copyrights Font Color" required="true" default_value="silver"/>
<!-- OTHER SETTINGS -->
<UserPref name="LANG" display_name="Global Language (ex. en, pt...)" required="true" default_value="en"/>
<UserPref name="GOOG_LANG" display_name="Google+ Language (ex. en-US, pt-PT...)" required="true" default_value="en-US"/>
<UserPref name="TWITTER_ID" display_name="Twitter ID/Username" required="true" default_value="thewavewatchers"/>
<!-- ADDTHIS + Google Analytics -->
<UserPref name="ADDTHIS_ID" display_name="AddThis.com User ID" required="true" default_value="ra-51771e375719221b"/>
<UserPref name="GA_PROPERTY" display_name="Google Analytics Property ID" required="true" default_value="UA-17774954-1"/>
<Content type="html"><![CDATA[
<meta itemprop="name" content="__UP_TITLE__">
<meta itemprop="description" content="__UP_DESCRIPTION__">
<meta itemprop="image" content="__UP_IMAGE__">
<meta property="og:type" content="__UP_TYPE__" />
<meta property="og:url" content="__UP_URL__" />
<meta property="og:site_name" content="__UP_SITENAME__" />
<meta property="og:title" content="__UP_TITLE__" />
<meta property="og:description" content="__UP_DESCRIPTION__"/>
<meta property="og:image" content="__UP_IMAGE__" />
<style>
body { background-color: __UP_BG_COLOR__; margin: 0; padding: 0; }
#google-plus, #google-plus div:nth-of-type(1), #addthis_toolbox a {
display: inline-block; margin-bottom: 20px !important;
}
#addthis_toolbox {
float:right;
width: 130px;
}
#addthis_toolbox a {
display: inline-block;
}
#addthis_toolbox>a:nth-of-type(1) {
margin-right: 30px;
}
#quotes {
position: absolute;
top: 45%;
width: 100%;
text-align: center;
font-family: georgia, serif;
font-size: 200%; font-style: italic;
color: __UP_QUOTES_FONT_COLOR__;
}
@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
#quotes {
top: 60%;
font-size: 150%;
}
#addthis_toolbox {
float:left;
}
}
#credits { clear: both; position: absolute; bottom: 0; left: 0; padding-top: 5px; font-size: 70%; }
#credits, #credits a { color: __UP_CREDITS_FONT_COLOR__; }
</style>
</head>
<body>
<div id="quotes">
« <script src="https://raw.github.com/WaveWatchers/opensocial/master/quotes.js" type="text/javascript"></script> »
</div>
<div id="social">
<!-- GOOGLE+ -->
<span id="google-plus">
<div class="g-plus" data-action="share" data-annotation="none" data-height="24" data-href="__UP_URL__"></div>
<div class="g-plusone" data-annotation="inline" data-href="__UP_URL__"></div>
<script type="text/javascript">
window.___gcfg = {lang: '__UP_GOOG_LANG__'};
(function() {
var po = document.createElement('script');
po.type = 'text/javascript';
po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(po, s);
})();
</script>
</span>
<!-- GOOGLE+: END -->
<span id="addthis_toolbox" class="addthis_toolbox addthis_default_style">
<a class="addthis_counter addthis_pill_style"></a>
<a class="addthis_button_tweet" tw:via="__UP_TWITTER_ID__"></a>
</span>
</div>
<p id="credits"><big>©</big> <a href="https://github.com/WaveWatchers/opensocial" target="_blank">Social Gadget</a> by <a href="http://www.wavewatchers.org" target="_blank">Wave Watchers</a></p>
<!-- CHOOSE: MODULES -->
<script>
var prefs = new gadgets.Prefs();
if (prefs.getBool("MOD_GOOGLE_PLUS") == false) {
document.getElementById('google-plus').style.display="none";
}
if (prefs.getBool("MOD_ADDTHIS") == false) {
document.getElementById('addthis_toolbox').style.display="none";
}
if (prefs.getBool("MOD_QUOTES") == false) {
document.getElementById('quotes').style.display="none";
}
</script>
<!-- AddThis Analytics BEGIN -->
<script type="text/javascript">
var addthis_share = {
url: '__UP_URL__',
title: '__UP_TITLE__',
description: '__UP_DESCRIPTION__',
}
var addthis_config = {
ui_language: '__UP_LANG__',
data_ga_property: '__UP_GA_PROPERTY__',
data_ga_social: true,
};
addthis_config.data_track_addressbar = false;
addthis_config.data_track_clickback = false;
</script>
<script type="text/javascript" src="https://s7.addthis.com/js/250/addthis_widget.js#pubid=__UP_ADDTHIS_ID__"></script>
<!-- AddThis Analytics END -->
]]></Content>
</Module>