Metapost: Homepage Widgets, Postpage Widgets

Good morning, and welcome to another episode of "Ana messes with code".

I've been wanting to reinstate the Google ads on the site because the page-refreshes do add up and every time I make $10 a month on the blog, I think I'm that much closer to quitting my job and talking about Twilight all the time. I have humble dreams, I know.

But! I didn't like having the Google ads on the actual post pages because Disqus takes long enough to load without having to get animated shinyies from Google each time. So! I figured out how to have the Google ads only show up on the main home page. Yay.

Of course, with that bit of knowledge, I couldn't leave well enough alone, so now everything on the side bar has been divided up into Homepage / Postpage categories.


Homepage
  1. Current Comments (High Priority)
  2. Labels by Post Type (Site Navigation)
  3. Labels by Review Type (Site Navigation)
  4. Hierarchical History (Site Navigation)
  5. Blog Bounce (High Priority)
  6. Google Adsense Ads
  7. Shiny eBook Seller Ads
Postpages
  1. Current Comments (High Priority)
  2. Random Rambles (I see this has not taken off in popularity. Should I dump it? It adds to load times.)
  3. Blog Bounce (High Priority)
Basically, anything that isn't high priority isn't being displayed on the post pages. I *hope* that this will make the post pages load faster, although it's possible (I don't know for sure) that the widgets are still being loaded in the background but just not displayed. This may be browser-dependent, I don't know.

Weigh in on the changes in the comments -- I love to hear if people hate things so I can make them better!

    4 comments:

    chris the cynic said...

    When exactly do you make money? I remember you saying that with your Amazon affiliate thingy you only make money if one actually buys things, in which case you never get money from me there. Ditto if you make money from ads being clicked on because I don't do that, on the other hand if you make money based on the ad being viewed, in that case my viewing patterns might be of interest to you.

    I almost never go to the main page. Which means that if ads are on the main page only you'd be getting nothing from me. I usually jump from post to post using current comments and hierarchical history. Removing Hierarchical History from the post pages would give me reason to go to the main page (and I wouldn't consider it much of an inconvenience so there's no reason to keep it on the post pages on my account) but it would still be the case that most of the time I'm not contributing to your hopes and dreams of giant website cashflow.

    Brin Bellway said...

    I almost never go to the main page. Which means that if ads are on the main page only you'd be getting nothing from me. I usually jump from post to post using current comments and hierarchical history.

    Replace "hierarchical history" with "Google Reader" and you have what I was going to say.

    Pthalo said...

    I use the current comments widget to bounce from post to post as well, rarely going to the main page. I also have adblock turned on usually, but since you're my friend, I'll try to figure out how to turn it off for your site only.

    Ana Mardoll said...

    Based on the feedback given, Hierarchical History is now all all post pages, and Blog Bounce (which takes a bit to load because THUMBNAIL PICTURES) is on the homepage only.

    Post a Comment