On 14 Jul 2008, at 05:16, Shawn Walker wrote:

> The following webrev includes proposed fixes for the following bugs:
>
> 1324 RSS / Atom feeds of repository updates
>
> webrev:
> http://cr.opensolaris.org/~swalker/pkg-1324/
>
> Change summary:
> * Added a bytes_to_str method to make it easy to get a human-readable
> string representing a number of bytes in the largest IEEE Std
> 1212-1991 unit possible.
> * Changed face.py's page header output to include special alternate
> link so that live bookmarks work for RSS/Atom feeds in browsers that
> recognize it.
> * Changed server index page to include link to RSS/Atom feed.
> * Changed server index page to show last update to repository.
> * Added new feed module to generate RSS/Atom content.

This all looks pretty good. Is there any value in putting the pkg  
metadata in as separate XML elements, instead of just putting them in  
a text blob? That way external tools could process the feeds in more  
interesting ways.

Either something like:

        <pkg:maintainer>value of opensolaris.maintainer</pkg:maintainer>
        <pkg:ISA>value of ISA</pkg.ISA>

or to avoid mapping between package attributes and XML element names:

        <pkg:attribute name="opensolaris.maintainer">value</pkg:attribute>
        <pkg:attribute name="ISA">value</pkg:attribute>

Cheers,

Chris
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to