A website. With stuff on it.
October 29th, 2007 at 5:13 pm
Posted By: Jay
Posted in: Site News

Since I mentioned resurrrecting some of the stuff I had here before, I’ve had a couple of comments about the particleIllusion fan site I used to run. So I’ve put it back up! Please bear in mind this is an as yet unaltered upload of the original site from many moons ago. So not only does it look outdated, a number of the links and stuff are outdated too. The free emitter libraries etc are all intact though, so have fun!

I’ll set about updating it as I get time.

Linkie: particleIllusion Site 




October 29th, 2007 at 5:07 pm
Posted By: Jay
Posted in: Site News

I’ve finally got round to republishing a random selection of my artworks spanning the last 10 years or so. More as I find them… which is no mean feat, since they span at least 4 PC’s, most of which are not in operational order, and a bunch of randomly scattered and usually unmarked archive CD’s. And yes, you’re right, I’m kicking myself that I didn’t take better care of archiving my stuff. Problem is, when I get a spanking new computer, the last thing I want to do is fill it up with ‘old’ stuff. So I tend to pretty much start anew.

Still, there’s some more recent stuff there too - specifically the flurry of renderings I did when I got Vue 6.

Linkie: My Artwork! 




October 23rd, 2007 at 2:11 pm
Posted By: Jay
Posted in: Rambling

Judging by the deafening silence, I’m guessing I’m like the only person in the world who thinks this plugin is a good idea. Well, I guess I’ll be writing it myself, then.

Trouble is, whilst I think I know how I want to achieve it… I just don’t actually know how to write it.

As far as I can tell, the simplest way to do this would be to use a filter to find and replace a key word that I embed in the post content itself, and whilst I’ve found loads of examples on how to write WordPress plugins, I haven’t found one that seems to explain (at least in terms that I understand!) how to pass a variable to your function from the body of your post.

See, unless I’m going at this completely the wrong way, what I’d really like to do is be able to write, say <!– astore=cheese –> in my post, so that my function get_astore_links picks up the keyword ‘cheese’ and returns the relevant link from an associative array of links in my function - thus displaying my aStore category for cheese.

Sounds pretty simple to me, if only I knew how. Anyone know of some idiot proof documentation or a good example I can follow to achieve that?

I tried to pull apart some other plugins that did a similar thing, and all I really got out of it is that it involved regex, which I kind of knew already. But the plugins were way too complex for me to get my head round and decide which bits were or weren’t relavent to what I’m trying to do.

My brain hurts, so I’m going now.




October 17th, 2007 at 7:51 pm
Posted By: Jay
Posted in: Rambling

Well, almost perfection. Seriously! You could be forgiven for having reasonably low expectations of a game that is being bundled merely as ‘extra content’ with Valve’s much publicised Orange Box collection, which of course stars Half Life 2, Episode 2 and Team Fortress 2. However, Portal is an incredibly polished, well thought out game that leaves you open mouthed at times with it’s ingenuity. It certainly doesn’t lack a story, either. I won’t spoil it for you, but suffice to say it’s extremely engaging and has a fantastic climax. It’s evident this project is a labour of love for Valve.

The premise itself is fairly unique, presenting the player with a series of obstacle course style levels where they must simply travel from the entrance to the exit, mostly utilising the very cool Portal gun (it’s not actually called a portal gun!). Once you get the idea after playing through the well paced introductions to the various concepts and techniques you’ll need to use in order to accomplish the task, it does indeed become fairly simple. Sometimes you’ll spend a minute scratching your head until it suddenly dawns on you what to do, but generally it isn’t particularly taxing or frustrating… just a lot of fun to play.

If there are any down sides, they are that a) it’s being distributed via Steam (bleurgh. I loathe Steam) and that b) it’s altogether too short. I mean, really short. Like, you can comfortably play through the entire game in one sitting. There are a few nice little extras to be unlocked once you have completed the game - there are three types of challenge, which variously involve trying to complete previous levels in the least time, the least footsteps, or the least portals. There are also 6 advanced levels, which introduce new twists on some of the later levels from the game. Where I had very little difficulty completing the main game, these had me sitting staring blankly at the screen most of the time.

Still, there is apparently a level editor to come very soon, which undoubtedly will be a marginally modified version of the Hammer editor for the HL2 engine. So I really hope to see some new user built levels to play through. Unfortunately, and I may of course be displaying an undeserved lack an faith in level builders here, I suspect that they won’t measure up to the sheer genius of Portal’s default game levels.

To sum up: get it. Now!

Links:

Portal Trailer on Youtube

Official Website




October 15th, 2007 at 12:56 pm
Posted By: Jay
Posted in: Rambling

In my previous post, I talked about my wish list for a WordPress plugin that would display contextual embedded Amazon aStore chunk to follow posts and pages.

Let me tell you how I’m currently implementing the category specific (kinda!) aStore into WordPress without a plugin - at least, for pages, which is adequate for my needs at the moment. It’s a bit of a manual process, but it works. So if you wanted to implement it, you already can. You could also do this for other templates, such as ’single posts’, but you would need to add it to your original single post template, and wouldn’t have the same customisation options since you can’t select a per post template, so it’s very much an all or nothing affair without the as yet fictional plugin.

As I said previously, I chunked up my aStore itself into categories containing 3-6 related products so that I’m not bombarding the viewer with a dozen products in a huge long scrolling page.

I made a copy of my ‘page’ template, and obviously renamed it. After the loop, which probably ends in

<?php endwhile; endif; ?>

I added the code for my astore (in DIV tags which mean I can specify a css if I want to).

