As always, long time no post, hi! It is exciting times in the land of HashBox, and I've been super busy so haven't had much chance to even think of my blog, but hey, maybe that will change one day
:)
Anyway, recently I decided to put together my own "start page". This post is to show you all a screenshot along with the relevant code to help you to roll your own!
First up, here's what it looks like
:D

Yes, it turned out a bit girly, but I found the design to be quite refreshing. As you can see it makes use of many newer web technologies, including some great web fonts from the
Google Font Directory, and also some WebKit exclusive gradient rendering, among other CSS3 goodness.
I decided to use PHP to do all the processing for the page, here are some examples.
Here is how I've defined my newsfeeds:
'http://rss.slashdot.org/Slashdot/slashdot' => 'Slashdot',
'http://xbmc.org/feed/' => 'XBMC',
);
Notice I've left in the trailing commas in the array values, PHP doesn't have a problem with this and it has the benefit of letting you easily move lines around without having to worry.
The other important piece is a multidimensional array that defines the bookmarks which looks like this:
'http://deviantart.com' => 'deviantART',
'http://reddit.com' => 'Reddit',
),
'http://github.com' => 'GitHub',
),
);
Both of these arrays can then be easily traversed and printed, and in the case of the newsfeeds, the feeds are fetched using
lastRSS. The code for traversing these key/value arrays is very simple too:
foreach ($newsfeeds as $url => $desc) {
// Fetch and display
}
The email stuff is unfortunately not coded in PHP as my version of PHP was missing the IMAP library! So I resorted to calling some external Python, which feels admittedly a little hacky, but it works. I may post that in the future too.
That's all for now, hope you enjoyed my relatively long post
8)