Useful function to get complete URL of current page

I discovered this thread while searching for ways to hack the SiteMapper action to enable HTTPS links instead of the default HTTP. Inside the SiteMapper action, I see the following code:

outputcode += "tt<loc>" + myPage.fwWebAddress() + "</loc>r";

The resulting XML file generates “http://” links within the “” tags. I want to change it to “https://” but how do I accomplish that?

Thanks,

James Wages

P.S. I’ll be honest. I detest the SiteMapper action because it perpetually dirties all the pages in my site. But to not use it would mean a lot of many labor for me in that I’d need to use an online tool to generate the sitemap AND THEN I would need to upload it to my site and then ping search engines as to its location. The SiteMapper action does all that for me.


actionsdev mailing list
email@hidden
Update your subscriptions at: