I have been working again at using PageBlaster replacement rules along with data pulled out of my database via listX to make the dynamic data from www.AgingSafely.com's database change dynamicly on each of the sites we host's wet portals. I am testing / debugging this on our sample web site Basic.AgingSafely.com The Contact Information block is a ListX module who's Query contains the index for the data record. Hidden in the text between < noscript >< /noscript > tags a the pieces of data that I want to move elsewhere on the page. I have rules that I have used for 9 months now that move titles and descriptions to the correct spots. Note: Extra spaces around < and > are to keep Active Forumn happy Today's effort was to replace WebSiteVacancyToken with text inside < span id="WebSiteVacancy" >< /span > The actual text will come from the ListX {IIF,"'[Vac]'='0'","", "< h3 class='vacancy' >Currently Has Vacancy< /h3 >"} and should either be empty or a H3 statting that the home has a vacancy. The ListX part works ok. I though this would be really easy because I was replaceing text and not meta-tags. The rule looks like: Replace:
(.*?)WebSiteVacancyToken(.*?)< span id="WebSiteVacancy" >(.*?)< /span >(.*) With:
$1 $3 $2 $4 The result is that just this portal hangs "loading" forever. I have to edit web.config to disable PB via FTP and then tweak the rule. This process is repeated until the brain is fried. I should not have done this on my production server, but that is life. John I would suggest that there be an easier way to disable PB and editing web.config. Maybe in the global control panel. Any suggestions on degugging this, or on fixing the rule? /DaveS |