LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-18-2007, 05:50 AM   #1
clpl1980
Member
 
Registered: Dec 2006
Posts: 32

Rep: Reputation: 15
HTML pages based on (access) db


Hi everybody,

I run a Fedora Core 5 server.
I'd like to install a solution for this need:

. I have a product catalogue in an MS Access file.
. I need to have an html page with the list of all products
. each product in the list must link to a detail html page

All the data must be taken from the Access file directly OR from a file generated manually from it (XML for example).

What solution could apply? (If any...)
thank you
regards
 
Old 01-18-2007, 06:48 AM   #2
erikalm
LQ Newbie
 
Registered: Jan 2007
Distribution: Ubuntu Edgy
Posts: 7

Rep: Reputation: 0
There is a thread on something similar to this... since I lost my password etc this would be my first post... and it cannot contain links... (even to this site) :?

anyway... go to /linux/answers/Applications_GUI_Multimedia/Moving_MS_Access_Data_to_Linux

on this site...
 
Old 01-18-2007, 06:49 AM   #3
erikalm
LQ Newbie
 
Registered: Jan 2007
Distribution: Ubuntu Edgy
Posts: 7

Rep: Reputation: 0
That is: http://www.linuxquestions.org/linux/..._Data_to_Linux

(should have thought about that...)
 
Old 01-18-2007, 06:59 AM   #4
clpl1980
Member
 
Registered: Dec 2006
Posts: 32

Original Poster
Rep: Reputation: 15
Thanks Erikalm,
your link was really interesting. But the main point is not ms access: my data could be in xml files too or any other format.

Still, how can I implement them into a HTML page?

Thank you!
 
Old 01-19-2007, 05:31 AM   #5
erikalm
LQ Newbie
 
Registered: Jan 2007
Distribution: Ubuntu Edgy
Posts: 7

Rep: Reputation: 0
Ah, I see...

Well,

While there might be problems just magically converting the database or XML to HTML there are several technologies that could be used, with some level of programming.

Using a database you could try to look at PHP (http://www.php.net/), or JSP (http://java.sun.com/developer/onlineTraining/JSPIntro/), or if you just want a small script to display the data without the server hassle, Perl (http://www.uga.edu/~ucns/wsg/unix/pe...roduction.html) might work.

However if you're having an XML file you could look into XSLT (http://www.w3schools.com/xsl/xsl_intro.asp) and an XSLT tool (there are several in Linux... I'm using a tool called XmlStarlet, but that is on Ubuntu, it may exist in Fedora too, otherwise I'm sure there are others for Fedora).

Anyway, what tool to select depends on what you want to do with it. If you just want to make HTML out of XML without having to install a lot of things or learning to use them, I'd go with the XSLT track.

If however, you want a direct connection to the database, to see updates in the database immediately in the HTML, and so on, you may be better off putting the data in a Linux native database and reading from it with JSP/PHP/Perl. This also goes for if you want to make arbitrary selections of the data, for instance sort it differently depending on user demand, or select just certain rows for instance as a result of a user query (you can search and select, with XSLT too, but preferrably not "on demand").

HTH

/E
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
duplication of data in html pages rblampain Programming 2 08-01-2006 10:03 AM
can't view html pages in IE thisObject Linux - Software 4 05-07-2006 10:55 AM
update HTML pages online paraiso Linux - Software 3 01-19-2006 07:01 AM
Cookie Sharing Between CGI generated HTML pages and standard HTML pages rkwhited Linux - Newbie 5 08-15-2004 07:39 AM
loading html pages with php BaudRacer Programming 3 12-03-2003 08:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration