New Webomatica Home Page, Applying CSS To FeedBurner And Google Reader Shared Items

June 3rd, 2007

WebomaticaI just designed a new Webomatica home page. It has links to various parts of this site (including this blog) as well as featuring the five most recent blog posts and some articles I’ve decided to share via Google Reader.

Anyhow, I thought I would explain how I set up the sharing in Feedburner and Google Reader and what styles I applied to the resulting content, since doing this was a bit opaque.

1. Set up HTML sharing in FeedBurner.

Log in to FeedBurner. Click on your feed, click on the “Publicize” tab. Click on “BuzzBoost: Republish your feed as HTML”. You’ll see an area that contains the HTML code. It’s JavaScript that calls up the feed information from FeedBurner in the HTML page you paste it in. There are some settings below for the number of items to display and how many words from the article content to pull.

2. Google Reader Shared Items

If you use Google Reader, you can click the small “Share” icon at the bottom of any article in Google reader to share it. To get the embed code, click “Shared items” and then the link under “put a clip of your shared items”. You’ll get a pop up window with the embed code. I set mine to color scheme none, five items, and show item sources. Obviously, I wanted to add my own styling.

3. Write some styles

The FeedBurner items are in list form in a div called feedburnerFeedBlock. The headline has a span tag around it called headline.

The Google Reader items, similarly, are in a list contained within a div called reader-publisher-module. The cited source is enclosed in another div called simply s.

4. A plug for the Web Developer Firefox plugin

How did I figure this out? Well, there’s a cool plug-in called Web Developer Toolbar that helps you figure out styles and look at stylesheets quickly. I highly recommend it.

To analyze an element on a page, click Information in the toolbar, and select Display Element Information. Then click on any item on the web page you’re currently viewing in Firefox. In the yellow window that appears is listed the class hierarchy under Ancestors.

You can also look at the stylesheet used by any site once it’s loaded in your web browser by going to CSS > View CSS.

So the end result is a new home page, which I don’t have do barely anything to update: I just keep writing blog posts and occasionally share a few items in Google Reader and that’s it. Sweet.

10 comments!

  1. comment Gravatar Ross - June 3rd, 2007

    Dude.. that’s really well done.. colour me impressed :)

    ps. I’m Canadian yes there’s a u in colour.

  2. comment Gravatar webomatica - June 3rd, 2007

    Gotcha. Glad you like it. Pretty easy to do really…

  3. comment Gravatar Louis Gray - June 3rd, 2007

    Looks pretty sharp! I like the embedded Google Reader links.

  4. comment Gravatar MG Siegler - June 3rd, 2007

    Nice job Jason! I would definitely recommend Firebug as well if you’re looking for a good FF plugin to help with CSS, HTML and such.

    I plan on doing a site redesign at some point this summer - your pointers will be very useful to me…

  5. comment Gravatar webomatica - June 3rd, 2007

    Hmm Firebug… never heard of it; I’ll have to check it out!

  6. comment Gravatar MG Siegler - June 3rd, 2007

    I think you’ll like it, I have both and definitely prefer Firebug.

  7. comment Gravatar webomatica - June 3rd, 2007

    Wow, Firebug is some slick plug in… you can edit the style sheets on the fly?!? It deserves a post unto itself… maybe the coolest firefox plugins…!

  8. comment Gravatar MG Siegler - June 3rd, 2007

    Yep, thought you might like it - makes site editing A LOT simpler.

  9. comment Gravatar SpragueD - June 4th, 2007

    Congrats, Jason, on the redesign. And MG is right — Firebug is the debugger of your dreams.

  10. comment Gravatar Bodybuilding Central - June 7th, 2007

    Looks nice. Very informative blogpost. Thanks for the information.

Please comment!