Connecting Tech Pros Worldwide Forums | Help | Site Map

Including files (without a web server)

griffithsj_520@hotmail.com
Guest
 
Posts: n/a
#1: Feb 9 '06
I have to create a web page to give to clients that is shipped on CD.
The idea is that they would open the page and it would display in their
web browser.

What this will do is to provide a list of most recent changes to the
software we're shipping. The idea is that there would be an un-ordered
list <ul/> with a list of changes (not sure of final desired mark-up).

What we want to do is to get the developers to edit a file that simply
contains a list of changes, putting in minimal markup. This "changes"
file would then be "included" in some way into a parent file that
contains all the branding and other information. We don't want the
developers to have to navigate their way around this parent file
looking for where to edit it.

As this page will be launched in a browser from disk, there won't be
any help provided by a web server, so I'm really stumped as to how to
accomplish this....could it be done with JavaScript at all?

All suggestions much appreciated.


Jukka K. Korpela
Guest
 
Posts: n/a
#2: Feb 9 '06

re: Including files (without a web server)


griffithsj_520@hotmail.com wrote:
[color=blue]
> I have to create a web page to give to clients that is shipped on CD.[/color]

That does not sound like a web page at all. It would be specifically
non-web use of HTML. However interesting it might be, it's by definition
off-topic in comp.infosystems.www groups.
[color=blue]
> The idea is that they would open the page and it would display in their
> web browser.[/color]

Well, that's a good idea.
[color=blue]
> What this will do is to provide a list of most recent changes to the
> software we're shipping. The idea is that there would be an un-ordered
> list <ul/> with a list of changes (not sure of final desired mark-up).[/color]

Apart from the foolish slash in <ul/>, the markup is fine. ObHTML: you
could also use <ol>; there's no big difference here.
[color=blue]
> What we want to do is to get the developers to edit a file that simply
> contains a list of changes, putting in minimal markup.[/color]

That sounds like a (trivial) authoring question. There is no general
solution, of course. But surely the effort of adequately and
informatively describing the changes (which, I hope, is the intent) is a
few orders of magnitude harder than slapping <ul> and </ul> around the
list and <li> at the start of each item. A software developer than
cannot learn to do this in five minutes should be... reassigned to
another job.
[color=blue]
> This "changes"
> file would then be "included" in some way into a parent file that
> contains all the branding and other information.[/color]

Why? _Now_ you are starting to create problems.
[color=blue]
> We don't want the
> developers to have to navigate their way around this parent file
> looking for where to edit it.[/color]

Why should they? You just ask them to deliver the information to you, in
a particular format. You then have someone who puts any additional
information (such as links) there.
[color=blue]
> As this page will be launched in a browser from disk, there won't be
> any help provided by a web server, so I'm really stumped as to how to
> accomplish this....could it be done with JavaScript at all?[/color]

You don't need any help, if you just don't start creating problems.

Using JavaScript for this would mean creating problems instead of
solving them. Why would you require your users to have client-side
script execution enabled, when you just want to display simple information.

This isn't about WWW authoring either, but as the lesser of evils, I set
followups to c.i.w.a.h.
Andy Dingley
Guest
 
Posts: n/a
#3: Feb 9 '06

re: Including files (without a web server)


On 9 Feb 2006 03:21:39 -0800, griffithsj_520@hotmail.com wrote:
[color=blue]
>What this will do is to provide a list of most recent changes to the
>software we're shipping. The idea is that there would be an un-ordered
>list <ul/> with a list of changes (not sure of final desired mark-up).[/color]

Use RSS. Excellent for this sort of task.

RSS 1.0 is more extensible than the others.
[color=blue]
> This "changes"
>file would then be "included" in some way into a parent file that
>contains all the branding and other information.[/color]

XSLT. Put the "branding" in the stylesheet and the "content" in the
RSS/XML. The a couple of lines of Perl / JScript / shell script calls an
XSLT engine and makes a HTML page out of the results.
Closed Thread