Those articles have this to say about ranged flanking:
Now because of how everything is phrased, I suppose you could weild a dagger and 1-H crossbow, be flanking due to the dagger, and thus get sneak-attack with the crossbow. That seems against the intent of the rules, but probably not overly...