<% dim pagename : pagename = request.ServerVariables("PATH_INFO") dim sdc : Set sdc = new cSeoDashboardClient dim spd : Set spd = sdc.GetPageDataByName(pagename) Class cSeoDashboardClient dim Sitekey Public Function GetPageDataByName(PageName) SiteKey = "09fc2a5a-48c3-40f1-a3a7-73f8b0f08b1e" dim seoPageData Set seoPageData = WSGetSEOPageData(PageName) Set GetPageDataByName = seoPageData End Function Private Function WSGetSEOPageData(PageName) Dim seoPageData Set seoPageData = new cSeoPageData Dim myXML Dim SoapRequest Dim SoapURL Set SoapRequest = Server.CreateObject("MSXML2.XMLHTTP") Set myXML =Server.CreateObject("MSXML.DOMDocument") myXML.Async=False SoapURL = "http://SEOMDashboard.USDM.net/SEOMDashboardWebService.asmx/GetPageData?SiteKey=" & SiteKey & "&PageName=" & PageName SoapRequest.Open "GET", SoapURL , False SoapRequest.Send() if Not myXML.load(SoapRequest.responseXML) then 'an Error loading XML 'Put some code here to let us know that the webservice call failed. 'seoPageData.TitleTag = "Page didn't load. - " & SoapRequest.responseText Else 'parse the XML Set seoPageData = LoadSEOPageData(myXML) End If Set SoapRequest = Nothing Set myXML = Nothing Set WSGetSEOPageData = seoPageData End Function Private Function LoadSEOPageData(myXML) Dim seoPageData Set seoPageData = new cSeoPageData Dim nodesPageID Dim nodesSiteID Dim nodesSEOPageName Dim nodesDynamicPageName Dim nodesTitleTag Dim nodesKeywordTag Dim nodesDescriptionTag Dim nodesRobotTag Dim nodesAuthorTag Dim nodesAltAttributeLogoImage Dim nodesAltAttributeMainImage Dim nodesAltAttribute1 Dim nodesAltAttribute2 Dim nodesAltAttribute3 Dim nodesSEOContentPage Dim nodesSEOPageContent1 Dim nodesSiteGoogle Dim nodesSiteYahoo Dim nodesSiteMSN Dim nodesSiteWebTrends REM -- The XML Nodes are CASE SENSITIVE! Set nodesPageID=myXML.documentElement.selectNodes("//SEOPageData/PageID") Set nodesSiteID=myXML.documentElement.selectNodes("//SEOPageData/SiteID") Set nodesSEOPageName=myXML.documentElement.selectNodes("//SEOPageData/SEOPageName") Set nodesDynamicPageName=myXML.documentElement.selectNodes("//SEOPageData/DynamicPageName") Set nodesTitleTag=myXML.documentElement.selectNodes("//SEOPageData/TitleTag") Set nodesKeywordTag=myXML.documentElement.selectNodes("//SEOPageData/KeywordTag") Set nodesDescriptionTag=myXML.documentElement.selectNodes("//SEOPageData/DescriptionTag") Set nodesRobotTag=myXML.documentElement.selectNodes("//SEOPageData/RobotTag") Set nodesAuthorTag=myXML.documentElement.selectNodes("//SEOPageData/AuthorTag") Set nodesAltAttributeLogoImage=myXML.documentElement.selectNodes("//SEOPageData/AltAttributeLogoImage") Set nodesAltAttributeMainImage=myXML.documentElement.selectNodes("//SEOPageData/AltAttributeMainImage") Set nodesAltAttribute1=myXML.documentElement.selectNodes("//SEOPageData/AltAttribute1") Set nodesAltAttribute2=myXML.documentElement.selectNodes("//SEOPageData/AltAttribute2") Set nodesAltAttribute3=myXML.documentElement.selectNodes("//SEOPageData/AltAttribute3") Set nodesSEOContentPage=myXML.documentElement.selectNodes("//SEOPageData/SEOContentPage") Set nodesSEOPageContent1=myXML.documentElement.selectNodes("//SEOPageData/SEOPageContent1") Set nodesSiteGoogle=myXML.documentElement.selectNodes("//SEOPageData/SiteData/TrackingCode/Google") Set nodesSiteYahoo=myXML.documentElement.selectNodes("//SEOPageData/SiteData/TrackingCode/Yahoo") Set nodesSiteMSN=myXML.documentElement.selectNodes("//SEOPageData/SiteData/TrackingCode/MSN") Set nodesSiteWebTrends=myXML.documentElement.selectNodes("//SEOPageData/SiteData/TrackingCode/WebTrends") seoPageData.PageID = nodesPageID(0).text seoPageData.SiteID = nodesSiteID(0).text seoPageData.SEOPageName = nodesSEOPageName(0).text seoPageData.DynamicPageName = nodesDynamicPageName(0).text seoPageData.TitleTag = nodesTitleTag(0).text seoPageData.KeywordTag = nodesKeywordTag(0).text seoPageData.DescriptionTag = nodesDescriptionTag(0).text seoPageData.RobotTag = nodesRobotTag(0).text seoPageData.AuthorTag = nodesAuthorTag(0).text seoPageData.AltAttributeLogoImage = nodesAltAttributeLogoImage(0).text seoPageData.AltAttributeMainImage = nodesAltAttributeMainImage(0).text seoPageData.AltAttribute1 = nodesAltAttribute1(0).text seoPageData.AltAttribute2 = nodesAltAttribute2(0).text seoPageData.AltAttribute3 = nodesAltAttribute3(0).text seoPageData.SEOContentPage = nodesSEOContentPage(0).text seoPageData.SEOPageContent1 = nodesSEOPageContent1(0).text seoPageData.SiteGoogle = nodesSiteGoogle(0).text seoPageData.SiteYahoo = nodesSiteYahoo(0).text seoPageData.SiteMSN = nodesSiteMSN(0).text seoPageData.SiteWebTrends = nodesSiteWebTrends(0).text Set nodesPageID = Nothing Set nodesSiteID = Nothing Set nodesSEOPageName = Nothing Set nodesDynamicPageName = Nothing Set nodesTitleTag = Nothing Set nodesKeywordTag = Nothing Set nodesDescriptionTag = Nothing Set nodesRobotTag = Nothing Set nodesAuthorTag = Nothing Set nodesAltAttributeLogoImage = Nothing Set nodesAltAttributeMainImage = Nothing Set nodesAltAttribute1 = Nothing Set nodesAltAttribute2 = Nothing Set nodesAltAttribute3 = Nothing Set nodesSEOContentPage = Nothing Set nodesSEOPageContent1 = Nothing Set nodesSiteGoogle = Nothing Set nodesSiteYahoo = Nothing Set nodesSiteMSN = Nothing Set nodesSiteWebTrends = Nothing Set LoadSEOPageData = seoPageData End Function Private Function TestLoadSEOPageData(myXML) Dim seoPageData Set seoPageData = new cSeoPageData seoPageData.TitleTag = "TitleTag" seoPageData.KeywordTag = "KeywordTag" seoPageData.DescriptionTag = "DescriptionTag" seoPageData.RobotTag = "RobotTag" seoPageData.AuthorTag = "AuthorTag" seoPageData.AltAttributeLogoImage = "AltAttributeLogoImage" seoPageData.AltAttributeMainImage = "AltAttributeMainImage" seoPageData.AltAttribute1 = "AltAttribute1" seoPageData.AltAttribute2 = "AltAttribute2" seoPageData.AltAttribute3 = "AltAttribute3" seoPageData.SEOContentPage = "SEOContentPage" seoPageData.SEOPageContent1 = "SEOPageContent1" Set TestLoadSEOPageData = seoPageData End Function End Class Class cSeoPageData Public PageID Public SiteID Public SEOPageName Public DynamicPageName Public TitleTag Public KeywordTag Public DescriptionTag Public RobotTag Public AuthorTag Public AltAttributeLogoImage Public AltAttributeMainImage Public AltAttribute1 Public AltAttribute2 Public AltAttribute3 Public SEOContentPage Public SEOPageContent1 Public SiteMap1Display Public SiteMap1AnchorText Public SiteMap1Category Public SiteMap2Display Public SiteMap2AnchorText Public SiteMap2Category Public SiteMapXMLDisplay Public SiteMapXMLAnchorText Public SiteMapXMLCategory Public SiteGoogle Public SiteYahoo Public SiteMSN Public SiteWebTrends End Class %> Stay, Shop and Play Package <%=spd.SiteGoogle %>

