Apple iWeb & HTML now doing my head in... please help :'
anyone had experience with Apple iWeb?
iWeb spits out .html files, but for one reason or another, i need .asp files.
for static content, simply changing the filename from html to asp does the job...
BUT... for active content ie the blog or photos, this causes the page to not work!! !
yes, just by changing "photos.html" to "photos.asp" breaks the page (apple uses some kind of script to include the content, but i cant find any code js/css or otherwise that specifically looks for the presence of an html file)
this is really doing my head in... i cannot afford another server and i am stuck with the one i have for a few years. i dont want to have to use another authoring package as my site is due to go live in a few days. i have tried to use an asp page with an iframe to serve the html file but than the navigation and Google archiving breaks....
_________________
I'm a PC and Ubuntu was my idea.
My RSS feed:
www.steviecandtheplacetobe.net/rss.xml
nah, this isnt to do with filenames, not on the system explorer anyway.
its to do with the way that iWeb scripts the menu, photos and blogs, and that it is this scripting behavior that breaks when it is a "welcome.asp" calling the function instead of a "welcome.html".
im trying to figure out how this is even possible, so i can modify it so that it doesnt...
_________________
I'm a PC and Ubuntu was my idea.
My RSS feed:
www.steviecandtheplacetobe.net/rss.xml
curlyfry
Veteran
Joined: 13 Jun 2010
Age: 57
Gender: Female
Posts: 1,502
Location: Latitude : 45.373. Longitude : -84.955
I use a mac and ditched iweb for stk Webedit lite and using Komodo edit now with Firefox. The files simply would not translate correctly after I sent them to the server. Your better off going to W3schools.com and learning a bit of html, css and xml then you can pretty much do your own page from scratch or mod the iweb pages to translate correctly-cheers.
Last edited by curlyfry on 13 Nov 2011, 5:54 pm, edited 1 time in total.
Windows is significantly more dependent on file extensions; Mac applications can open documents that have no extensions, by actually analyzing the content of the file or other information about the file to determine what type of file it is and how to handle it, but Windows applications generally have problems doing this.
iWeb, on the other hand, is a WYSIWYG(What You See Is What You Get) program that is used to definitely is made for end users, to allow them to lay things out without having to modify the HTML files by hand.
ASP stands for "Active Server Pages", which are dynamically generated(meaning what's displayed on the pages depends on different factors, like time of day, the browser requesting the page, et cetera). Plain HTML files are static pages, meaning they don't change, and whenever the pages are requested they always look the same. iWeb generates very simple static pages which should work just by uploading them to a server.
".html" is the most appropriate extension for iWeb pages. Microsoft's IIS server may not be serving them correctly by default. Microsoft has likely done this to encourage people to use Microsoft's own technologies for development and to make using third-party applications like iWeb more difficult.
Here are some instructions to enable IIS to correctly display static web pages(which will mean you don't have to make any changes in iWeb): http://brendan.enrick.com/post/IIS-7-No ... Files.aspx
