Server Side Includes with formatting

  • mister harbies
  • Novice
  • Novice
  • mister harbies
  • Posts: 25
  • Loc: Auckland, New Zealand

Post 3+ Months Ago

Hi,

I have been trying to create a server-side include using a Microsoft Word document with formatting and images. Does not work. Hmm,

So anyone out there know how to embed a WORD document or another file format with formatting into the html?

I am aware of CGI, but I have looked at it, and do not feel ready for that stuff.

I just simply wanna make a website template and then have the content and images updatable for the client (actually just a friend! LOL)

Thanks
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • fional24
  • Graduate
  • Graduate
  • fional24
  • Posts: 125
  • Loc: Scotland

Post 3+ Months Ago

Why dont you create the site and then get a hold of macromedia contribute for your friend to update the site with? Using this software is just as easy as word when it comes to updating, and it means you're not messing about with includes.

Contibute will be able to handle all of your formatting, whether its plain html styles or css. So your friend will just have to add their content then let style sheet etc.. handle the presentation
  • diverdan
  • Beginner
  • Beginner
  • diverdan
  • Posts: 46
  • Loc: Alabama, USA

Post 3+ Months Ago

i'm guessing you are using php,

if you are, you can include microsoft word documents with the include() function

I've used it on a site or two in order that large calendars can be added and edited by users (my dad :) ) easily
  • mister harbies
  • Novice
  • Novice
  • mister harbies
  • Posts: 25
  • Loc: Auckland, New Zealand

Post 3+ Months Ago

seems like I have to learn php. I am going to have another look at it and see if I can do something.

In the meantime if anyone else has other suggestions, put them here for me and others too.

Thanks
  • diverdan
  • Beginner
  • Beginner
  • diverdan
  • Posts: 46
  • Loc: Alabama, USA

Post 3+ Months Ago

i just remembered something - you can save Word documents as html files (their sizes are huge but still) then you shouldn't have too much of a problem including them in a website

if you want to do it with php then do this:
Code: [ Select ]
<?php
include('word_doc.htm');
?>
  1. <?php
  2. include('word_doc.htm');
  3. ?>
(where word_doc.htm is the name of the file, including the path to it)
wherever you need it included in the page

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 66 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.