tumblr

Upload image from sd-card on tumbler in Android

孤街浪徒 提交于 2019-12-02 07:13:10
I have uploaded image using a http://... URL. but i dont want to use URL .I want to upload image on tumbler from local sdcard of mobile. I tried all these solutions Uploading Images to tumblr API from Android but nothing worked for me. i posted image by URL like this :- File fil = savebitmap(pattern_a); HttpPost hpost = new HttpPost("http://api.tumblr.com/v2/blog/" + strBlogName.replace(" ", "%20") + ".tumblr.com/post"); List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(2); nameValuePairs.add(new BasicNameValuePair("type", "photo")); nameValuePairs.add(new BasicNameValuePair(

“Unnesting” Nested Blockquotes Using jQuery (to fit tumblr's September 2015 update)

泪湿孤枕 提交于 2019-12-02 06:19:32
问题 I'm working on a new tumblr theme for a very reblog-heavy blog. Per tumblr's latest update to the comment-chains, some posts get very lengthy. While it looks fine on my dashboard, it wrecks havoc on my blog because of the nested blockquotes. I'd like to mimic how the comments look on my dashboard, without the user's icons and such, and with an alternating colour to help differentiate commentators. (Bonus if I can remove "blank" comments, but I can deal with that later.) I've done some

How to make a Tumblr Banner link to a site?

限于喜欢 提交于 2019-12-02 05:35:55
I know that this question has already been asked, but the HTML I am looking at has been written in a strange format, in my opinion. I already looked at this thread: How do I make my banner in tumblr link to another site? , but it wasn't helpful, as that "a href" bit is just missing. <div class="header"> {block:IfHeaderImage}<img style="{block:IndexPage}width:520px;{block:IndexPage} {block:PermalinkPage}width:500px;{/block:PermalinkPage} overflow:hidden; float:left; padding-bottom:15px;" src="{image:header}" {/block:IfHeaderImage} <div class="blogtitle"{Title}</div> <div style="text-align:right

How can I get posts from a password-protected tumblr using the API?

匆匆过客 提交于 2019-12-02 03:46:15
问题 I'm trying to use the tumblr API (http://www.tumblr.com/docs/en/api/v2), but I don't see how to access another user's password protected blog. I have the password, but there doesn't appear to be any place to use it. The OAuth stuff doesn't help since that is the credentials for the user, not the blog. 回答1: You need to use Oauth in order to do this. You have to be Oauth authenticated before you can access password protected blogs, and you also need to be a member of the blog I believe and have

Stop Tumblr from adding JS and CSS files to theme

夙愿已清 提交于 2019-12-02 02:53:54
Tumblr is just flooding the blogs with loads of JS and CSS files. I don't know if these files are required or just useful. Here's a list of them The JS: - tumblelog.js & pre_tumblelog.js -> looks like this is Tumblr JS API, but do we need it? - cedexis.radar.js -> no idea what this does. - rapid-3.18.1.js The CSS: fonts/gibson/stylesheet.css And some images are also added to the page. I searched a bit, but there is no way of stopping tumblr from doing this. Is there any way we can stop Tumblr from doing so, if we don't need these files? If we need the scripts, can you please elaborate why we

“Unnesting” Nested Blockquotes Using jQuery (to fit tumblr's September 2015 update)

谁说我不能喝 提交于 2019-12-02 01:34:32
I'm working on a new tumblr theme for a very reblog-heavy blog. Per tumblr's latest update to the comment-chains, some posts get very lengthy. While it looks fine on my dashboard, it wrecks havoc on my blog because of the nested blockquotes. I'd like to mimic how the comments look on my dashboard, without the user's icons and such, and with an alternating colour to help differentiate commentators. (Bonus if I can remove "blank" comments, but I can deal with that later.) I've done some searching, but can only find how to get the alternating colours. I did see one post that broke down the

How can I get posts from a password-protected tumblr using the API?

拜拜、爱过 提交于 2019-12-02 01:03:51
I'm trying to use the tumblr API (http://www.tumblr.com/docs/en/api/v2), but I don't see how to access another user's password protected blog. I have the password, but there doesn't appear to be any place to use it. The OAuth stuff doesn't help since that is the credentials for the user, not the blog. Dolores You need to use Oauth in order to do this. You have to be Oauth authenticated before you can access password protected blogs, and you also need to be a member of the blog I believe and have a consumer API key. See: Tumblr v2 API accessing private blogs You could also try getting into

How to detect if a tumblr user is logged in?

泪湿孤枕 提交于 2019-12-01 21:18:50
问题 I'm writing a theme and wanted to display content only to the admin of the blog, but I don't know how to detect if the admin is logged in. I did notice that at the bottom of the HTML, right before the closing body tag there is this code: <iframe src="http://assets.tumblr.com/iframe.html?10&src=http%3A%2F%2Fstaff.tumblr.com%2F&lang=en_US&name=staff" scrolling="no" width="330" height="25" frameborder="0" style="position:absolute; z-index:1337; top:0px; right:0px; border:0px; background-color

Tumblr OAuth image post gives me 401/“Invalid OAuth credentials”

旧巷老猫 提交于 2019-12-01 20:57:27
I've got an iOS app thats posts images to several services, including twitter and I'm trying to extend that support to tumblr. I've adapted some open source code for the OAuth 1.0a header logic and its working well enough to be successful for twitter + twitpic and for tumblr's authentication. However image posts to tumblr are failing with status 401 and string response "Invalid OAuth credentials" To simplify, my only multipart sections are the post type and the image data. So my simple POST is to http://www.tumblr.com/api/write , the signature base string is (roughly, as I’ve redacted my

How to detect if a tumblr user is logged in?

安稳与你 提交于 2019-12-01 19:39:19
I'm writing a theme and wanted to display content only to the admin of the blog, but I don't know how to detect if the admin is logged in. I did notice that at the bottom of the HTML, right before the closing body tag there is this code: <iframe src="http://assets.tumblr.com/iframe.html?10&src=http%3A%2F%2Fstaff.tumblr.com%2F&lang=en_US&name=staff" scrolling="no" width="330" height="25" frameborder="0" style="position:absolute; z-index:1337; top:0px; right:0px; border:0px; background-color:transparent; overflow:hidden;" id="tumblr_controls"></iframe> <!--[if IE]> <script type="text/javascript"