Archive for July, 2008

IIS + PHP 404 hack for Wordpress

Wednesday, July 30th, 2008

Finally decided to fix and re-release this little code snippet.

You can have fancy urls for wordpress in IIS without any need for a url rewriter. Then again, this is really the only way I know to do fancy urls in IIS..

Anyway, simply take this code:

<?php
//404 hack
//by the mickelphin

//Get the end of the url
$urlstub = substr($_SERVER['REQUEST_URI'], strrpos($_SERVER['REQUEST_URI'],”:80/”)+4);
$_SERVER['REQUEST_URI'] = $urlstub;
$_SERVER['PATH_INFO'] = $urlstub;

//Attempts to repair corrupted get data, iis bug
foreach ($_GET as $id => $data) {
$_GET[substr($id, strpos($id,"?")===false?0:strpos($id,"?")+1)] = $data;
}

require “index.php”;

?>

And insert it in a file called 404.php in your blog directory.

Then open up IIS’s config and move to your blog directory. Open up properties for that, and go to the Custom Errors tab. Click on the first 404 entry [and only the first], press edit, change it to url, and put in ‘ /[your blog directory, if any]/404.php ‘.

Ok on out. In wordpress, change your permalink style to exclude index.php. ie simply: ‘ /%year%/%postname%/ ‘ or whatever.

And have fun. I’m using it now.

If you have any issues, feel free to leave a comment.

Amiga Demos

Thursday, July 17th, 2008

Let’s go back a bit shall we? Back to when I randomly posted Demoscene Demos on here.

Here’s a few demos by The Black Lotus, done for Amigas. Of course, the amiga they were using is fairly well modified with extra ram and etc, but meh.

Captured in WinUAE, so both have a fairly high framerate then on the real machine.

This one was ported to Atari Falcon. Here it is running on the machine [once again, fairly well modified]

Project Wonderful 1 Month Review

Monday, July 14th, 2008

Finally, after 1 whole month I feel experienced enough to do a preliminary review.

The really short version: It sucks.
The lesser short version: Project Wonderful is not good for content providers, however, for advertisers it’s a great low-cost way to do ads.

Our site’s average CPD [Cost Per Day] for our adspot [a add on the bottom of T.RScript.org] was 33 cents. 33 freaking cents for 10k ad views. Click ratio was about 0.15%.
For comparison, our Google AdSense click ad ratio has been 0.17%, and it’s average CPD is $2.

Project Wonderful: $0.02 per click, $0.04 per 1k views, $0.33 a day [338 clicks, 252k views, 31 days]
AdSense: $0.13 per click, $0.23 per 1k views, $2.01 a day [448 clicks, 252k views, 31 days]
[Both costs are AFTER the ad services take their cut]

Quite a big different if you ask me. Project wonderful is great for advertisers who want cheap ads, but suckage for content owners, with the low return we’ve been experiencing. Personally, I don’t think Project Wonderful is that well balanced as they say it is.

At least, not for smaller sites like t.rscript.org with only 10k views a day.

But, even on larger sites like PVPonline.com, it doesn’t seem to get the full value out of Project Wonderful. $20/day for 120k+ page views of your ad. Not sure about clicks, but I imagine it’s fairly decent, I’ve found a few things interesting on their adspace anyway.

In Conclusion: Project Wonderful Sucks for Content Providers; But Awesome for Advertisers. With it’s super-low cost per click ratio, the ratio of fairness between Content Providers and Advertisers is leaned heavily toward Advertisers.

————————-

Anyway, the ad place on the bottom will be removed later today once we have finally cleared the cash withdraw point of $10. Google ads, on the other hand, are making us about $60 for t.rscript.org.

Hopefully, the removal of that ad will help lighten the visual load. Also will allow us to add site statistics in it’s place as per the original plan.

That’s all for now. Back to working on Capped. And job-hunting. [Anyone need a PHP Dev? Contact me and I'll send my resume]