Stepwise ligand exchange for the preparation of a family of mesoporous MOFs.