PHPWebSite for the Win

Just migrated the main portion of DarkCanvas to PHPWebsite. Note the new design, and expect my homepage stuff to migrate to that scheme soon enough.

Of course, I need to modify the living daylights out of the RSS feed thingy to allow comments on my LJ to work form there before that section goes live, but you know, it’s a start.


About Kevin Sonney

Kevin Sonney - who, contrary to popular opinion was NOT raised by wolves - grew up in central North Carolina. He fell into the technology field by accident in 1991, when he gave up the wild and crazy lifestyle of an on-air AM radio DJ to become a mundane technical support monkey. The technology industry has never really recovered from this. Kevin has worked for such names as IBM, Red Hat, webslingerZ, and Lulu Technologies (we won't mention the ones that didn't survive the experience). He currently works as a Linux Administrator for Apptio. In his spare time he rescues stray animals and plays video games with his two sons. His wife, we're sad to say, helps him get past the really hard bits. Kevin is still not very mundane, he just got better at hiding it.
This entry was posted in Uncategorized. Bookmark the permalink.

4 Responses to PHPWebSite for the Win

  1. detritus says:

    Go ASU! woot

  2. jay says:

    I was somehow the posterboy for this

    I have a really popular journal as a result ;-)

    Before I started pressing from WordPress to LJ I was using MagpieRSS previously and just putting another line for comments.

    i.e. a href=”$href?mode=reply”>[comments?]

    there is probably a more elegant way to do it but i never invested much time in it

  3. alchemist says:

    Currently I’m using the lastRSS class to grab the feed and parse it into an array, and massaging it on output. I may just modify the PWS rss add-on to something that’ll handle LiveJournal RSS feeds in particular.

    Here’s the lastRSS Snippit for completeness :

    $rss = new lastRSS;
    // setup transparent cache
    $rss->cache_dir = '/tmp';
    $rss->cache_time = 60; // one min
    $rss->stripHTML = FALSE;
    // load some RSS file
    if ($rs = $rss->get('')) {
        // here we can work with RSS fields
          foreach ($rs[items] as $item) {
            echo "<tr><td><h3><a href=\"".$item[link]."\">".$item[pubDate]." - ".$item[title]."</a></h3>\n";
            echo "<p>".$item[description]."</p>\n";
            echo "<div align=\"right\"><address><a href=\"".$item[comments]."?mode=reply\">Leave a comment</a></address></div></td></tr>\n";
    } else {
        die ('Error: RSS file not found...');
  4. jay says:

    Ah, never used lastRSS. Neat. I was playing with Magpie thinking I might suck in multiple rss/blog things but I basically post more pictures now than text.

    Hi, I’m blog apathy. :)

Comments are closed.