** Changed in: openfontlibrary Status: Fix Committed => Fix Released
-- You received this bug notification because you are a member of Open Font Library Developers, which is subscribed to Open Font Library. https://bugs.launchpad.net/bugs/747994 Title: font families need pretty URLs Status in Open Font Library: Fix Released Bug description: The URL representation for specific fonts within font families can be generated in this way [root]/font/((family_id))/((family_name))/((font_id))/((sub_family)) For example, the profile page for PT Sans Bold Italic would exist on the URL: http://openfontlibrary.org/font/3/pt-sans/17/bold-italic The slight disadvantage of this scheme is that it includes id numbers for both the font family and font file in the URL. The advantage is that it entirely mitigates the risk of name collisions across the entire system. In the final analysis the advantage outweighs the disadvantage. In the case above, the value of pt-sans and bold-italic are generated by running the value of ((family_name)) and ((sub_family)) through AIki's URL generator. However, the actual selectors for the database are the URL arguments (!(1)!) and (!(3)!) for family_id and font_id respectively. To fix this: On the home page and font list page, generate links to each individual family using the above scheme. On the individual font page, read in the values of (!(1)!) and (!(3)!) _______________________________________________ Mailing list: https://launchpad.net/~aikiframework.admins Post to : aikiframework.admins@lists.launchpad.net Unsubscribe : https://launchpad.net/~aikiframework.admins More help : https://help.launchpad.net/ListHelp