Newbies tonydanza Posted September 27, 2005 Newbies Posted September 27, 2005 I'm new to filemaker so bear with me, I've done countless searches but have really not found an answer. My company has a large catalog database in filemaker, they want to show certain elements of the database online. ie. pricing, description and image. They do not want this live. They just want to output the information into an xml or php/mysql database and populate the webpage from that. The prices always change so we need to be outputting monthly and then updating the website. The graphic designer has a nice page layout, The layout calls for an image in one table or div tag, the pricing in another table or div tag and then the description in another table or div, these tables are seperate and not together and there is imagery, text etc. between them. So I need to call certain field information into different sections of the site. (if that makes sense) I know php but everything i've read requires you to host filemaker server advanced, which we have, but we do not want to host or put our entire database online. I;ve outputted via XML but how do I just get certain fileds and records from an inventory of thousands? I hope this makes sense and someone can point me in the right direction. thanks,
Martin Brändle Posted September 27, 2005 Posted September 27, 2005 You would restrict the export to certain records by searching them first in the database. Then you export chunks of XML by specifying the required fields only. During XML export, you can specify an XSLT file which transforms the XML to a final HTML piece. These HTML chunks (in different files) could then be included with server side includes (SSI). For all this, you would only need FM7, not FMS7A.
Newbies tonydanza Posted September 27, 2005 Author Newbies Posted September 27, 2005 Martin, Thank you for the very fast responce, The imagery are in container fields which doesn't seem to allow me to export via xml? Also I do not know anything about XSLT, could the same be achieved with CSS and XML. Or Is filemaker XML not recognizable without first stylizing it via XSLT. thank you for your time
Martin Brändle Posted September 28, 2005 Posted September 28, 2005 You have to export the images separately, because XML is basically text. XSLT is itself written in XML and defines rules to transform XML into something else, e.g. HTML. XML data ----+ +---> XSLT transformation ---> XML, HTML, text, something else XSLT rules --+ The XML produced by FileMaker cannot be used directly in a web page. Therefore you have to transform it. For learning XSLT, see e.g. the book by Beverly Voth, FileMaker Pro 6 : Developer's Guide to XML/XSL, Wordware Publishing, 2003.
Recommended Posts
This topic is 6994 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now