Closed Thread Icon

Topic awaiting preservation: OK, stupid question but. . . (journal stuff) (Page 1 of 1) Pages that link to <a href="http://ozoneasylum.com/backlink?for=12659" title="Pages that link to Topic awaiting preservation: OK, stupid question but. . . (journal stuff) (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: OK, stupid question but. . . (journal stuff) <span class="small">(Page 1 of 1)</span>\

 
CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 03-19-2003 15:43

This may be more suited for the Ozone forum but it has more to do with Server-Side than anything so. . . I have been using a Perl program for my journal on my site. I don't like 2 things. The archiving and there isn't a way for people to comment.

It is a flat file system. I am not sure that I can use a MySQL database or not. I have access to them but I am shareing the space with someone else and I don't want to screw anything that they have up.

How hard would it be to add a comments page and a nicer archive page. I would like to have something like twitch^ has on his site.

You can check my page out here

Thanks for any and all advice!

Later,

C:\


~Binary is best~

<edit>Stupid fingers</edit>

[This message has been edited by CPrompt (edited 03-19-2003).]

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 03-19-2003 15:58

CPrompt: It should be fairly straightforward to hack things so you can add those futures but it is going to get increasingly messy I suspect. I would probably recommend that you speak to the other person about using the MySQL database (it should be possible not to wreck things for them). If you go down the PHP/MySQL road bitdamaged has a blog script, DmS has a tutorial on a news script and I am working on a blog/news script (which seems to be working OK although it needs a few polishes ).

I think in the long run you'd probably be grateful if you made the move or switched to a better (full-featured) Perl blog script.

___________________
Emps

FAQs: Emperor

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 03-19-2003 16:45

hmmm. . . I will have to contact the other party and see if I can use one of the db's.
I think that I may get in touch with bit on this. If it's PHP I could "hack" my way through it. Perl is really confusing to me.

Thanks for the help.

quote:
(it should be possible not to wreck things for them).



This was a typing mistake right

Later,

C:\


~Binary is best~

[This message has been edited by CPrompt (edited 03-19-2003).]

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 03-19-2003 18:17
quote:
If it's PHP I could "hack" my way through it. Perl is really confusing to me.



So just write one in PHP =)



CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 03-19-2003 18:47

hmm. . . silly DL-44. I can "hack" my way through it. Meaning I can actually be able to tell what is going on and change things the way I need them. Simple stuff. The way things are displayed and so forth.

I tried that with my Perl script, and man! I screwed it up! I just tried to change the way the date was displaed and BAM! Damn thing didn't work. Had to go back and start all over from the original.

Any ol' hoo...

Later,

C:\


~Binary is best~

Piper
Paranoid (IV) Inmate

From: California
Insane since: Jun 2000

posted posted 03-20-2003 02:37

Hiya CPrompt

You can certainly convert the one you have to a MySQL DB and add the features that you want but it's not trivial for someone not familiar with perl. I would look for one that has all of the feature that you want and that is coded in php so it's easy for you to work with. And like Emps said, you should be able to set up what ever tables you need in a database without interfering.

If you're interested in doing this in perl, you'll need the DBI DataBase Interface module and the DBD::Mysql DataBase Driver module for MySQL. I also reccomend HTML::Template for your templates, keep your perl out of your HTML and your HTML out of your perl.

I actually find it much easier to work with MySQL DBs over flat file DBs in perl. MySQL can do a lot of the work for you and its *much* faster your data is over a MB or two.



[This message has been edited by Piper (edited 03-20-2003).]

JKMabry
Maniac (V) Inmate

From: out of a sleepy funk
Insane since: Aug 2000

posted posted 03-20-2003 04:40

very promising looking PHP MySQL open source blogging solution =)

twItch uses greymatter, which is perl, but it's very robust and has an easy admin for templating and lot's of hacks/good user community

Jason

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 03-20-2003 14:28

HEY Piper! Boy, you just kind of show up sometimes. Funny really. I was debating if I should email you or not. But you came to my need once again!

I am still waiting to hear back from the other party that I share the space with. He is not really into emailing me back when I have a question. Or any other time for that matter. Too bad it's my fiancee's brother Then again, it's free space

I am going to check out DmS's and Bit's scripts on my home PC. I can run it as a server with PHPDev (thanks to Pipers help). As soon as I hear back if I can use a db then I will give it a go.

Thanks for the help.

Later,

C:\


~Binary is best~

« BackwardsOnwards »

Show Forum Drop Down Menu