<div id = “astore”>
<iframe src=”
http://astore.amazon.com/yourstore” width=100% height=1000 frameborder=0 scrolling=no></iframe>
</div>

Now, whenever you want your aStore to appear within a page, you can simply select the aStore Page template when writing a page instead of the default page template.

To take it one step further towards my original needs outlined for the plugin, I then duplicated this page a number of times and renamed them according to the products they would display, substituting the default code above with a specific permalink to a given aStore category. The format of the permalink will look like this:

http://astore.amazon.com/yourstore?%5Fencoding=UTF8&node=1

where ‘node=1‘ relates to the index of your category. As I said before, you can get the permalink to each of your categories from the category section of your aStore.

So I uploaded these new pages to my theme, one for each chunk of the aStore I want to display, appropriately named. So, for example, you might end up with aStore-Page-Cheese1, aStore-Page-Cheese2, aStore-Page-Chocolate etc.

Now, as before, you can simply choose which template you want to use when you post a page. Hey presto, a very clumsy implementation of targeted products per page! Which I think adequately demonstrates the need for the proposed plugin ;)




October 15th, 2007 at 12:18 pm
Posted By: Jay
Posted in: Rambling

So, as the title possibly hints, I’ve been looking for a plugin for Wordpress that allows you to display all or parts of your aStore along with posts or pages. The idea is for another site of mine, and what I’m looking to do is add a ‘further reading and resources’ section that’s relavent to the posts. So far, I haven’t found anything that will let me do this, which is kind of surprising, really, given that it’s a really good way to monetize your blog or site with relavent content that isn’t tacky!

So I’m thinking of writing the plugin myself. Assuming I do, I figure I may as well release it for anyone else looking to do the same. So, I’m going to kind of spew my ideas here and ask a couple of questions. If you’re looking for a plugin to do this, maybe you could contribute to the comments? If you already know of a plugin that will basically do what I outline here, please let me know! I don’t want to reinvent the wheel, especially since I’ve never written a Wordpress plugin before, and will have to learn that first! :p

By the way, I am aware of various Amazon associate plugins, which for the most part seem to relate to the individual product link method of presenting your product content. I’m also aware of at least one plugin that will randomly pull in links from Amazon without any user interaction. These are great, but I want to make use of the aStore option specifically, and target my audience with my own carefully chosen products.

So here’s my thinking on the nature and features of this as yet fictitious plugin:

Firstly, whilst the Amazon aStore gives you a link to your main store when you do ‘get link’, it also shows a permalink to any given category in the category management view. You can use this link to display only a subsection of your store. Now given that you can embed an aStore right into your page/theme using their slightly awkward iframe code, this suddenly gives us some really cool options… which is precisely what I’m looking to exploit.

So as I briefly outlined above, what I initially conceptualised is that you would set up links to various categories at your aStore to tally with your categories on your blog. So that every time you post about, say, Cheese, it then lists a bunch of books about Cheese beneath the post, which neatly links to your aStore checkout etc.

That’s pretty neat, and incredibly simple, especially since it basically requires no user interaction, but it has limitations. Firstly, it only allows for one aStore category to link up with one Wordpress category. Oh, sure, you could give the user space to put in more than one and randomly link them, but how many slots do you supply per category? Two? Three? Ten? I dunno! Also, it would mean that, at least with a default Wordpress install where pages (as opposed to posts) don’t have categories, you couldn’t utilise it on a page.

So then I started thinking that category based is maybe not the way to go at all. Maybe the better way is to just allow people to have as many aStore categories as they wanted listed, and probably a drop down box on the post and page write/edit screen to select which bit of your aStore you wanted to display.

There are other advantages to this, too. Firstly, aStore is not all that configurable in terms of layout. As far as I can see, you can only present your aStore in a 3-across format, displaying all of your products in that category. Which kind of sucks, because you’re going to end up with a huge long page of products which entails endless scrolling at the bottom of your pages and posts. And that’s sure to annoy your visitors, if nothing else.

So my thinking is that you would divide your aStore up into more manageable pieces, utilising the categories to chunk up your content into the specific items you want to include with a post or set of posts. So if you’re still blogging about cheese, you can link directly to a subcategory that contains only 3 or 6 cheese related items, rather than spew dozens of products into every post. You will then potentially have 3 or 4 or even more Cheese related categories, and you can use these for variety and to maximise your sales potential on different posts and pages.

A further thought is that you (well, at least, I) don’t really want to display US based Amazon products to viewers in other countries. I’ve already implemented IP2Nation on my Wordpress install so that I can make an educated guess at the geographic location of the user. I figure, once I sign up to be an Amazon Associate in the UK and possibly other countries, it’d be much better to present products they can actually buy! This ought to be fairly simple to do - your plugin admin page would allow you to enter alternative URLs for different countries based on the two letter country code, and display the correct link based on the viewers location.

That, I think, will certainly work for my needs, and I think is a very neat solution to easily monetizing your blog with useful products that your viewer just might be interested in, rather than spewing vaguely related Adsense ads into every page. The beauty of utilising aStore is that it’s very easily configured and set up… far, far less work than using the individual product link alternatives, and therefore the available plugins that cater for this.

So anyone have any input? Category based or not? Some hybrid of the two? With the advent of tags in Wordpress 2.3, maybe tag based instead? That way you can utilise it for both pages and posts. But then how do you determine which  is more relavent? Display an aStore chunk for the first tag only? Allow user selection?

Can you think of a better implementation altogether? Or features it should have? Want to write the plugin? Comment below!