dblog-0.3 dblog is a utility I wrote trying to learn a little shell scripting. I wanted a blogging utility that would work on a default install of any major Linux distribution. I was also curious as to whether a blogging client could be implemented as a simple shell script. This is a very crude script. I am sure I could have done things in a much more efficient way. You might even get a good laugh or two looking at the script. I did. I plan to eventually rewrite the script in Perl. There is absolutely NO eye candy here. Contents: README - this file INSTALL - installation instructions dblog - main script template - template for individual blog entries gpl.txt - the GNU General Public License To run, just type: ./dblog from the dblog directory. You will then be given an opportunity to type in your blog entry. When finished, hit then and your entry will be uploaded to your website. That's it...! It does support HTML tags in the entry field but you must enter them correctly or it will break your final blog.html file. See the INSTALL file on how to customize your blog output. i.e. blog.html ############################ Caveats: #################################### When entering text, you can only correct the current line using the backspace key. Once your text is wrapped to the second line, for example, you cannot backspace to the first line to make corrections. If you find that you did make a mistake on a previous line, just hit and start over. Currently, there is no error checking as to whether the ftp upload completed successfully. In other words, if the ftp upload fails, it will not make another attempt. Therefore the current blog entry will not show up on your website until you run dblog again to enter another entry. One feature it currently does not support is limiting the number of days that appear on your blog webpage. For example, only showing the last two weeks worth of entries. This feature will hopefully be added soon. You can, however, manually delete entries by editing the blogs.dat file and removing certain entries. ###### This project was heavily inspired by the following projects: ####### tkblog by Tony Summerfelt. http://freshmeat.net/projects/tkblog/?topic_id=897 and genethumb by Samuel Hocevar. http://freshmeat.net/projects/genethumb/?topic_id=100 ############## Disclaimer & Limitation of Liability ############## # This software may or may not function as intended. In no event will # I, Don Shuff, be held liable for any damages, such as loss of data, # or other special, incidental, consequential, direct or indirect # damages arising from this software or the use thereof, however # caused and on any theory of liability. This limitation will apply # even if I have been advised of the possiblility of such damage. By # using this script you acknowledge that this is a reasonable # allocation of risk and agree to these terms. ##################################################################### Enjoy...! Don Shuff, June, 2002