tumblesocks
tumblesocks copied to clipboard
Liking and reblogging of dashboard view posts impossible
To be able to like and reblog posts from the dashboard, I have to install this advice:
(defadvice tumblesocks-api-blog-posts (around rrix/hack-tumblesocks-api)
"Hack the tumblesocks API to properly work on the dashboard"
(let* ((post-data (get-text-property (point) 'tumblesocks-post-data))
(blog-name (plist-get post-data :blog_name))
(tumblesocks-blog (concat blog-name ".tumblr.com")))
ad-do-it))
(ad-activate 'tumblesocks-api-blog-posts)
It pulls the post name out of tumblesocks-post-data, which I feel is the sane way to do it, generally, but then it just binds on top of tumblesocks-blog.