knu-friendfeed 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/friendfeed/unofficial.rb +32 -1
- metadata +3 -3
@@ -229,6 +229,17 @@ module FriendFeed
|
|
229
229
|
add_service(id, 'feed', options)
|
230
230
|
end
|
231
231
|
|
232
|
+
# Adds a blog feed to the authenticated user, a group or an
|
233
|
+
# imaginary friend specified by a unique ID. Specify 'multiauth'
|
234
|
+
# => 'on' when the blog has multiple authors, and 'author' =>
|
235
|
+
# '(name)' to limit entries to those written by a specific
|
236
|
+
# author. [unofficial]
|
237
|
+
def add_blog(id, url, options = nil)
|
238
|
+
params = { 'url' => url }
|
239
|
+
params.update(options) if options
|
240
|
+
add_service(id, 'blog', options)
|
241
|
+
end
|
242
|
+
|
232
243
|
# Adds a Twitter service to the authenticated user, a group or an
|
233
244
|
# imaginary friend specified by a unique ID. [unofficial]
|
234
245
|
def add_twitter(id, twitter_name)
|
@@ -242,7 +253,18 @@ module FriendFeed
|
|
242
253
|
def edit_feed(id, serviceid, url, options = nil)
|
243
254
|
params = { 'url' => url }
|
244
255
|
params.update(options) if options
|
245
|
-
|
256
|
+
edit_service(id, 'feed', options)
|
257
|
+
end
|
258
|
+
|
259
|
+
# Adds a blog feed to the authenticated user, a group or an
|
260
|
+
# imaginary friend specified by a unique ID. Specify 'multiauth'
|
261
|
+
# => 'on' when the blog has multiple authors, and 'author' =>
|
262
|
+
# '(name)' to limit entries to those written by a specific
|
263
|
+
# author. [unofficial]
|
264
|
+
def edit_blog(id, url, options = nil)
|
265
|
+
params = { 'url' => url }
|
266
|
+
params.update(options) if options
|
267
|
+
edit_service(id, 'blog', options)
|
246
268
|
end
|
247
269
|
|
248
270
|
# Edits a Twitter service of the authenticated user, a group or an
|
@@ -263,6 +285,15 @@ module FriendFeed
|
|
263
285
|
remove_service(id, serviceid, 'feed', options = nil)
|
264
286
|
end
|
265
287
|
|
288
|
+
# Removes a blog feed from the authenticated user, a group or an
|
289
|
+
# imaginary friend specified by a unique ID. Specify
|
290
|
+
# 'deleteentries' => 'on' to delete entries also. [unofficial]
|
291
|
+
def remove_blog(id, serviceid, url, options = nil)
|
292
|
+
params = { 'url' => url }
|
293
|
+
params.update(options) if options
|
294
|
+
remove_service(id, serviceid, 'blog', options = nil)
|
295
|
+
end
|
296
|
+
|
266
297
|
# Removes a Twitter service from the authenticated user, a group
|
267
298
|
# or an imaginary friend specified by a unique ID. Specify
|
268
299
|
# 'deleteentries' => 'on' to delete entries also. [unofficial]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knu-friendfeed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Akinori MUSHA
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-05-
|
12
|
+
date: 2009-05-18 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -48,7 +48,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
48
48
|
version:
|
49
49
|
requirements: []
|
50
50
|
|
51
|
-
rubyforge_project:
|
51
|
+
rubyforge_project: friendfeed
|
52
52
|
rubygems_version: 1.2.0
|
53
53
|
signing_key:
|
54
54
|
specification_version: 2
|