-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ilton Garcia dos Santos Silveira
committed
Dec 22, 2014
1 parent
727bd6b
commit 6c24a26
Showing
3 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
class JustShare::Blogger < JustShare::SocialLinker | ||
def setup_attrs | ||
# Base URL | ||
self.domain='https://www.blogger.com' | ||
self.path='blog_this.pyra' | ||
|
||
# Params (only the link is working, the others are deprecated for the sharer.php & won't work) | ||
url_param = "u=#{self.link}" | ||
description_param = "n=#{self.message}" | ||
|
||
# build the params | ||
self.params = "#{url_param}&#{description_param}" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters