Working on web feeds yesterday and today. This is really picky stuff. Very easy to make malformed xml. But I think I have all the main problems worked out.
But riddle me this - why does a link like this:
http://example.com/foo/bar/#123
not work in my feed reader (NetNewsWire), but this one does:
http://example.com/foo/bar#123
The first formation makes more sense to me since the 123 anchor is really attached to the implied index.html that would come after .../bar/ (i.e., .../bar/index.html#123 not /barindex.html#123) Neither way throws a parse error, but the first way just doesn't work as a link (I can click it, but it won't open in my browser,) while the second way works. Strange.
|
But riddle me this - why does a link like this:
http://example.com/foo/bar/#123
not work in my feed reader (NetNewsWire), but this one does:
http://example.com/foo/bar#123
The first formation makes more sense to me since the 123 anchor is really attached to the implied index.html that would come after .../bar/ (i.e., .../bar/index.html#123 not /barindex.html#123) Neither way throws a parse error, but the first way just doesn't work as a link (I can click it, but it won't open in my browser,) while the second way works. Strange.
- jim 5-19-2006 8:10 pm