Unix Technical Forum

mySQL DB Database to HTML files (automatically create multiple static html files from a database)

This is a discussion on mySQL DB Database to HTML files (automatically create multiple static html files from a database) within the MySQL forums, part of the Database Server Software category; --> i need automatically create html files from a mysql db can be locally on in the server. any idea? ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 08:17 AM
fhelik
 
Posts: n/a
Default mySQL DB Database to HTML files (automatically create multiple static html files from a database)

i need automatically create html files from a mysql db can be locally
on in the server. any idea?

thank for any help

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 08:17 AM
Bill Karwin
 
Posts: n/a
Default Re: mySQL DB Database to HTML files (automatically create multiplestatic html files from a database)

fhelik wrote:
> i need automatically create html files from a mysql db can be locally
> on in the server. any idea?


"mysql --xml" outputs in XML format.

You can then filter using an XSLT template to produce your HTML files.
See http://www.zvon.org/xxl/XSLTutorial/...ok1/index.html for a
tutorial on XSLT.

Regards,
Bill K.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-28-2008, 08:17 AM
fhelik
 
Posts: n/a
Default Re: mySQL DB Database to HTML files (automatically create multiple static html files from a database)


Bill Karwin wrote:
> fhelik wrote:
> > i need automatically create html files from a mysql db can be locally
> > on in the server. any idea?

>
> "mysql --xml" outputs in XML format.
>
> You can then filter using an XSLT template to produce your HTML files.
> See http://www.zvon.org/xxl/XSLTutorial/...ok1/index.html for a
> tutorial on XSLT.
>
> Regards,
> Bill K.


i might work but is not automatic, i need a php file to put in the
server to i can run a cron job and makes the files in the server

but thanks it might help someone else

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-28-2008, 08:17 AM
toby
 
Posts: n/a
Default Re: mySQL DB Database to HTML files (automatically create multiple static html files from a database)


fhelik wrote:
> Bill Karwin wrote:
> > fhelik wrote:
> > > i need automatically create html files from a mysql db can be locally
> > > on in the server. any idea?

> >
> > "mysql --xml" outputs in XML format.
> >
> > You can then filter using an XSLT template to produce your HTML files.
> > See http://www.zvon.org/xxl/XSLTutorial/...ok1/index.html for a
> > tutorial on XSLT.


Great suggestion!

> >
> > Regards,
> > Bill K.

>
> i might work but is not automatic, i need a php file to put in the
> server to i can run a cron job and makes the files in the server


The 'mysql' command suggested can be automated by cron.

>
> but thanks it might help someone else


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:28 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com