When an entry contains a name instead of the default, it's no longer posible to retrieve the comments using a url like the following: http://weblogs.asp.net/cazzu/comments/commentRss/FireFoxCustomization.aspx The cause of the problem is in the config file,
where most regular expressions still assume a numeric page name: The expression should allow mixed letters and numbers. Please fix this in weblogs.asp.net as it's impeding me from retrieving comments programmatically for further analysis. Thanks.
Daniel Cazzulino | Clarius Consulting co-founder | Dev Lead
Actually, it shouldn't. The CommentAPI and CommentRss handlers only use the EntryID. I just tested your post above in RSS Bandit and it worked fine (both viewing and posting comments). HTH, Scott
Well, there's an inconsistency on the design, then. Looks to me like you started considering only the EntryID as the identifier, only to realize later that they make for horrible URLs (nobody will remember them). So you added the EntryName, but just as a hack,
because the EntryID is used for almost everything. Now, the situation is that I know the URL for my post based on my EntryName, but I don't the EntryID because it's generated behind the covers. Not good at all. The only way I can know this is by entrying the
admin mode, and retrieving the referrals for the post, for example, which is a URL that uses the EntryID instead of the EntryName. Say I want to have a feed in Bandit with only the comments of some post, with your implementation, it's (at least) very inconvenient
to so do. URLs are persistent. That's a pretty well stablished concept. But because your support for named entries is just a hack, you support editing it, which effectively breaks everyone linking to the post, as well as the indexed entries on search engines,
etc. Therefore, I believe .Text should consider there's a SINGLE identifier for the entry, either its name or an automatically generated ID. Make the field a string to accomodate both. Drop all the code that uses the int version. Unify all those overloads
that exist everywhere for the sole purpose of accessing by both values. And then you'll have a more consistent URL management than today. Thanks.
Daniel Cazzulino | Clarius Consulting co-founder | Dev Lead
None
0 Points
4 Posts
Can't retrieve comments using the RssCommentHandler "extension" for named entries
Jul 10, 2004 06:03 PM|dcazzulino|LINK
Member
4 Points
718 Posts
ASPInsiders
Re: Can't retrieve comments using the RssCommentHandler "extension" for named entries
Jul 10, 2004 06:57 PM|ScottW|LINK
http://www.scottw.com
None
0 Points
4 Posts
Re: Can't retrieve comments using the RssCommentHandler "extension" for named entries
Jul 10, 2004 07:27 PM|dcazzulino|LINK