1 tag. 3 attributes. 148 tests.

In pre-response to the obvious question, Why is Atom autodiscovery so much more complicated than previous types of autodiscovery? … It’s not. Previous types of autodiscovery were exactly this complicated, they were just severely underspecified. I haven’t added any complexity here; this is just how HTML works.

And it’s not really that complicated. atomautodiscovery.py passes all these tests. There’s one extra line to normalize the attribute names and values, and the rest is the same as my previous autodiscovery tools. I will be rolling this into my Ultraliberal Feed Finder soon.

When we say that Atom is going to have better specs, validators, and conformance tests than anything you’ve ever seen before, this is what we’re talking about.

Enjoy.

§

Respond privately

I am no longer accepting public comments on this post, but you can use this form to contact me privately. (Your message will not be published.)



§

firehosecodeplanet

© 2001–9 Mark Pilgrim