Home Random Sh17cast Forums

I wanted to own my own number too

Sunday, May 13, 2007

Connected Internet did it, so now The Sh17 has one too.

D3 BA 82 70 B9 8A 2E A4 64 FE 30 C7 A6 53 1F 4A

We’ll come after you if you steal it!

posted by johntash at 1:37 am  

Sh17y Maintenance

Thursday, May 3, 2007

I’ve been cleaning up The Sh17 today and last night. The sidebar is less cluttered, and the little grey-red bullet things are cleaned up so they don’t look so out of place. I added the striped background h2 titles to separate more of the sidebar.

I removed the adsense bar at the top, and put one at the bottom of the sidebar instead. I installed Popularity Contest to show which posts are the most popular. You can see it on the sidebar between the Archives and Meta sections. It’s at the bottom of every post too(until I take it out)

There’s also one less post showing on the front page. I’m about to create a new page showing the best articles/posts and clean up the categories and whatnot. If anybody has any suggestions, now’s the time to tell me!

[tags]alex king,popularity contest,adsense, google,the sh17,news,website,wordpress[/tags]

posted by johntash at 5:49 pm  

Check out our Sh17tty forum!

Monday, April 23, 2007

After me and Jt yacked about it we decided the forum needed changed. And thanks to our lovely Jt it has been! So go check out the forum and see what you think:P

Gerg Jew

posted by Gerg Jew at 7:54 pm  


Monday, April 16, 2007

I would just like to let everyone to know we DO in fact have a working forum! So use it! Huzza! Theres all sorts of things you can do on it! like talk and stuff! wOOt!

Just a little reminder from your friendly neighborhood jew)

Gerg Jew

posted by Gerg Jew at 12:26 pm  

WordPress 2.1.3

Wednesday, April 4, 2007

I just updated WordPress to 2.1.3, and it looks like it went smoothly. Dreamhost has a neat one-click-install system that works pretty well; I haven’t had any trouble with it yet. I clicked upgrade and it sent me an email in a few minutes letting me know it was complete.

Also, if you click the Dreamhost link above and enter the referral code THESH17 then you’ll get $90 off your bill and we’ll get $7 for referring you.


posted by johntash at 1:42 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  
« Previous PageNext Page »

29 queries. 0.123 seconds.
Copyright © 2007-2010 http://www.thesh17.com