Re: Seeking Simple Spot for Metadata
Phillip Pearson <[email protected]> Thu, 05 Feb 2004 16:43:11 +1300
| Newsgroups | gmane.network.syndication.discuss |
|---|---|
| Message-ID | <[email protected]> |
> <generic-code type="league" key="l.nhl.com" name="NHL"/>
>
> where that type attribute would be "sport" or "league" or "team".
>
> Seems silly to make up a new namespace for this, or to call in a
> SportsML namespace for just an unordered set of generic pieces of
> metadata.
It's not hard to make up a namespace -- from the looks of that element
it seems that you've almost done so with the "key" attribute.
Try:
<nhl:league>NHL</nhl:league>
with xmlns:nhl="http://nhl.com/nhl-rss-ns#" tagged onto the <rss>
element at the top of the feed.
XML namespaces are just what you want for unordered metadata ;)
Cheers,
Phil
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/syndication/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/