Football Drills and Football Coaching News

Coaching News and Website Updates by Coach Roth

  • Home
  • About

Welcome

Welcome to Football Drills and Football Coaching News.

Feed Rss

Aug 18
Digg
Stumbleupon
Technorati
Delicious
Website news

Continued with the migration of the old Guestbook

Add

Ok, with vim and a lot of search and replace (:%s/…/…/gc) I successfully transferred the whole guestbook into xml-format. BUT …

the entry-tags need an unique id-attribute… aaand the entry date needs to be transformed into unix-timestamp Smiley

a little perl-script (perl is another of my little helpers here) helps me with the id-thing and after a little research the perl-module Time::Local helps with the timestamp out of the parts of the date-time with a nice regular-expression…

Now… a php-script helps to convert the xml-information into SQL… and filter out some unwanted entries (guestbook-spam) and multiple entries (probably because of clicking the submit-button more than once) reduced to one…

and after about the 30th or 40th try always still with a little tweaking of the perl or php-script or even some straightening of the xml-file all the entries where correctly in the Database.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
Author: coachroth

No Comments

Comments RSS TrackBack Identifier URI

Leave a comment

  •  

    February 2012
    M T W T F S S
    « Sep    
     12345
    6789101112
    13141516171819
    20212223242526
    272829  
  • Similar Posts

    More about this here in this blog:

    • Started migrating the old “Discussion Board”
    • Started to migrate the old Guestbook
    • migrated “my first guestbook”
    • Added commenting of drills
    • More cleaning up of the old “Discussion Board”
  • Archives

    • September 2010
    • July 2010
    • October 2009
    • September 2009
    • July 2009
    • June 2009
    • April 2009
    • March 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • January 2008
    • December 2007
    • September 2007
    • August 2007
    • July 2007
    • June 2007
    • May 2007
    • April 2007
    • March 2007
    • February 2007
    • January 2007
    • October 2006
    • August 2006
    • June 2006
    • April 2006
    • February 2006
    • January 2006
    • December 2005
    • November 2005
    • October 2005
    • September 2005
    • August 2005
Recent Posts
  • FootballDrills.com now also on Facebook Footballdrills.com now has it's own Fanpage on Facebook ! So, if you are also on Facebook you are invited to join (see right border on the website - not the blog!)...
  • American Football in Ukraine needs support Today I received the following message from Borys Stepanenko via Facebook (emphasis done by me). They need equipment to be able to develop our great sport further in their country....
  • Video: Football Hill Running with Frank Gore and Duane Carlisle Remember when I posted the information about 49ers Headcoach of Strength & Conditioning and his Teleseminar and his Strength&Conditioning Program for all Levels? Well, here's a Video where he and...
Recent Comments
  • Calvin Pooyak: Hello im am currently looking at starting a mens tackle foot...
  • Coach T. Land: Congratulations Max! I know it's been a while since any of ...
  • doug: I would like to find more info about becoming a football coa...
  • Surcinski Vladimir: Hello from Serbia, we are also in same situation as american...
  • coachroth: This was a note about the Free Youth Football Camp in 2008 -...
  • Lawrence: Is the youth football camp in san leandro still on...
Copyright © 1997-2009 www.footballdrills.com
Theme design by Web 2.0 Themes. Supported by Free phplinkbid templates, Bid directory and Green cars info.
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.