S

Continued WordPress Post Numbering

13th June, 2009

My further experimentation led me to requiring the current number of a post which there is surprisingly little information about, so I ended up working something out from scratch.

I’ve posted it on the wordpress forum in case it proves useful for anyone else: http://wordpress.org/support/topic/245629

Update: Since this is now closed, I have included the code I made originally here:


function Get_Post_Number($postID){
$temp_query = $wp_query;
$postNumberQuery = new WP_Query('orderby=date&posts_per_page=-1');
$counter = 1;
$postCount = 0;
if($postNumberQuery->have_posts()) :
while ($postNumberQuery->have_posts()) : $postNumberQuery->the_post();
if ($postID == get_the_ID()){
$postCount = $counter;
} else {
$counter++;
}
endwhile; endif;
wp_reset_query();
$wp_query = $temp_query;
return $postCount;
}

Posted in Web Design by Simon

WordPress Post Numbering

12th June, 2009

A plugin that will produce similar links to those found at the bottom of a google or flickr results page.

http://wordpress.org/extend/plugins/wp-page-numbers/

Unfortunately this wasn’t quite what I was after, since it works with the existing pagination system of WordPress.

Tags: , ,
Posted in Web Design by Simon

Diane Gromula Artworks

3rd May, 2009

Two pieces highly relevant to my own project’s field are Excretia and The Living Book of Senses.

Diane Gromula

Diane Gromula's biomorphic font.

The biomorphic font changes according to biofeedback input from the user.

Wheatstone Bridge

23rd April, 2009

A possible means of measuring a specific resistance of an unknown component, skin for instance is to use a Wheatstone Bridge. Basically by measuring current across the centre of the bridge, and comparing the difference between one side which is a known value, the resistance of the unknown component can be obtained. If the unknown and known resistances were the same, then a current of 0V would flow through the centre.

http://en.wikipedia.org/wiki/Wheatstone_bridge

Hunt for GSR Measurement

20th April, 2009

My hunt for circuit schematics has obviously been ongoing for a while but I hadn’t really discovered much worthwhile until lately. Eventually I came across an excellently documented electronics project for producing a polygraph, one measurement of which it is taking is Galvanic Skin Response:

http://courses.cit.cornell.edu/ee476/FinalProjects/s2007/jsc59_ecl37/jsc59_ecl37/report2.html

Completed IPGL Website

23rd March, 2009

In between university work, I’ve made a website for IPGL Limited, based on the design for Matt Wreford’s personal website.

View the IPGL site.

About IPGL page


Read the rest of this entry »

Posted in Web Design by Simon

Useful DXUT DirectX Pages

10th March, 2009

Rather than simply tagging this page I thought it more appropriate to draw greater attention to it for myself:

http://msdn.microsoft.com/en-us/library/bb173254(VS.85).aspx

Non-verbal Social Communication in Virtual Reality

9th January, 2009

While searching for writing on forms of communication and a perception of social liberation in virtual worlds, I came across the journals of Nick Yee, exactly the sort of stuff I’m looking for for my dissertation. Here are the relevant links:

http://www.bioedonline.org/news/news.cfm?art=2789

Nick Yee’s homepage

Posted in Dissertation by Simon

Latest Journal Posts

RSS Feed

Additional