Generate new pages dynamically?

slandry - June 9, 2009 - 14:50

Situation:

I'm working on a new site concept. It's about cities and towns in the US. I have a list of the states (50) and their corresponding towns (about 35,000+).

What I'd like to do is upload, copy/paste or import the list into Drupal and have it create all 35K pages dynamically. Just blank for now until I add the individual content later.

Questions

1. Is there a way for me to create a taxonomy without having to key each state and city individually?
2. How can I use the taxonomy to create the navigation California > San Francisco
3. Is the taxonomy the best approach for this problem?

Thanks so much for any responses!

1. you could take a look

Pixelstyle - June 9, 2009 - 15:19

1. you could take a look at:
http://drupal.org/project/taxonomy_xml
http://drupal.org/project/taxonomy_csv

2. you can do that using hierarchy and http://drupal.org/project/taxonomy_menu

3. Yes, certainly the most flexible

There's one thing that these modules don't solve. The pages still aren't created, just the terms and the navigation.

Huge leap forward!

slandry - June 9, 2009 - 15:24

Thanks for saving me the trouble of keying all these values one by one!

Once the taxonomy navigation is complete is there a way for me to add a "create this page..." (a la Wiki style?). As I have the content ready for the particular page?

 
 

Drupal is a registered trademark of Dries Buytaert.