I would like to be able to compile the business directory from a "database", in part because manually formatting them all as html and in part because I want to be able to add "extended" information such as hours without a lot of hassle. I propose this process:
Start with an initial list from other sources
Process that into our "database"
Use a script to format these into html, alphabetically and by category
Over time, call/visit each business to make sure the information is correct, and to gather missing information like hours
The "database" would really be a bunch of files in a "businesses" folder, roughly in the format of an "ini", since it's easy to deal with (or even parse manually) from a number of languages. My favorite way to "parse" one would be running . business/$NAME.ini from a loop in sh.
name=
address=
category=
phone=
hours=
Once we've got all of the information together, I would also like to make sure the businesses are added to the various online maps services.
I would like to be able to compile the business directory from a "database", in part because manually formatting them all as html and in part because I want to be able to add "extended" information such as hours without a lot of hassle. I propose this process:
The "database" would really be a bunch of files in a "businesses" folder, roughly in the format of an "ini", since it's easy to deal with (or even parse manually) from a number of languages. My favorite way to "parse" one would be running
. business/$NAME.ini
from a loop insh
.Once we've got all of the information together, I would also like to make sure the businesses are added to the various online maps services.