SunsetCottage

 
 
 

Brought to you by Tanger, Dixie Stampede and  Accommodations by Sunset Cottage!

Stay, Shop and Play Smoky Mountain
Value Vacation Package
!


Accommodations by Sunset Cottage, Dixie Stampede and Tanger Outlets have teamed up to offer an exclusive gift to Sunset Cottage guests who also book a Dixie Stampede Dinner and shop at Tanger Outlets in Sevierville!

Offer 1: Shop and Save more with a FREE Tanger Coupon Book & Tanger Tote Bag. Simply bring your check-in voucher to shopper services to receive your coupon book and Tanger tote. Coupon code 1616909
(exp. 12/31/2009)

 

Offer 2: Shop and Save More with a FREE $10 Tanger Gift Card with your purchase of $150 or more. Simply bring your check-in voucher and your same day Tanger store receipts totaling $150 or more to Shopper Services to receive your FREE gift card. Limit one free gift card per household. Coupon code 161009A
(exp. 12/31/2009)

 


Call and book today to take advantage of this very special offer from Sunset Cottage, Dixie Stampede and Tanger Outlets!



You must call to get these great deals!

Call us now at
1-800-211-4599
and
mention:
STAY, SHOP and PLAY
Offer!
 
 
<%=spd.SiteWebTrends %>