Agilo's Weblog (text-based version for ancient browsers) ------------------------------------------------------------------------------- You are seeing this page in the technology best suited for your browser. Enjoy your stay here and if at any time you feel the urge to see this page in its full glory I kindly and friendly suggest you to get a better browser. ------------------------------------------------------------------------------- --- Entry title: Auto Paragraphs! Date added: Wednesday, December 28 2005, 03:45PM Written by: Agilo (agilo3@gmail.com) Entry ID: 174 --- I wrote a small extension to my weblog that will create paragraphs from my entries. I used to just place a line-break after every line I type (even empty ones) but this way it's a bit more semantically correct (see the source to fully understand what I'm talking about). You can also see the source of my weblog (look for the paragraphs() function). It took me (literally) two hours to write it (I'm not really that great with regular expressions, but I have to say this was a real cool learning experience). I want to thank Matt for his auto-paragraph script, it helped me understand how to tackle certain problems I was facing. :) Also, I did get some presents on Christmas! It was on the second day of Christmas that I recieved a Sega GameGear and a small keyboard (Casio SA-10) from my brother and his girlfriend. Cool gifts, I'm playing with them daily now. :) At least I can play some keyboard again. :P -------------------------------------------------------------------------------