I have a problem, i'm pretty sure there's no easy solution and maybe no solution at all but i guess i anyone can figure it someone here can:
I have a web domino based web site. Most pages are created using a Domino form that has a few RTF Fields. One called "mainbody" is an RTF field that contains the HTML necessary for that page. Other are for information such as what section of the site it belongs to, page name, remote user etc.
My problem is, someone want to use some pages, all the content is the same (eg. RTF field contents) except for my company name, which needs to be replaced with theirs. Any text matching "mycompany" should change to "theircompany" as they want to frame the pages within their site's design. I don;t want to create 2 seperate pages for each page they want (there's too many so maintainance will be a very big problem) so i want some way for notes to autmatically create either
- create a new page for them when i create/edit my pages that updates their page(or creates it) with their company name in place of mine.
- a way to copy the content from the RTF field to a new RTF field, update the company name at the same time so i end up with two RTF's containing almost identical content and then i can use roles to hide one or the other so my members see their version and there's see mine. I do all the hosting for both sites so this is possible.
Or if there are any other ideas on how to manage this content please let me know..BIG POINTS ON OFFER TO ANYONE WHO CAN HELP ME DO THIS!!!!
is set to 200 at moment...but whoever ends up getting those points will get a bonus (300 - 1000 pts) depending on how good their solution is.
PS: XML/XSLT solution may be considered, using domino 5.0