/    Sign up×
Community /Pin to ProfileBookmark

HTML site, easy client update

I have pretty good experince in HTML, but have a problem here I have heard of but never done. I have a client who wants a site built, but wants to be able to update the text on the site themselves weekly. They know nothing about HTML or code or PH or servers or anything, so I am looking for the easiest way to do this.

I assume I will hace to set them up a wasy they will have to connect to the server, but what I am more concerned about is getting them files that they can format like a normal text doc, then upload them, and the HTML will recognize the changes and the format. I’m sure this is possible and probably not to difficult, any advice would be appreciated, thanks.

to post a comment
HTML

10 Comments(s)

Copy linkTweet thisAlerts:
@sirpelidorSep 12.2006 — consider xslt. Your client can update the xml doc in real time, and have the xml doc display as xhtml doc on the browser.
Copy linkTweet thisAlerts:
@ray326Sep 12.2006 — Check out one of these: http://opensourcecms.com
Copy linkTweet thisAlerts:
@platinum2151authorSep 15.2006 — I found a simple way to do this, but it's quirky. I would like my client to be able to save a word .doc as a .html or a .rtf, anf just ftp them himself. So I know i can use an iframe or an object tag to fill in the content.

I hate iFrames, and the object tage has quirks. if the standard size of the table is smaller then the inported file, it adds a scrollbar automatically. Even with CSS styles it still wont stretch the table on it's own to better fit. If I could get it to do that ot find a tag that allows it I would be set. Any further ideas? This is the level of simplicity I am trying to stay with. Thank alot.
Copy linkTweet thisAlerts:
@saeSep 15.2006 — why not a php include?
Copy linkTweet thisAlerts:
@platinum2151authorSep 15.2006 — I tried, but I may be doing it wrong:

[B]HTML:[/B]

[COLOR=Navy]<tr>

<td height="100%" colspan="4" valign="top"><img src="images/amenities.jpg" /><br /><br />

<?php include ("amenities.php"); ?>

</td>

</tr>[/COLOR]


[B]PHP[/B]

[COLOR=Navy]<object data="amenities.rtf"></object>[/COLOR]

No idea wht this didnt work, but nothing showed up in the table. I also tried a SSI:

[COLOR=Navy]<tr>

<td height="100%" colspan="4" valign="top"><img src="images/amenities.jpg" /><br /><br />

<!--#include file="amenities.rtf" -->

</td>

</tr>[/COLOR]


Again, I may be doing this wrong, but again, no results. Any ideas or see any problems? Thanks.
Copy linkTweet thisAlerts:
@saeSep 15.2006 — did you save the html file with a .php ending (it won't work with a .html file)



[B]PHP[/B]

[COLOR=Navy]<object data="amenities.rtf"></object>[/COLOR][/QUOTE]

No idea what this the code above is but you don't need it. Just change amenities.php in the following code to amenities.rtf

&lt;?php include ("amenities.php"); ?&gt;
Copy linkTweet thisAlerts:
@platinum2151authorSep 15.2006 — Thanks alot for the help, I now see the problem I was making before. Now, what I get in the .rtf is a mess. It looks like encrypted script. I can see he correct text buried in there, it because the text is formatted? I see alot of descriptive text with font names and colors. I tried having it as an html format and it worked fine. The Only other question have is in that same .PHP script, can i format the text? The .html file does not hold the format of font and some symbols don't translate correctly. Is there a way to format the incoming text like a CSS style? Thanks again for all your help.
Copy linkTweet thisAlerts:
@saeSep 15.2006 — Is it because the text is formatted? [/QUOTE]

yes.

Is there a way to format the incoming text like a CSS style[/quote]

Yes, you can do some limited formatting. For example:

&lt;div style="color: #666666; font-weight: bold;"&gt;&lt;?php include....?&gt;&lt;/div&gt;
Copy linkTweet thisAlerts:
@platinum2151authorSep 15.2006 — Works perfect Thanks alot folks. This makes it so easy for clients. They can make .htm files in Microsoft Word, then just post them on the ftp from the browser. The PHP script will keep the format (color and font if you use a standard system font like Arial). Perfect.
Copy linkTweet thisAlerts:
@saeSep 15.2006 — No prob. bob!
×

Success!

Help @platinum2151 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...