On 26 Nov 2015, at 17:34, Steve Litt wrote:

On Wed, 25 Nov 2015 21:18:25 +0100
"Leif Halvard Silli" <verktyst...@russisk.no> wrote:


This causes a problem: You are responsible for a collection of Web
pages
- such as a Web site - and you would like to hand over responsibility
of creating maintaining certaint fragments, only, to someone else.
You do not want to let that other person edit the entire page - you
only want him or her to edit that «Quote of today» section. Also, you
do not want to have to 'dig out' the useful fragment from a document
that contains lots of unnecessary stuff. You want the fragment to be
ready to be inserted once it has been edited.

**Solution? XHTML to the resque- In tandemn with XmlMindXmlEditor.**

Hi Leif,

Yours is indeed a cool solution, but it's not the only solution. The
solution I use is to invoke a very short javascript file,

Thanks for sharing!
 ...
Your way avoids Google's downgrading caused by external javascript. My
way removes the text the person edits into its own file and enables
multiple web pages to be modified by changing that one file. I think
what I did could be better accomplished by server side includes, but
I wasn't sure my web host would work with server side includes.

My generator (Freeway Pro: http://www.Softpress.com) also **publishes** the pages it generates. And the included file can be imported multiple times - in different pages of the site, too. I could use a server side thing, but because of Freeway’s publishing features, it feels simpler that way - then I may as well, very simply, test things locally before publishing. (The local testing is also possible in your case, of course - and even in the server side script solution - it just requires more work to actually do the testing ...)
--
leif halvard silli
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to