I'm at the point with this cms that I'm building where I am customizing my urls. The possibilities for the types of media that will need to accessed are
article, video, audio, image, file & playlist
the two url types I have decided to choose from are:
type A:
mysite.com/article/{16 character id}
*obviously "article" would be switchable with any of the 6 types and {} would not actually be in the url.
type B:
mysite.com?media=a_{16 character ID}
a would = article and the other prefixes would be (au, v, f, i, pl). As above, there would be no {} in the url.
EDIT type C:
mysite.com?article={16 character id}
I'm sure you get it by now.
___
I'm not sure it really matters but here is a little bit more information: Playlist can be a playlist of anything (except files). I have to write some serious logic here because a mixed-media playlist is going to be interesting to handle. However if the playlist is not mixed it becomes more powerful. Here is the logic:
if all images - convert to slideshow. So, image playlist = slideshow
if all videos - create queue.
if all audio - populate player with all audio
if all articles - include pagination and convert to multi-part article.
no file playlist
however, if it is a mixed media playlist, I will probably have to paginate the entire thing. So, it would be like a multi-part article, each containing a new piece of media. I'm not sure if that is useful in any way, but I see no reason to exclude it's possibility.
Anyway, feel free to help me pick a type and add any other suggestions or comments you may have.
cheers
article, video, audio, image, file & playlist
the two url types I have decided to choose from are:
type A:
mysite.com/article/{16 character id}
*obviously "article" would be switchable with any of the 6 types and {} would not actually be in the url.
type B:
mysite.com?media=a_{16 character ID}
a would = article and the other prefixes would be (au, v, f, i, pl). As above, there would be no {} in the url.
EDIT type C:
mysite.com?article={16 character id}
I'm sure you get it by now.
___
I'm not sure it really matters but here is a little bit more information: Playlist can be a playlist of anything (except files). I have to write some serious logic here because a mixed-media playlist is going to be interesting to handle. However if the playlist is not mixed it becomes more powerful. Here is the logic:
if all images - convert to slideshow. So, image playlist = slideshow
if all videos - create queue.
if all audio - populate player with all audio
if all articles - include pagination and convert to multi-part article.
no file playlist
however, if it is a mixed media playlist, I will probably have to paginate the entire thing. So, it would be like a multi-part article, each containing a new piece of media. I'm not sure if that is useful in any way, but I see no reason to exclude it's possibility.
Anyway, feel free to help me pick a type and add any other suggestions or comments you may have.
cheers
Comment