-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsyncweibo.html
More file actions
180 lines (173 loc) · 4.77 KB
/
syncweibo.html
File metadata and controls
180 lines (173 loc) · 4.77 KB
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
175
176
177
178
179
180
<html>
<head>
<title>Reader2微博 - 同步你的Google Reader分享内容实时同步到新浪微博</title>
<link rel="icon" href="/assets/favicon.png" sizes="32x32">
<script type="text/javascript" src="/assets/jquery-1.3.1.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#mainform").submit(function(){
$("#message").hide();
$("#loading").show();
var str = $(this).serialize();
$.ajax({
type:"POST",
url: "/weibo/greader.settings",
data: str,
success: function(msg){$("#message").show();$("#message").html(msg);$("#loading").hide();}
});
return false;
});
});
</script>
<style>
html {
background:#777362 url(/assets/p.gif) repeat fixed center top;
color:#5A584B;
font-family:Arial,Helvetica,sans-serif;
font-size:0.85em;
height:100%;
line-height:1.6em;
margin:0;
padding:0;
text-align:center;
width:100%;
}
#centerBody {
background-color:#FFFFFF;
background-position:center top;
background-repeat:no-repeat;
margin:0 auto;
padding:0 20px 20px;
text-align:left;
width:880px;
}
a{text-decoration:none;color:#DB8900;}
a:hover {
text-decoration:underline;
}
#footer {
clear:both;
margin:0 auto 20px;
padding:0;
text-align:left;
width:920px;
}
.footer_content {
background-color:#2E2D26;
border-bottom:1px solid #C5B496;
border-top:4px solid #312D25;
padding:8px 20px 20px;
}
.subnav{
float:left;
font-size:12px;
margin:0;
padding:0;
text-align:left;
}
</style>
</head>
<body>
<div id="centerBody">
<p style="padding:5px;background-color:yellow;">
开发者:<a target="_blank" href="http://t.sina.com.cn/kangye">康爷</a>
</p>
<form id="mainform" action="/weibo/greader.settings" method="post">
<div><h1>Reader2微博-将Google Reader分享内容实时同步到新浪微博</h1>
<p>使用<a href="http://code.google.com/p/pubsubhubbub/">pubsubhubbub</a>协议实时同步。</p>
</div>
<table>
<tbody>
<tr>
<td>
微博用户名</td>
<td>
{{gruser.username}} (换一个微博账号,<a href="/oauth/weibo/logout">退出</a>)
</td>
</tr>
<tr>
<td>
认证方式</td>
<td>
OAuth
</td>
</tr>
<tr>
<td>
Google Reader <b>数字</b>ID</td>
<td>
<input name="grid" size="50" value="{{gruser.readerid}}">
</td>
</tr>
</tr>
<tr>
<td>同步</td>
<td>
<select name="mode" id="mode">
<option value="subscribe" selected="selected">开启</option>
<option value="unsubscribe">关闭</option>
</select>
</td>
</tr>
</tbody>
</table>
<p>
<input type="radio" name="synctype" value="all" {{gruser.synctype.all}}> 同步所有分享<br>
<input type="radio" name="synctype" value="comment" {{gruser.synctype.comment}}> 只同步有Note的分享(必须是Share with Note或使用Note in Reader)<br>
<input type="radio" name="synctype" value="note" {{gruser.synctype.note}}> 只同步Note(相当于用Reader来推特)
</p>
<div><input type="submit" value="提交"><img id="loading" style="display:none;" src="/assets/loading.gif"/>
<div style="display:none;padding:5px;" id="message"></div>
</div>
</form>
<p>
<span style="color:red">注意:如果你的分享量很大的话,就不要同步到Twitter了 = =</span>
</p>
<p>
<span style="color:blue">小贴士:请将你的Google Reader分享内容设置成公开。</span>
</p>
</div>
<div id="footer">
<div class="footer_content">
<div>Reader2微博</div>
<!-- <div style="float: right; width: 750px; margin-left: 30px; margin-top: 8px;">
<div class="subnav" style="float: right;">
<ul>
<li>
<a href="htt">kangye's blog</a>
</li>
</ul>
</div>-->
</div>
</div>
<div style="margin-top: 10px;">
<br style="clear: both;"/>
</div>
</div>
<!-- Start of StatCounter Code -->
<script type="text/javascript">
var sc_project=5090893;
var sc_invisible=1;
var sc_partition=58;
var sc_click_stat=1;
var sc_security="7ef7f738";
</script>
<script type="text/javascript"
src="http://www.statcounter.com/counter/counter.js"></script><noscript><div
class="statcounter"><a title="iweb visitor"
href="http://www.statcounter.com/iweb/" target="_blank"><img
class="statcounter"
src="http://c.statcounter.com/5090893/0/7ef7f738/1/"
alt="iweb visitor" ></a></div></noscript>
<!-- End of StatCounter Code -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-10567399-1");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>