Well, since i have nothing better to do until i get a job, i figure i might as well learn something new and do something productive with it..
Anyways, i've been thinking of writing my own blog software/script/whatever..
The way i visualize it:
1. login to the entry page
2. type my current entry for the day
3. save it
Then the blogger will:
1. Update the main page with the latest entry
2. Cut the main page entry and keep it for x amount of days (example: keep the main page to have at most 10 days of entry)
3. Update the backup page that has all the entries (archives) that i've done until today.
I've never really used bloggers before, so i wouldn't know how it actually works. But i think that should be the general idea?
Anyways, here are my questions:
1. Should i make the changes/updates directly to the HTML pages?
2. If yes, that means i should make my HTML pages writeable.. Isn't that dangerous?
3. If no, should i keep individual entries as entry in database, or text files?
4. Which should be easier, writing it as cgi script, or php script?
I'm sorry i'm not a great writer, so if the above are confusing, please let me know. But the basic idea should probably be: How do i go about writing my own blogger for my site?
yes it's reinventing the wheel.. but practice makes perfect ,)
Thanks a lot. -)
Anyways, i've been thinking of writing my own blog software/script/whatever..
The way i visualize it:
1. login to the entry page
2. type my current entry for the day
3. save it
Then the blogger will:
1. Update the main page with the latest entry
2. Cut the main page entry and keep it for x amount of days (example: keep the main page to have at most 10 days of entry)
3. Update the backup page that has all the entries (archives) that i've done until today.
I've never really used bloggers before, so i wouldn't know how it actually works. But i think that should be the general idea?
Anyways, here are my questions:
1. Should i make the changes/updates directly to the HTML pages?
2. If yes, that means i should make my HTML pages writeable.. Isn't that dangerous?
3. If no, should i keep individual entries as entry in database, or text files?
4. Which should be easier, writing it as cgi script, or php script?
I'm sorry i'm not a great writer, so if the above are confusing, please let me know. But the basic idea should probably be: How do i go about writing my own blogger for my site?
yes it's reinventing the wheel.. but practice makes perfect ,)
Thanks a lot. -)