feed'd front page ready

Karsten 'quaid' Wade kwade at redhat.com
Mon Mar 31 21:31:48 UTC 2008


I updated the static snapshot with some changes in the content but
mainly the CSS.  

http://quaid.fedorapeople.org/websites/index-rss.html

This style has multiple feeds in one column, with some feeds pulling
only one update.  For FWN, this works to put up one entry that changes
weekly.  Today I noticed when I rebuilt the page that the same entry for
this week's FWN was up from the FWN feed and the fedora-announce-list
feed.  This is the state I captured in the current static page.

I tried setting a bottom-border style for the <li> element, but the way
the Python renders the page generates a new <li> for each item in a
feed.  This put a line under each title, which wasn't really needed for
readability, and didn't show any separation of feeds within one column.

Instead I used <hr> with a style wrapped in the #content <div>.  The
<hr> is brought in contained in an <li></li>.  This nicely forces a line
between actual <li> elements in the source that separate the actual feed
calls.  It's an OK hack.

How does it look visually?  I tried it in white and the current dark
gray.  In all of this, I updated the dashed lines to dotted, to match
the rest of the page style.

I'll note here that all of this is solved in the single-column style
that was put forth previously.  I'm beginning to get interested in doing
a single column version, as it would be useful under the banner widget
on start.fp.o.

In a single column, we can stack feed titles with the feed source:

        Planet Fedora
         Post title 1
         Post title 2
         Post title 3
        News
         FWN
        Announcements
         f-announce-l feed
         f-dev-announce feed
        Fedora Stories
         Post title 1
         Post title 2
        Red Hat Magazine
         Post title 1
         Post title 2
        Dev Fu
         Post title 1

... Karsten

On Mon, 2008-03-31 at 10:09 -0700, Karsten 'quaid' Wade wrote:
> This weekend I worked with the RSS bits that Ricky committed last week
> and put together a 100% functional feed-enabled front page:
> 
> http://quaid.fedorapeople.org/websites/index-rss.html
> 
> Of course, that is just a static copy, the real changes are in my git
> checkout.  I made a copy (using rsync) of my local repo to here:
> 
> http://quaid.fedorapeople.org/websites/fedora-web/
> 
> The changes include a new class for fedora.css.  Also, I used the
> rss.html that Ricky committed, changing it to be the feed using the new
> style, and then pulled that in to index.html with an XInclude.  Took a
> bit of wrangling to get the CSS to work right inside of the #content
> class, but I finally got it done and a bit improved from last time.
> 
> Unsure if this is the exact look that we want.  I recommend two things:
> 
> 1. We iterate on this design that I did and get it posted
> 2. Work on a better replacement, if/as we feel there is one needed
> 
> If you all agree, I'll be glad to make the changes into
> fp.org/data/content/index.html directly and commit them for further
> review.  Let me know if the git repo above is useful as-is, if I need to
> tweak something, or if you'd prefer that I post patches for review.
> 
> - Karsten
-- 
Karsten Wade, Sr. Developer Community Mgr.
Dev Fu : http://developer.redhatmagazine.com
Fedora : http://quaid.fedorapeople.org
gpg key : AD0E0C41
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-websites-list/attachments/20080331/8624a7ab/attachment.sig>


More information about the Fedora-websites-list mailing list