Inspired by the Harry Potter Story Title Generator, I wanted to see how long it would take to roll my own using phpNonsense. As it turns out, about half and hour, with most of that time being copying-and-pasting possible protagonists' names and debugging the CSS.

You can find my contribution here. I tried to give it the flexibility to occasionally renderer some pretty plausible-sounding titles ("Viktor Krum and the Alliance of Flame", "Cedric Diggory and the Wizard's Hammer") and yet still have the capacity to spit out a few atrocities ("Harry Potter and the Rotting Monk", "Harry Potter and the Porcelain Justice") as well.

If you're interested in the data files, here they are.
  • The harrypotter.html.template file -- note, looks a little messed up without rendering the bracketed info, but might make more sense if you view the source

  • The harrypotter.data file -- lot of extraneous crap gets added to this by FreeStartHost, but that's the price I pay for not paying a price, I guess. The first line of the actual data files is "DEFAULT".

  • The missionwords.data file -- occasionally called by the harrypotter.data file, I think this is my favorite of the datafiles. 228 adjectives and 355 nouns, some apropos, most not.

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

.

Profile

sigma7: Sims (Default)
sigma7

Most Popular Tags

Powered by Dreamwidth Studios

Style Credit

Expand Cut Tags

No cut tags