Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XML Blogroll

From: Simon Brooke <simon@-------.---.-->
To: NULL
Date: 4/4/2007 11:03:00 AM

in message <1175625925.144174.284790@n...>,
dlcacuff@g... ('dlcacuff@g...') wrote:

> On Apr 2, 11:57 am, dlcac...@gmail.com wrote:
>> What other attributes would be needed for an XML formatted blog-roll?
>> Can you help me add to this format / code.
>>
>> <?xml version="1.0"?>
>> <blogRoll>
>> <blog>
>> <blogName>My Blog</blogName>
>> <blogDescription></blogDescription>
>> <htmlURI>http://www.myblog.com</htmlURI>
>> <xmlURI>xx.rss</xmlURI>
>> </blog>
>> </blogRoll>
> 
> Possibly a tag the blog was <lastUpdated/> or <blogAdded/> ?

Better an attribute, surely? Indeed, several of those things should be
attributes - blogName, htmlURI and xmlURI are definite candidates. Once
you've done that the only content of the <blog> element is the
description:

<?xml version="1.0"?>
<blogRoll>
    <blog name="My Blog" htmlURI="http://www.myblog.com" xmlURI="xx.rss">
        Description of my blog.
    </blog>
</blogRoll>

Incidentally I think mixed case, studly caps and so on in element or
attribute names is a mistake. I know this because I've done it myself, and
it is a prime cause of bugs which are absurdly hard to spot. Stick to
either all uppers or (preferably) all lowers.

-- 
simon@j... (Simon Brooke) http://www.jasmine.org.uk/~simon/

        ;; Women are from Venus. Men are from Mars. Lusers are from Uranus.


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent