I've been gaining more and more experience using Webmerge and have found some great resources for information, but right now I am stumped.
I have built a multi-tiered site off a datafeed, with two different structures. First, category, subcategory, and brand. Then, brand, category and subcategory. In the process, I've learned how to join fields in my data with a "/" to create subdirectories, thereby allowing me to have the same named page, i.e. brand.htm. Great!
However, I've now run into a problem. Some of the fields have an apostrophe in them, i.e. Women's Clothing. Webmerge handles them fine in creating subdirectories and files, i.e. the single quote is eliminated. When I create a link to a page that has an apostrophe in it, it finds the name that doesn't have the apostrophe just fine. However, when the page is within a folder whose name used to have an apostrophe, it results in a "webpage not found" message.
I've used the Replace statement to remove spaces and in link names, such as
[wm-field:cat1cat2brand replace(" ","";"&","") nolink].htm"
However, when I to replace the single quote as in "'","" , because the quote is a special character it messes up the html coding below that line. Is there a way to handle this in the replace statement, or do I need to do it in the data?
I have built a multi-tiered site off a datafeed, with two different structures. First, category, subcategory, and brand. Then, brand, category and subcategory. In the process, I've learned how to join fields in my data with a "/" to create subdirectories, thereby allowing me to have the same named page, i.e. brand.htm. Great!
However, I've now run into a problem. Some of the fields have an apostrophe in them, i.e. Women's Clothing. Webmerge handles them fine in creating subdirectories and files, i.e. the single quote is eliminated. When I create a link to a page that has an apostrophe in it, it finds the name that doesn't have the apostrophe just fine. However, when the page is within a folder whose name used to have an apostrophe, it results in a "webpage not found" message.
I've used the Replace statement to remove spaces and in link names, such as
[wm-field:cat1cat2brand replace(" ","";"&","") nolink].htm"
However, when I to replace the single quote as in "'","" , because the quote is a special character it messes up the html coding below that line. Is there a way to handle this in the replace statement, or do I need to do it in the data?