Re: Adding Content Management to live site
| From: | Tariq Murtaza | Date: | Fri, 25 Oct 2002 05:14:36 +0000 |
| Subject: | Re: Adding Content Management to live site | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-121390@lists.php.net to get a copy of this message | ||
Hi olinux
I wonder how to do that :)
i mean converting static pages to database driven web site.
looking for your comments & sugessions / code
Tariq
olinux wrote:
Depending on the size and current format, you may want to import everything into the CMS. Might work well for searching etc. I recently converted our companies static website (11,000 pages - we're a magazine publisher) to a mysql database. Tough work, but not as gruelling as it sounds. I wrote a script to parse thru the static html files and grab the title article and date. Also made use of the naming conventions to construct the date. A couple days work to get something that worked accurately for the different article formats but well worth it. Putting together index page and archives pages is pretty much cake work. A simple query will grab todays news, the past week, a month from 2000 or whatever. You can email me if you'd like some code pieces. olinux --- Maxim Maletsky <maxim@php.net> wrote:You could leave the site links the way they are by working out a good logic within apache's mod_rewtire routine. So, basically you would install CMS for the site and forward there the whole site's used links accordingly. It's the most elegant solution, but not the easiest to accomplish. I have done that once for a site with over 600Mb of static pages. It was a site for the printed magazine. -- Maxim Maletsky maxim@php.net www.PHPBeginner.com // PHP for Beginnershttp://www.amazon.com/exec/obidos/registry/2IXE7SMI5EDI3www.maxim.cx // my Home// my Wish List: ( Get me something! )Tariq Murtaza <tariq@smeda.org.pk> wrote... :+--------------------------------------------------------------------Try postnuke.com Ashley M. Kirchner wrote:Management System to an already existingI need to add some type of Contentadding new articles every week,site. All my client wants to be able to do iswith those articles (addingand have the system update the main (index) pageThe criteria is that theexcerpts and keep a list of published articles.)now, just the management has to becurrent index page has to stay the way it isbeing done manually, every articlesomewhat automated. Right now everything isexcerpts written out by hand.manually linked in the index page and the littlefeed the current page to andCan anyone suggest a CMS program that I cansite into the CMS program?have it work without having to rewrite the wholetape somewhere.-- H | I haven't lost my mind; it's backed up on__________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/. 303.442.6410 x130Ashley M. Kirchner <mailto:ashley@pcraft.com>. 800.441.3873 x130IT Director / SysAdmin / WebSmith3550 Arapahoe Ave. #6Photo Craft Laboratories, Inc. .Boulder, CO 80303, U.S.A.http://www.pcraft.com ..... . . .http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- Tariq Murtaza Assistant Web Master Business Technology Team Small & Medium Enterprise Development Authority Government of Pakistan 1st Floor, Waheed Trade Complex 36-XX, Khayaban-e-Iqbal, D.H.A Lahore-54792, PAKISTAN Tel: (92 42) 111 111 456 Fax: (92 42) 5896619 Website: http://www.smeda.org.pk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: