This is the bug tracker for Photo Organizer.
FS#302 - Prettier URLs
Attached to Project:
Photo Organizer
Opened by Solomon Peachy (pizza) - Wednesday, 14 November 2007, 22:15 GMT
Last edited by Solomon Peachy (pizza) - Tuesday, 19 February 2008, 02:53 GMT
Opened by Solomon Peachy (pizza) - Wednesday, 14 November 2007, 22:15 GMT
Last edited by Solomon Peachy (pizza) - Tuesday, 19 February 2008, 02:53 GMT
|
DetailsThis will requrie the likes of mod_rewrite, but I'd really prefer to have something like:
http://somwehere.com/po/photo/8375309 http://somwehere.com/po/user/somebody http://somewhere.com/po/photo/8375309/album/1412 http://somewhere.com/po/photo/8375309/version/6345789 Unfortunately to do this, all URL generation would need to be centralized into a single set of functions, with argument sets passed in as parameters. (This is a good idea in general, FWIW...) |
This task depends upon
Closed by Solomon Peachy (pizza)
Tuesday, 19 February 2008, 02:53 GMT
Reason for closing: Implemented
Additional comments about closing: It's as good as it's going to get for now.
Tuesday, 19 February 2008, 02:53 GMT
Reason for closing: Implemented
Additional comments about closing: It's as good as it's going to get for now.
/tag/XXXX --> search for tag/keyword 'XXXX'
also, it should be /photo/###:#### if a version is desired; I'd rather just skip the explicit version thing.
Ongoing work involves moving URL generation into a single place. Once that's done with no regressions, we can add a "pretty URLs" config option.
Working:
http://somewhere.com/po/user/pizza
http://somewhere.com/po/user/2
http://somewhere.com/po/folder/220
http://somewhere.com/po/album/199
http://somewhere.com/po/photo/12345 # view master version
http://somewhere.com/po/photo/12345:67890 # view specific version
To-do:
/search/blabla
/tag/blabla
/image/12345:67890-3
/photo/12345-3 # the -X refers to the size code!
Perhaps /search/folder/blabla instead? what about /search/user/blabla or /user/blabla/search?
Further work will probably not happen.