Home Comic Sh17cast Forums

Sh17y Maintenance VI and Top 5 Posts

Tuesday, December 18, 2007

  • Installed the WP-Super-Cache plugin for Wordpress.    It’s a replacement for WP-Cache that comes with Wordpress.    It’s supposedly a lot faster and so far seems like a good alternative especially since it supports gzip.
  • Changed the sitemaps.xml file around a little bit.  It no longer includes any Category or Archives type pages; Only actual posts and static pages.  This should stop google (and other search engines) from sending people to a category page instead of straight to the post they were looking for.
  • I did alot of cleaning of code and such that you people won’t notice, but it’s there anyway.   Hopefully it’ll speed things up a little bit.

Top 5 Posts on www.thesh17.com according to traffic:

  1.  40,000 Blowjobs from Belgium
    I’m too sure why this one is still getting a lot of hits. I think its from people searching google for “Blowjob“. Sick bastards
  2. Funny Motivational Posters
    We actually get more traffic from google for the term “Funny Motivational Posters” than from stumbleupon
  3. 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
    Everybody just wants to break the law I guess.
  4. Guitar Hero 3 Details and Song List
    Another one mostly from google search.
  5. I’mah firein’ up mah ion cannon.
    You’ll have to ask Kanchi why this is so popular. CnC3 has been how for how long?

We’re also starting a few other projects.   One of those being a webbased MMORPG.  More information will be posted when it becomes available.

posted by johntash at 8:49 pm  

Sh17ty Maintenance IV

Tuesday, June 19, 2007

  • I checked Google’s Webmaster Tools and saw a lot of 404 errors dealing with */Unknown
    • I don’t know what’s going on or why Google wants to add /Unknown to every link it finds. So I’m going to leave it alone for now.
  • I have my 404 error page set up to email me whenever it gets hit and there’s always tons of favicon.ico errors so I finally figured out the solution.
    • In my headers.php file I changed
      <link rel=”shortcut icon” href=”favicon.ico” >
      to
      <link rel=”shortcut icon” href=”http://www.thesh17.com/favicon.ico” >
    • Pretty easy fix. I was almost tempted to create a .htaccess rule to redirect all favicon.ico requests to that file until I realized it was my fault for not using an absolute path.
  • There’s a lot of 404 errors that look like this : http://www.thesh17.com/wp/2007/04/17/hot-fuzz-from-the-people-who-made-shaun-of-the-dead/feed:http://www.thesh17.com/comments/feed/
    • I don’t know how to fix this really. It only showed up recently so I’m hoping it’s just someone’s broken browser. As far As I can tell all links to comment feeds are correct and working.
  • The following pages were reported as not being reachable but work fine now.
  • There’s 272 urls being restricted by the robots.txt file and it cut my supplementary indexed pages down a lot. There’s 283 pages indexed by Google now.
  • Disabled the Shoutbox on the sidebar.
  • Removed the tag and category pages from the sitemap.xml file since they were being blocked by robots.txt anyway.
  • Disabled the Text Link Ads plugin.
  • Removed the Vizu Poll in the sidebar.

There’s some other things I did too, but I was bored and felt like listing these.

posted by johntash at 3:00 pm  

Sh17y Maintenance III

Thursday, May 24, 2007

  • I signed up for and started adding Text Link Ads to thesh17
  • Installed the beer-me plugin.
    • It’ll show a link at the bottom of every post to buy us beer. It’s better than asking for donations, right? A beer a day keeps thesh17.com running
  • Signed up for the AdGridNetwork
    • If it doesn’t bring any traffic to thesh17, I’ll probably remove it..
    • It’s at the bottom of the sidebar. Yell at me if you don’t like it.
  • DreamHost moved www.thesh17.com to a new host with less load so it shouldn’t take 5+ seconds to load the main page anymore.
  • Our forums are getting filled with spam.
  • I updated wordpress to 2.2 a few days ago.
  • I changed a lot of things with the site’s design and code, but it’s still basically broke in anything other than firefox. I’ll give somebody a dollar to fix it.
  • (edit)Fixed a few 404 errors with the category links and changed all of the category urls(not the tags)
  • (edit)Changed the robots.txt and sitemap.xml files

