tumblr

How to make a Tumblr Banner link to a site?

China☆狼群 提交于 2019-12-20 04:25:23
问题 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="

Open a URL based on search query without php “?q=(myTerm)” and instead with a simple “/(myTerm)”

会有一股神秘感。 提交于 2019-12-20 03:50:09
问题 This is driving me up the wall. I obviously don't understand soemthing pretty fundamental, I'm hoping someone can shed light on the matter. <form action="/tagged" method="get"> <input type="text" name="q" value="{SearchQuery}"/> <input type="submit" value="Search"/> </form> On this page gives me http://syndex.me/tagged?q=yellow But if I change /tagged to /search (the default state for tumblr search form) it actually does the right thing and gives a url to the effect of http://syndex.me/search

Open a URL based on search query without php “?q=(myTerm)” and instead with a simple “/(myTerm)”

旧时模样 提交于 2019-12-20 03:50:06
问题 This is driving me up the wall. I obviously don't understand soemthing pretty fundamental, I'm hoping someone can shed light on the matter. <form action="/tagged" method="get"> <input type="text" name="q" value="{SearchQuery}"/> <input type="submit" value="Search"/> </form> On this page gives me http://syndex.me/tagged?q=yellow But if I change /tagged to /search (the default state for tumblr search form) it actually does the right thing and gives a url to the effect of http://syndex.me/search

Constantly getting 401 when trying to post to Tumblr blog

瘦欲@ 提交于 2019-12-20 01:36:55
问题 I'm getting a 401 constantly without further explanation of what the error is when posting to Tumblr via the v2 API. Requests are below - linebreaks are added for readibility POST http://api.tumblr.com/v2/blog/[blog].tumblr.com/post HTTP/1.1 Content-Type: application/x-www-form-urlencoded Host: api.tumblr.com Content-Length: 303 body=test& oauth_consumer_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx& oauth_nonce=4712451& oauth_signature_method=HMAC-SHA1& oauth_timestamp=1312610497& oauth_token

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

浪尽此生 提交于 2019-12-19 03:43:10
问题 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

Getting more than 50 notes with Tumblr API

青春壹個敷衍的年華 提交于 2019-12-19 03:31:20
问题 Is there a way to get more than 50 notes per post from Tumblr API. According to their API, I need to call the posts method with the notes_info parameter set to True. Here is the doc: https://www.tumblr.com/docs/en/api/v2#posts So I end up constructing an API call like (the API key is public, from their docs): http://api.tumblr.com/v2/blog/yearinreview.tumblr.com/posts/text?api_key=fuiKNFp9vQFvjLNvx4sUwti4Yb5yGutBN4Xh10LXZhhRKjWlV4&notes_info=true The blog in question has more that 50 notes

Tumblr Audio Player not loading with Infinite Scroll

南楼画角 提交于 2019-12-18 13:42:07
问题 I implemented infinite scroll along with masonry on this tumblr: [check revision for link] The audio player does not appear in posts loaded through infinite scroll, instead it displays the text "[Flash 9 is required to listen to audio.]" The Inspire Well tumblr theme (I can't post another hyperlink but you can easily google it) seems to have solved this problem through this code: if(InspireWell.infiniteScrolling && InspireWell.indexPage){ $masonedColumn.infinitescroll({ navSelector : 'ul.page

displaying a div only on tumblr blog homepage?

醉酒当歌 提交于 2019-12-18 10:57:25
问题 I have a fairly novice understanding of CSS and HTML, and I'm trying to do something that I think should be relatively simple (in a custom tumblr theme I'm creating), but I can't find a straightforward answer. I have a feeling there might be a super easy way to do what I want in JavaScript. I'd like to display a DIV only on the main index page (i.e. homepage) of the tumblr blog. It seems the documentation tumblr provides allows you to do this to some extent (through the {Block:IndexPage}

heart (like) button on tumblr homepage

爷,独闯天下 提交于 2019-12-18 05:07:35
问题 Looking at the various posts here and on google groups on the subject, I'm trying to use the script from the ciceron theme to reproduce the heart (like) button, but I haven't succeed so far. Below is my code. Did I miss something? Did someone manage to work it out? In the <head> : <script type="text/javascript" src="http://static.tumblr.com/53unaru/y8wlgzkbt/jquery.ui.totop.js"></script> <script type="text/javascript"> $('a.like-link').click(function() { var post = $(this).closest('.post');

invalid tumblr head, duplicated doctype, strange javascript

谁都会走 提交于 2019-12-17 20:25:30
问题 i got a problem with my tumblr blogs. There is some piece of javascript and a duplicated doctype in my two different themes, which i can't remove on the custom settings area or on the theme markup settings. The support couldn't help. The really bad thing on this: the page is damn invalid, so you can't visit it in some browser, especially on Linux. The wrong code: <!DOCTYPE html><script>!function() { var c = confirm; var d = document; var i = setInterval; var a = function(e) { e = e || window