IZh Posted December 7, 2005 Posted December 7, 2005 Hello! I have found that on some pages letter bars (in non-english languages) are present on web-site, e.g. http://dmoz.org/World/Russian/%d0%98%d1%81%d0%ba%d1%83%d1%81%d1%81%d1%82%d0%b2%d0%be/%d0%9c%d1%83%d0%b7%d1%8b%d0%ba%d0%b0/%d0%93%d1%80%d1%83%d0%bf%d0%bf%d1%8b_%d0%b8_%d0%b8%d1%81%d0%bf%d0%be%d0%bb%d0%bd%d0%b8%d1%82%d0%b5%d0%bb%d0%b8/ but not found in structure.rdf It it bug or feature? Are letter bars generated automatically? I thought that every letter bar should be presented in content.rdf. In what cases letter bars are described in structure.rdf? Is it depends on language? Thanks!
chaos127 Posted December 19, 2005 Posted December 19, 2005 Are you saying that categories such as http://dmoz.org/World/Russian/%d0%98%d1%81%d0%ba%d1%83%d1%81%d1%81%d1%82%d0%b2%d0%be/%d0%9c%d1%83%d0%b7%d1%8b%d0%ba%d0%b0/%d0%93%d1%80%d1%83%d0%bf%d0%bf%d1%8b_%d0%b8_%d0%b8%d1%81%d0%bf%d0%be%d0%bb%d0%bd%d0%b8%d1%82%d0%b5%d0%bb%d0%b8/%d0%94/ are missing cmpletely from the structure RDF, or that they are incorrectly marked as <narrow ....> rather than <letterbar ...> in the parent category, or that there is no element for them in the parent category? [ I think I'm currect in saying that <letterbar> functions just like a sub-category, and while the letterbar links are displayed on each of the letter sub-categories on dmoz.org (eg http://dmoz.org/World/Russian/%d0%98%d1%81%d0%ba%d1%83%d1%81%d1%81%d1%82%d0%b2%d0%be/%d0%9c%d1%83%d0%b7%d1%8b%d0%ba%d0%b0/%d0%93%d1%80%d1%83%d0%bf%d0%bf%d1%8b_%d0%b8_%d0%b8%d1%81%d0%bf%d0%be%d0%bb%d0%bd%d0%b8%d1%82%d0%b5%d0%bb%d0%b8/%d0%94/), in the RDF the letterbar elements should occur only once in the main parent category (eg http://dmoz.org/World/Russian/%d0%98%d1%81%d0%ba%d1%83%d1%81%d1%81%d1%82%d0%b2%d0%be/%d0%9c%d1%83%d0%b7%d1%8b%d0%ba%d0%b0/%d0%93%d1%80%d1%83%d0%bf%d0%bf%d1%8b_%d0%b8_%d0%b8%d1%81%d0%bf%d0%be%d0%bb%d0%bd%d0%b8%d1%82%d0%b5%d0%bb%d0%b8/). ]
IZh Posted December 19, 2005 Author Posted December 19, 2005 Yes, I was not exact. Such categories incorrectly marked as narrow instead of letterbar. I even see the combined case when in some category english letters was made as letterbars and russian as narrows. So, when parsing RDF I must use a guess: when there are more than one narrow and all points to subcategories with names that consist of one (and perhaps two: what about spanish ch, rr and ll letters?) characters long, then I treat them as letterbars and not narrows. Thanks.
chaos127 Posted December 19, 2005 Posted December 19, 2005 I've posted in our internal forums to see if someone can look into this. I presume it's an issue with the non-ascii characters not being identified as part of the alphabar (internally I think they're represented in exactly the same way as a normal sub-category, and the fact that they're single letters normally makes than come out differently).
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now