homepage Welcome to WebmasterWorld Guest from 54.196.63.93
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

    
Converting a FrontPage site to PHP or HTML
Nelp needed!
Karma

5+ Year Member



 
Msg#: 4526586 posted 12:08 pm on Dec 10, 2012 (gmt 0)

Hi,

I have recently acquired a website that was built using frontpage and frontpage extensions.

I'd like to transfer the site away from the current host (my host doesn't support front-page extensions) and convert to standard HTML or PHP files.

Does anyone have any advice/tips? I've no idea where to start.

 

lucy24

WebmasterWorld Senior Member lucy24 us a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



 
Msg#: 4526586 posted 6:04 pm on Dec 10, 2012 (gmt 0)

You have to start by deciding between html and php.

HTML is easiest in the short term: essentially you just scrape yourself (ouch!) and then the resulting raw html becomes your new pages. PHP is necessary if there are dynamic parts of your site: things that will be changing without your hands-on involvement.

If you don't already speak php, and you need to change the site right away, you can always put it into html for now, and then change it later. Or, ahem, slither into it sideways by moving from plain html to ssi's to php includes* to complete php pages.

:: pause here for someone else to insert plug for extensionless URL so user doesn't see the difference ::


* Pause here to ask the heavens where the blasted variable got to, if it's neither local nor global, because it can't just disappear can it?

g1smd

WebmasterWorld Senior Member g1smd us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4526586 posted 6:07 pm on Dec 10, 2012 (gmt 0)

HTML is the code that the browser sees, and it marks up the content as headings, paragraphs, lists, tables, forms, images and links.

PHP is a scripting language that runs on the server and can output HTML pages. The two things are not at all the same.

If the URL ends .html that might give a clue the site runs on static flat files. If the URL ends .php that might give a clue the site runs on a PHP scrript.

Images, stylesheets and javascript files always need an extension on the end of the URL. There's no need to have an extension on the end of any of the URLs for pages.

Karma

5+ Year Member



 
Msg#: 4526586 posted 6:27 pm on Dec 10, 2012 (gmt 0)

Hi,

I already speak PHP, but know nothing about Frontpage and frontpage extensions - seems a bit Yuk!

Anyway, I have scraped the entire site and I now have a bunch of .htm files.

Still not too sure what the point of front extensions is if it's just html anyway...?

I'll be converting the entire site over to PHP (using includes).

This'll be fun! :(

g1smd

WebmasterWorld Senior Member g1smd us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4526586 posted 6:50 pm on Dec 10, 2012 (gmt 0)

The frontpage extensions allowed frontpage to manipulate common elements on multiple pages at the same time. For instance, the navigation bar could be defined as a common piece of code and frontpage would drop it into every page. If you edited the navbar, frontpage would update every page of the site without you having to edit every page individually. The extensions also synchronised the local copy of the site on your PC with the remote copy of the site on the server. There were many other functions available, most of them proprietry.

Nowadays, you're much better off to have the navbar as a small piece of code in a separate file and then use the PHP "include" directive on each page where that code should show up. PHP also allows a lot more things than frontpage could ever do.

Once you're fluent with PHP, learn mySQL or a later variant, so you can then move onto full CMS systems with the page content stored in a database.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved