NameSilo

Directory Names for Movies, Albums, etc.

SpaceshipSpaceship
Watch

Tripecac

Established Member
Impact
0
What are some best practices for naming directories after titles of books, albums, movies, etc.?

For instance, let's say you have a site that talks about Spielberg movies, and you want a directory for each movie. What sort of names make the most sense, in the long run?

Let's use "The Color Purple" as an example:

1) /movies/1985/The Color Purple/
2) /movies/1985/TheColorPurple/
3) /movies/1985/thecolorpurple/
4) /movies/1985/the_color_purple/
5) /movies/1985/color_purple/
6) /movies/1985/colorpurple/
7) /movies/1985/2/ (if it was his second movie of 1985)
8) /movies/1985/07/04/ (it it was released on July 4th)
9) /movies/1985/0123/ (some arbitrary movie ID)
10) /movies/0123/ (same ID, without the year)
11) /movies/1985_02/ (another ID, this time using a year plus a release number)
12) /movies/1985b/ (same idea, but using "b" instead of "2")
13) /movies/1985_TheColorPurple/
14) /movies/1985b_TheColorPurple/
15) /1985/movies/TheColorPurple/
16) /1985/07/04/movie/
17) /1985/07/04/TheColorPurple/
18) /movies/TheColorPurple
19) /movies/The Color Purple (1985)/
20) /TheColorPurple/
21) /the-color-purple/

And so on... Decisions need to be made about:

a) capitalization
b) word separators
c) completeness of title
d) dates
e) ids
f) categories (movies vs tv shows vs books, etc.)

Ideas?

Travis
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
hmmmm depends how the data is going to be shown

if there are going to be alot on a page use a unique id for each
or if its just a page with a link somthing small use number 3

keep everything lowercase
wouldnt recomend using word seperators or spaces
the completeness would help because you wont have to remember what the move is. it will tell you

if your going to have alot of movies i would sort them buy date yes, probably by year would be yes

give each film a unique id, will help for comments, browsing etc etc
 
0
•••
yep a unique id is good and it keeps everything in good order and not look messy
 
0
•••
Thanks for the replies!

Two more questions...


QUESTION #1
What happens if you have albums and songs?

You now have to choose whether to have a song be "within" an album, *or* have a song be a sibling of an album. Since a song can exist on multiple albums (compilations, live CDs, etc.), you don't have a clean tree (1-to-many) relationship but instead a web (many-to-many). To me, this is an argument for keeping songs at the same level as albums, but I'd like to know what you think:

Here are some options: (using "Beat It" on Michael Jackson's "Thriller")

1) /albums/thriller/beatit/
2) /albums/thriller/songs/beatit/
3) /songs/beatit/
4) /songs/b/beatit/ (a folder for each letter)

#3 will result in a TON of directories, but if you start adding dates or album names to the directory structure (e.g., /songs/thriller/beatit/ or /songs/1985/beatit/, you are basically forcing a 1-to-many relationship, which is imperfect in this case).


QUESTION #2
What about versions?

Let's say MJ has 10 different versions of "Beat It", some live, some studio, some recorded on different dates, some on the same date... How would you organize each of these versions, in terms of directories?

Let's say there's a version (the third) recorded live on Christmas 1987:

1) /songs/beatit/ (all versions discussed on one page)
2) /songs/beatit/version3.html (exposes file extension)
3) /songs/beatit/version3/ (subdir for each version)
4) /songs/beatit_version3/ (each version treated as a standalone song)
5) /songs/beatit_03/ (shorter version id)
6) /songs/beatit/03/
7) /songs/beatit/live19871225/ (verbose version name)

Which of these options is most likely to be usable and still around 20 years from now? Which makes it easier to add versions w/o shifting around page contents?

Thanks!

Travis
 
Last edited:
0
•••
There should be a consistent algorithm that turns a title into a directory name.

1) It should be "mindless" to apply; we should never have to make judgement calls. Given an input (a title), there should be only a single viable output (directory name). It should be automatable.

2) It should be flexible enough to handle "realistic" input in the current problem domain, but not much more. Flexibility is expensive. We shouldn't start thinking about movies and books if all we need to handle is music.

3) The algorithm should not influence the inputs. If we decide to map "Beat It" to "beatit", that might discourageMichael Jackson from releasing a song called "Be a Tit". Not cool. (either the title or the notion of the algorithm influencing the input) "beat_it" or "beat-it" would be better. "Beat It" would be perfect, except for the space and the capitals... *as long as* Michael doesn't release two songs by the same name. What about versions??? :(

Travis
 
0
•••
Wow, this board is quiet! Either that, or I asked a hard (or boring) question!

Is there a more appropriate forum for this kind of topic?

Travis
 
0
•••
Just keep the directory structure logical and simple. That should work best!
 
0
•••
Thanks for the reply! Unfortunately, "logical" and "simple" are exactly what I'm trying to define! :)
 
0
•••
Well, I was sort of pointing towards not using underscores or dashes...
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
Appraise.net

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back