Print Page | Close Window

Export to HTML files

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Search Engine Optimization
Forum Description: Talk about ways to optimize your ProductCart store for search engines
URL: https://forum.productcart.com/forum_posts.asp?TID=319
Printed Date: 21-November-2024 at 5:59pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Export to HTML files
Posted By: geoff
Subject: Export to HTML files
Date Posted: 14-July-2006 at 9:49pm
Just a note for interest.
We ended up doing a full export via a batch publishing route to create *.html files for all viewprd and viewcat dynamic pages. Everytime we make a change to the product databases or there is a product review we need to force a manual update of the sister html file for the product and we have to live without some of the dynamic features - but on the plus side static pages load faster and human/SEO happy URLs.





Replies:
Posted By: ProductCart
Date Posted: 15-July-2006 at 5:21pm

Hi Geoff, we moved your posting to a new thread so that it would be more easily located. Other ProductCart users might be interested in how you accomplished this. Did you use a third-party application to generate the HTML pages? Or something that you have written?



-------------
The ProductCart Team

Home of ProductCart http://www.productcart.com" rel="nofollow - shopping cart software


Posted By: geoff
Date Posted: 15-July-2006 at 7:42pm
I am happy to share this - in the hope that its is maybe of some use - as I have been very grateful to receive both support from Early Impact and other members.

Before I detail how to. The end result is a website where all category and product pages are static html. These are able to have human and search engine compatable names. Because the pages are static they load very quickly even when the server is loaded. Additionally the approach provides some publishing editorial control (this was not our objective) and works on shared hosting (if you do not have ability to configure IIS etc). The disadvantage is that you cannot choose to have dynamic customer session specific info on the page.(Therefore this is probably not suitable for BTO).

I am using a shared hosted environment and periodically the performance of the site particularly for pages with multiple database calls is a little slow. My circumstance is also a new site and wanting to anticipate how best to accelerate building page ranking with search engines.

I do not anticipate altering my product description, daily. My initial products will be around 1500. Lastly, I have about 300 category descriptions and many of these have significant "content" that I really want Google to know about.The viewcat_h.asp that I am using is heavily modified so that it has additional database calls (which further slows the page down).

There are only two key elements to this. The first is to create and maintain a table of the PC equivalent URL page name and the filename.html that you choose. The second is to use a batch utility to create html from the *.asp. It works and it is free.

We are using 1&1 as a host and they do not allow root access/configuration of IIS and this rules out many of the dynamic/pseudo static work around. We started reading about how certain on-line media sites control their copy by on-line batch processing to html and this lead us to initially evaluate ApGen ($199) which enables you to both publish static and mixed static/dynamic pages (by shelling ASP). This is probably what we will do longer term.

However, at the moment we choose to live with stripping all customer specific dynamic content from our category and product pages (this only consisted of customer name and cart contents) and looked at finding a solution to batch publish the pages of both viewprd and viewcat to create static html. There is a simple utility for this on line http://www.chami.com/free/url2file_wincon.html - http://www.chami.com/free/url2file_wincon.html and here are two sample lines for both a product and category:

URL2File http://www.myhealthmyworld.com/viewPrd.asp?idProduct=3111 C:\htmldownload\Absolute_Nutrition_CBlock_90_Tablets.html

URL2File http://www.myhealthmyworld.com/viewCat_h.asp?idCategory=216 C:\htmldownload\Age-Related_Cognitive_Decline_and_Dementia.h tml

(From these URL you should be able to compare the actcual asp and resultant html. The html is directly in the site root e.g. http://www.myhealthmyworld.com/Absolute_Nutrition_CBlock_90_Tablets.html - product example and http://www.myhealthmyworld.com/Age-Related_Cognitive_Decline_and_Dementia.html -



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net