Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Updating multiple websites

Options
  • 16-09-2005 10:16am
    #1
    Registered Users Posts: 597 ✭✭✭


    Hi all,

    This is a questions that may have a broads range of answers, but I was wondering what would be the best method of updating multiple websites.

    I have a client who has over forty websites sites, all with different skins, same content and located on different servers. The client has asked that the content of these sites be controlled by one file for obvious reasons (updating etc). So what would be the best way to do this - using XML?

    Thanks guys

    J


Comments

  • Moderators, Politics Moderators Posts: 39,933 Mod ✭✭✭✭Seth Brundle


    how is the content stored? Is it in a database and can it be accessed remotley?


  • Registered Users Posts: 597 ✭✭✭yeraulone


    Right now, the content is hardcoded into the pages.

    As I was saying theres over 40 sites and its about to grow further. Its a right pain in the hole having to update a page across all the sites!


  • Registered Users Posts: 2,934 ✭✭✭egan007


    it would be very easy to design a template and have a cgi cat resource files containing text
    So teh template would remain static but each site reads different text files


  • Registered Users Posts: 21,257 ✭✭✭✭Eoin


    egan007 wrote:
    it would be very easy to design a template and have a cgi cat resource files containing text
    So teh template would remain static but each site reads different text files

    I think it's the other way around - the templates change, but the content doesn't.

    Are the sites all on the one webserver?
    At it's simplest a server side include would do the trick, or you can have the content stored in a database.


  • Closed Accounts Posts: 7,145 ✭✭✭DonkeyStyle \o/


    40 websites with the same content presented in slightly different ways? O_o
    Sounds a bit dodgy? :eek:


  • Advertisement
  • Registered Users Posts: 2,934 ✭✭✭egan007


    sounds like a prn site


  • Registered Users Posts: 597 ✭✭✭yeraulone


    egan007 wrote:
    sounds like a prn site

    i wish - its casino affiliate sites.

    Thanks Eoin - the sites are stored on different servers.


  • Registered Users Posts: 21,257 ✭✭✭✭Eoin


    yeraulone wrote:
    i wish - its casino affiliate sites.

    Thanks Eoin - the sites are stored on different servers.

    So 40 files have to be edited on 40 servers? sounds nasty. Maybe you could use an IFRAME located on one central server? Or if you have control over the source code and servers XML is the way to go. For a simple example of using an XML parser, see here


  • Registered Users Posts: 597 ✭✭✭yeraulone


    Thanks again Eoin, half of them are on one server and the others are on different servers. Thankfully we do have control over the code and those servers so I hope that using XML might do the trick.


  • Moderators, Politics Moderators Posts: 39,933 Mod ✭✭✭✭Seth Brundle


    egan007 wrote:
    sounds like a prn site
    I think to research this further we need links! :D


  • Advertisement
Advertisement