I have one page of content (a links page describing all my sites) that appears on all my sites which are all on the same server. Right now, if I make a change or add a new site, I need to edit each page on every site. I would like to be able to edit one page and have the changes appear on all sites. I assume I need some sort of script to do this but I don't know what language or even if I do need a script. Is this even possible? Any ideas of where to start... or where to start looking?
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
its easy to do that using php... something like a global declaration..
Unfortunately, I am not familiar enough with PHP to know what that means or how to use a "Global Declaration". And after a search for "global declaration" I am not much further ahead. If it can update similar pages on multiple sites, then I would be interested in hearing more.
PHP can include HTML from remote pages, for ASP you'll need to use what amounts to a scraper.
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
I would just do a Server Side Include, or, as I call them, HTML includes.
HTML Code:
<!--#include virtual="path to file/include-file.html" -->
Hope it helps!
- Steve
Now we are getting close I think, but how would bring just a part of the page that the info is on. For example, the content is inside an html page but I don't want to import the entire page as it would look odd on another site with a different design so I need to import just part of that page. Do I need to add some markers or something? How would the include then call just that section of the page?
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
Which would however mean uploading or syncing the text file to multiple sites, which is what EditFast is trying to avoid.
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
Well, that's it then. I will try it out later today and let you know if it works (or if it doesn't). Thanks very much for your help, Steve, and everyone here. It is appreciated.
A quick and easy way without using scripting is to use iframe to include those information on every page.
You still have to edit all the pages. Or use one of those editor that can search and replace across files.
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
« Reply to Updating multiple sites with the same content