Forked

  • Archive
  • RSS
  • Ask me anything

New Tumblrs

This tumblr has forked. Visit the new tumblrs below if they appeal to you.

Broaden Me 

Enlighten-tainment. Things that widen in a pleasing, relevant way go here.

Finding a Life Manual

Happiness research, flecks of wisdom, and anything that informs good life choices.

Food and Health Rethought

As I learn more, I continue to refine the way I eat and live. Whether you’re a food and health bookworm or an enthusiastic neophyte this blog was built for you.

Increasing Awareness

When people become apprised of solid solutions, our blessed elected officials usually take heed. This site aims to spotlight little morsels of information to goad that process along. This site claps if you care about education, the environment, healthcare, science, politics, and the world.

Joking Around Having Fun

For things that are amusing or enjoyable.

You can follow @suchagoodmix on twitter to get updates from all these tumblrs. You can also follow one or a few of them individually. Each has multiple subscription options. You can subscribe via tumblr, twitter, RSS, or email. 

You can also find me in these places:

Me on Quora

    • #blog
    • #cool
    • #food
    • #forked
    • #funny
    • #health
    • #interesting
    • #life
    • #meaning
    • #politics
  • 1 year ago
  • 21
  • Comments
  • Permalink
  • Share

I just added this related posts widget to my tumblrs.

I so love related posts. It reminded me of things I’ve posted and forgotten. It’s a really cool way to click around my tumblrs. I ended up entertaining myself. Such a big thank you to the creators.

If you want to add it to your tumblr, here is the script. You’ll note I updated the jquery library to 1.5.0 - this got rid of a few incompatibilities with some other things on my site - I recommend you do the same. Using a custom tumblr theme, “Paste this code anywhere you want inside the {block:Posts} … {/blockPosts} tags.” I put it just above the notes section.

{block:HasTags}

<script src=”http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js”></script>

<script src=”http://relposts.googlecode.com/svn/trunk/relposts.js?tags={block:Tags}{Tag},{/block:Tags}” type=”text/javascript”></script>

{/block:HasTags}

    • #api
    • #blog
    • #blogging
    • #code
    • #javascript
    • #posts
    • #related
    • #tumblr
    • #widget
    • #custom
    • #html
    • #theme
  • 1 year ago
  • 6
  • Comments
  • Permalink
  • Share

I added and modified this recent posts widget to my tumblrs :)

I found this which is a cool bit of code that shows the most recent posts on my blog. At first it only worked for text posts and link posts. I modified it to add in videos and photos and quotes, but the formatting was all wrong, and some posts were ridiculously wrong. I modified the code to get around those problems, as best I could. I converted the HTML from the tumblr API into text so that no stray links got in there - which had been a problem before. This also helped with formatting problems. I limited the length of quotes, video captions and photo captions to 80 characters so the posts weren’t too long. I also updated the jquery to 1.5.0 because that was causing some problems with some other things I was doing.

To make it work in your tumblr, put this in your description or somewhere relevant in your theme and replace “foodnhealth” with your tumblr ID. This shows 50 posts, but to shower fewer posts, change the number 50 at the end to whatever you want. Replace the 80 with whatever you want to change the 80 character limit.

<script src=”http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js”></script>

<script type=”text/javascript”>

function strip(html)

{

   var tmp = document.createElement(“DIV”);

   tmp.innerHTML = html;

   return tmp.textContent||tmp.innerText;

}

function tumblr(resp) {

var posts = resp.posts;

$(‘#blog .loading’).replaceWith(‘<ul/>’);

$ul = $(‘#blog ul’);

for (var i=0; i<posts.length; i++) {

var p = posts[i];

                var title = p[‘regular-title’] || p[‘link-text’] || null;          

   if (title)

$ul.append(‘<li><a href=”’+p[‘url’]+’”>’+title+’</a></li>’);

    var title =  p[‘photo-caption’]  || p[‘quote-text’] ||  p[‘video-caption’] || p[‘conversation-title’] || p[‘audio-caption’] ||  p[‘question’] ||  null;

   if (title) {

                                   title = strip ( title);

                                   if (title.length>80) title = title.substring(0,80) + “…”;

$ul.append(‘<li><a href=”’+p[‘url’]+’”>’+title+’</a></li>’); 

                 }

                                                                      }

}

</script>

<div id=”blog”>

<h2>Recent Posts</h2>

<span class=”loading”>Loading…</span>

</div>

<script src=”http://foodnhealth.tumblr.com/api/read/json?callback=tumblr&amp;num=50” type=”text/javascript”></script>

    • #ajax
    • #api
    • #blog
    • #code
    • #coding
    • #custom
    • #formating
    • #howto
    • #html
    • #html
    • #javascript
    • #posts
    • #recent
    • #theme
    • #thisblog
    • #tumblr
    • #widget
  • 1 year ago > cdmoyer
  • 6
  • Comments
  • Permalink
  • Share

Added these tag clouds to my tumblrs.

If you use them, I recommend calling jquery 1.5.0 instead of 1.4.2, because it can cause problems if you have multiple versions of jquery. So just put this in your description or anywhere:

<script src=”http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js”></script>

<script type=”text/javascript” src=”http://rive.rs/javascripts/tumblr_tag_cloud.min.js?css=default&minsize=120&maxsize=280”></script>

    • #api
    • #blog
    • #tags
    • #custom
    • #htm
    • #html
    • #theme
  • 1 year ago
  • 4
  • Comments
  • Permalink
  • Share

Tag Subscriptions

A lot of people might not know that you can subscribe to any tag on this blog. Just click on any tag, and then add “/rss” to the url. You can also type it out….So, for example, if you love travel, you can type in:

http://willw2.tumblr.com/tagged/travel/rss

That automatically generates an RSS feed of all my travel related posts. You can do this for any tag. Here are links to other feeds:

aging, animals, architecture, art, biology, business, design, environment, entertainment, facts, fashion, food, funny, health, healthcare, language, music, nature, photo, politics, psychology, quotes, relationships, sex, sports, stats, tech, travel, wtf,

You can also subscribe to a search. For example, let’s say you want to subscribe to every post I make that mentions origami - since origami isn’t tagged, you’d type:

http://willw2.tumblr.com/search/origami/rss

These types of tricks/subscriptions work for any other blog that uses Tumblr, which is the platform that powers this blog.

Oh, and if you’re new to RSS feeds, use google reader - one of my favorite websites, and then click  ”add a subscription” and add the RSS feeds you want into the box - it’s such a great solution - I use it to subscribe to everything….

    • #blog
  • 2 years ago
  • 12
  • Comments
  • Permalink
  • Share
← Newer • Older →
Page 1 of 2

Portrait/Logo

My Sites:

  Broaden Me
  Finding a Life Manual
  Food & Health Rethought
  Increasing Awareness
  Joking Around Having Fun
  Me on Google+
  Me on Quora

  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr