tumblr

No Authentication Pop up with Tumblr Like <a> link

痴心易碎 提交于 2019-12-01 12:07:34
问题 As of now I am building out a custom Tumblr page which is basically aggregating post content into 1 page. Problem is, we can't use the Tumblr tags for the Like, we have successfully gotten the Reblog to work, but when ever I try and use an hrefed to this pattern, 'http://www.tumblr.com/like/'+oath+'?id='+id' and /unlike/ for unliking the post. I can't get anything but an access denied page to come up.. Shouldn't I at least be seeing an authentication pop-up of some kind? Not sure what else to

How to request Tumblr like button status after a new page is loaded with infinite scroll

倖福魔咒の 提交于 2019-12-01 11:11:22
This is the instruction from Tumblr documentation: Tumblr.LikeButton.get_status_by_page(n) : Call this function after requesting a new page of Posts. Takes the page number that was just loaded as an integer. Tumblr.LikeButton.get_status_by_post_ids([n,n,n]) : Request Like status for individual posts. Takes an array of post IDs. This question has been asked few times with solutions here and here both answers can tell you how to request like button status with post IDs. So is there a easier and probably faster solution? I'll share how i do it, please share your opinions too. Person What's

Getting Equal Height Columns jQuery Plugin and Disqus to Play Nice

混江龙づ霸主 提交于 2019-12-01 10:40:55
I decided that a JS solution ( The EqualHeights Plugin ) to equal height columns would probably be best in this case, but I'm having trouble with Disqus. As you probably already know, Disqus loads asynchronously. That's great and all (well, not really), but because the comments are loading after everything else, including the plugin, they're being chopped off. I can't figure out how to get around this. I actually tried a CSS "hack" to get equal height columns, hoping it wouldn't conflict with Disqus, but I didn't have any luck there either. Thanks in advance, guys. You're always invaluable

How to request Tumblr like button status after a new page is loaded with infinite scroll

怎甘沉沦 提交于 2019-12-01 09:43:58
问题 This is the instruction from Tumblr documentation: Tumblr.LikeButton.get_status_by_page(n) : Call this function after requesting a new page of Posts. Takes the page number that was just loaded as an integer. Tumblr.LikeButton.get_status_by_post_ids([n,n,n]) : Request Like status for individual posts. Takes an array of post IDs. This question has been asked few times with solutions here and here both answers can tell you how to request like button status with post IDs. So is there a easier and

User-editable HTML XSS protection (tumblr like)

早过忘川 提交于 2019-12-01 03:56:56
I want my service to have such a feature: author can fully customize the page, but can't steal users' cookies. Tumblr had some troubles with that, but solved them successfully http://www.riyazwalikar.com/2012/07/stored-persistent-xss-on-tumblr.html So I need the solution with no moderation full access to html code of pages for users-authors, don't want white-list filtering and templating language (that is how it works now :( ) no opportunity to steal each others cookies (on pages of other authors) centralized authentication db desirable: without authentication on each authors page As I

Base64 Font Encoding for Tumblr on Firefox

安稳与你 提交于 2019-12-01 03:42:34
I am developing a Tumblr theme, and want to use a font that I have across all browsers. Because Firefox does not allow http requests for other domains for css fonts, right now the font does not work in Firefox, but works in all other browsers using the standard @font-face syntax. Did some looking around and found a suggestion to use base64 to encode the font directly into the css file. Trying to do that now but it isn't working. I've never used this technique before, so I may just be missing something. I am linking to the stylesheet from the tumblr theme, and assigning the font-family

Base64 Font Encoding for Tumblr on Firefox

ε祈祈猫儿з 提交于 2019-12-01 00:27:29
问题 I am developing a Tumblr theme, and want to use a font that I have across all browsers. Because Firefox does not allow http requests for other domains for css fonts, right now the font does not work in Firefox, but works in all other browsers using the standard @font-face syntax. Did some looking around and found a suggestion to use base64 to encode the font directly into the css file. Trying to do that now but it isn't working. I've never used this technique before, so I may just be missing

JQuery load content from a remote site

两盒软妹~` 提交于 2019-12-01 00:04:21
I would like to load content from another site using JQuery, Unfortunately the .load() function is limited to the current domain. Is there any way around ? I would like to insert à navigation bar directly into a tumblr blog. PiTheNumber Have a look at Ways to circumvent the same-origin policy If you have control over the other side it is quite easy. Otherwise try Yahoos YQL . You can take a look at cross domain ajax request with YQL and jQuery . http://net.tutsplus.com/tutorials/javascript-ajax/quick-tip-cross-domain-ajax-request-with-yql-and-jquery/ 来源: https://stackoverflow.com/questions

What HTML attributes are allowed on a Tumblr post? (tinymce)

Deadly 提交于 2019-11-30 21:04:19
When creating a Tumblr post, and using the HTML editor option, when I add specific HTML attributes to elements, the TinyMCE rich text editor strips nearly everything off. i.e. this: <span class="something" data-random="foobar"> becomes this: <span class="something"> and this is unaffected: <span class="something" title="foobar"> So can I either 1) disable this scrubbing (which is ridiculous, at least how it's currently implemented) or 2) get a list of all valid attributes so I can choose the best semantic choice? RobW This was killing me too. And searching google for any tumblr dev help more

Using different styles for categories in tumblr?

╄→гoц情女王★ 提交于 2019-11-30 20:46:48
问题 I want to be able to post photos to tumblr with different tags (e.g. cars, motorcycles, ships). Then, in the post each tag should display a different colored horizontal line for each tag like blue for cars, red for motorcycles, and green for ships. If I put a photo with another tag like bicycles or planes it should show a grey line. I really can't find a solution for this. Here it is but it shows all the lines for every post: http://ekoba.tumblr.com 回答1: If you change your theme's markup to