I revamped my homepage and wanted to include the latest pictures I uploaded to ipernity. This is quite easy done in php, as IP provides a feed of your latest pictures as a php-array (see the feed help page)

The code I ended up with is as follows:

include 'www.ipernity.com/feed/doc?user_id=nils&only=photo&format=php';


print("<div class=\"ipernity\">");
        printf("<a href=\"%s\">\n",$feed["items"][$i]["link"]);
        printf("\t<img src=\"%s\" width=\"%s\" height=\"%s\" alt=\"%s\" />\n",
        if( ($i+1)%$linebreakafter == 0 && $i > 0)
                print("<br />\n");