Apologies - this was originally inadvertently posted in FMP8 General discussion
I was thrilled to find the Set Variable script step, and I'm trying to use it with Export Field Contents to build simple web sites - I build the contents of an html file in a calculation field then export that field for each record in a looping script. All files are created as expected.
My problem is as follows:
The exported HTML looks and loads fine in a browser window except that (for some reason) the reference to my style sheet does not work. (It does find an img tag reference.) If I paste the contents of the field into a new (BBEdit) text file and save it to the same location, the same style sheet reference does work.
I know at first glance it looks as though I've got the path to the style sheet wrong, but that idea's negated by the fact that pasting the field contents into BBEdit works.
Intriguing: If I try to open the file exported from FMP8 in DreamWeaver, I get a totally blank document, however DW is perfectly happy with the file taken through BBEdit.
Any insights/suggestions?
TIA