473,407 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

One stylesheet for different sites

Hello,

I use the same stylesheet for all the sites I manage (3 today, 4 as of
next Monday). When I change one sheet I simply copy it to the other
sites to keep everything in synch. Works beautifully so far. Trouble
is, it's a manual process that eventually will break down because of
human error. In other words, there's going to come a time when I'm
tired or distracted and make a change to the sheet on site A and
propagate that to C, D and E. This leaves site B with the old sheet.
If I then make a change to the B sheet and propagate that to all the
other sites, the changes originally made will be lost. What's the
answer? A batch file? A database maybe, or is that overkill? If anyone
else has struggled with this problem, or anticipates facing it, I
would like to hear their ideas.

Cheers

Nov 1 '07 #1
3 1480
On Thu, 1 Nov 2007, whitesmith wrote:
I use the same stylesheet for all the sites I manage (3 today, 4 as of
next Monday). When I change one sheet I simply copy it to the other
sites to keep everything in synch.
Just write, say,
<link href="http://www.w3.org/StyleSheets/home.css" ...
into all pages. The stylesheet may be on any other server.

--
In memoriam Alan J. Flavell
http://groups.google.com/groups/sear...Alan.J.Flavell
Nov 1 '07 #2
On Thu, 01 Nov 2007 15:07:50 +0100, whitesmith <ap*******@hushmail.com>
wrote:
Hello,

I use the same stylesheet for all the sites I manage (3 today, 4 as of
next Monday). When I change one sheet I simply copy it to the other
sites to keep everything in synch. Works beautifully so far. Trouble
is, it's a manual process that eventually will break down because of
human error. In other words, there's going to come a time when I'm
tired or distracted and make a change to the sheet on site A and
propagate that to C, D and E. This leaves site B with the old sheet.
If I then make a change to the B sheet and propagate that to all the
other sites, the changes originally made will be lost. What's the
answer? A batch file? A database maybe, or is that overkill? If anyone
else has struggled with this problem, or anticipates facing it, I
would like to hear their ideas.
I haven't checked it, but I'd think you can specify an external stylesheet
without any problems, so just one stylesheet online would do it.

Normally these kinds of file edits/updates are taken care off by systems
like CVS or Subversion (SVN). Edits/changes are commited to a repository,
one can easily update existing code with a single statement, you are
warned when a commit causes a conflict, and retrieving earlier versions of
the code is easy as pie.
--
Rik Wasmus
Nov 1 '07 #3
On Nov 1, 10:10 am, "Rik Wasmus" <luiheidsgoe...@hotmail.comwrote:
On Thu, 01 Nov 2007 15:07:50 +0100, whitesmith <apasse...@hushmail.com>
wrote:
Hello,
I use the same stylesheet for all the sites I manage (3 today, 4 as of
next Monday). When I change one sheet I simply copy it to the other
sites to keep everything in synch. Works beautifully so far. Trouble
is, it's a manual process that eventually will break down because of
human error. In other words, there's going to come a time when I'm
tired or distracted and make a change to the sheet on site A and
propagate that to C, D and E. This leaves site B with the old sheet.
If I then make a change to the B sheet and propagate that to all the
other sites, the changes originally made will be lost. What's the
answer? A batch file? A database maybe, or is that overkill? If anyone
else has struggled with this problem, or anticipates facing it, I
would like to hear their ideas.

I haven't checked it, but I'd think you can specify an external stylesheet
without any problems, so just one stylesheet online would do it.

Normally these kinds of file edits/updates are taken care off by systems
like CVS or Subversion (SVN). Edits/changes are commited to a repository,
one can easily update existing code with a single statement, you are
warned when a commit causes a conflict, and retrieving earlier versions of
the code is easy as pie.
--
Rik Wasmus
My thanks to Rik and Andreas for taking time to reply. I'll give both
approaches a try and see what happens.

Nov 2 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: techie | last post by:
Hi All, I have a portal working on an intranet for a company. The portal was designed keeping in mind the resolution of 1024*768. I am including a ..css file in all the files. Now i have to make...
6
by: Brian | last post by:
A question of minutiae: I will soon develop a site for a business. I hope to provide the client with enough knowledge about css and html that she can take it over when it's done and maintain it...
3
by: Brian | last post by:
Not really on topic, but it's interfering with my development a bit. I'm using Moz 1.3/Win 2k, and have the following declaration in my user style sheet. body.home { min-width: 90% !important ;...
2
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/authoring-faq Posting-Frequency: twice a week (Mondays and Thursdays) Last-modified: August 28, 2002 Version: 1.15 URL: http://css.nu/faq/ciwas-aFAQ.html...
0
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/authoring-faq Posting-Frequency: twice a week (Mondays and Thursdays) Last-modified: April 10, 2003 Version: 1.16 URL: http://css.nu/faq/ciwas-aFAQ.html Maintainer:...
3
by: David Blickstein | last post by:
Hi, I have a Schema and a number of different XSLT stylesheets to translate to different things. One stylesheet translates it to HTML. I'd like to generate the XML files such that when loaded...
15
by: Scott W Gifford | last post by:
Hello, We've got a Web-based application written in Perl that is designed to integrate as a frame into many different Web sites. We currently have several stylesheets available to allow the...
1
by: Mr Flibble | last post by:
I want my site to host a Default.aspx and a Default2.aspx page with one page being rendered using Stylesheet1.css and the other using Stylesheet2.css. So far I've just copied Default into Default2...
6
by: _Who | last post by:
I use the code below to change to a style sheet that has: body { ....
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.