Fork me on GitHub


Site Housekeeping

March 28, 2005 | Web Design & Development

Got a few improvements done on the site. Most notable being setting a cookie for comment data so you’ll be remembered the next time you come back and comment. As I write this I realize that I should enable the choice to be remembered or not, but for now it’ll remember everybody.

I’m not too worried about it remembering everything since the data in the cookie is encrypted using mcrypt. Each time you comment you’ll be assigned a new key and the data will be re-encrypted. There is a way I can make it even more secure but I’ll leave that for a future update as well.

Other site improvements were for me. I finally got the admin interface flushed out so that I could edit existing stories without a trip to phpmyadmin – I can do it right here in the site which responds much faster than phpmyadmin does. Pretty much all that is left on the admin side is to make a way to add categories for both the links and the stories and a way to add links. The only holdup is my laziness.

And now that I think of it I need to fix some encoding issues on submitting stories… those damn ampersands.

10 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  • Cookies? Can it be?

    John Pennypacker, March 29, 2005 11:23 am | permalink

  • Oh, glorious day!

    Although, the first time I tried to comment I got an error " 0" and was asked to check the link. I just clicked submit and it worked.

    and also, if no email is provided, it autofills "none" which fails validation.

    John Pennypacker, March 29, 2005 11:25 am | permalink

  • I think I know how to correct those.

    shawn, March 29, 2005 11:30 am | permalink

  • Ok, should be fixed now.

    I’ve noticed too that I’ve been getting some hangups on the site verification (the homepage is checked with CURL before accepted – bad urls are rejected) but I think what I did just now (added 0 as a valid code – 0 is curl saying OK to go) solved it.

    But now that I’ve said that…

    shawn, March 29, 2005 11:34 am | permalink

  • Cool, looks to be fixed now, except for some long curl access times. Don’t know why that is… or it could be the encryption. I’ll have to put in some trackers to see where the hangup is hitting.

    Unless you’ve got a debugger for OSX… I’d love to get one installed but haven’t really gone that far into tracking one down.

    shawn, March 29, 2005 11:36 am | permalink

  • Ok, works better now, in all its encrypted goodness.

    shawn, March 29, 2005 12:11 pm | permalink

  • I’ll be sure to let you know if I encounter any more oddities.

    John Pennypacker, March 29, 2005 8:24 pm | permalink

  • Be gentle.

    shawn, March 29, 2005 10:14 pm | permalink

  • As if it were a soft mount?

    John Pennypacker, March 30, 2005 8:42 am | permalink

  • exactly.

    Shawn, March 30, 2005 8:53 am | permalink

Comments are closed