posted by johntash at 8:32 pm  

Embedded Video Plugin Modified to show videos in feeds

Friday, March 30, 2007

It’s been slightly annoying me that videos weren’t showing up in The Sh17’s RSS feed, so I decided to modify the plugin I’ve been using.

From the author’s page: jovelblog » Embedded Video with Link

V3.0 - 30.01.2007

* plugin ready for WordPress 2.1!
* removed video object in feed, just a link instead
* added video portal: brightcove, aniBOOM
* added support for local media files like mov, avi, mpg, flv, swf

I guess videos showed up in feeds up until version 3.0. I started editing the embedded-video.php file and around line 132 is where my modifications start.
Lines 132 to 159. All I did was comment out the if/else statement.
//if ( !is_feed() ) {
switch ($match[1]) {
case “youtube”: $output .= YOUTUBE_TARGET; break;
case “google”: $output .= GOOGLE_TARGET; break;
case “myvideo”: $output .= MYVIDEO_TARGET; break;
case “clipfish”: $output .= CLIPFISH_TARGET; break;
case “sevenload”: $output .= SEVENLOAD_TARGET; break;
case “revver”: $output .= REVVER_TARGET; break;
case “metacafe”: $output .= METACAFE_TARGET; break;
case “yahoo”: $output .= YAHOO_TARGET; break;
case “ifilm”: $output .= IFILM_TARGET; break;
case “myspace”: $output .= MYSPACE_TARGET; break;
case “brightcove”: $output .= BRIGHTCOVE_TARGET; break;
case “aniboom”: $output .= ANIBOOM_TARGET; break;
case “vimeo”: $output .= VIMEO_TARGET; break;
case “guba”: $output .= GUBA_TARGET; break;
case “dailymotion”: $output .= DAILYMOTION_TARGET; $match[3] = “nolink”; break;
case “garagetv”: $output .= GARAGE_TARGET; $match[3] = “nolink”; break;
case “local”:
if (preg_match(”%([[:print:]]+).(mov|qt)$%”, $match[2])) { $output .= QUICKTIME_TARGET; break; }
elseif (preg_match(”%([[:print:]]+).(wmv|mpg|mpeg|mpe|asf|asx|wax|wmv|wmx|avi)$%”, $match[2])) { $output .= VIDEO_TARGET; break; }
elseif (preg_match(”%([[:print:]]+).(swf|flv)$%”, $match[2])) { $output .= FLASHPLAYER_TARGET; break; }
default: break;
}
//} else {
// if a feed, overwrite nolink option
//$match[3] = “Link”;
//}


And I added this:

//add generic <noembed> so that feed readers that dont support it won't get confused
$output .= "<noembed>--There's a video here that you can't see. You should check out the blog post and watch it.--</noembed>";

Now. With any luck, video’s will start showing up in feeds. If the plugin doesn’t get updated anytime soon, I’ll extend it and just have it post a thumbnail of the video or something with a link to the post.

For a test:

posted by johntash at 6:36 pm  

Some optimizing to thesh17 downloading time

Tuesday, March 20, 2007

I followed the advice from gHacks and started optimizing thesh17 a little bit better.

I installed the css-compress wordpress plugin that automatically gzips .css files, and it reduced the (~)download time from 28.85 seconds on a 56k modem to 23 seconds. That alone is pretty good, but I decided to re-enable the normal gzip support in wordpress too, so that all pages are gzipped before being sent to your browser. This didn’t have much effect on thesh17, so it was still at 23 seconds.

I’ll still keep messing around with things I find, but for right now the main page is less than 100k with all images, scripts, and stylesheets loaded. On a T1 or a good cable connection that’s around 4 or 5 seconds. With any luck, I can get it lower. Check it out for yourself.

posted by johntash at 11:44 pm  

23 queries. 0.546 seconds.
Copyright © 2007-2008 http://www.thesh17.com