| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
HTML Catalog Cleaner - Removes excess white space | ||||
|
|
Thread Tools | Search this Thread |
#41
|
|||||||
|
|||||||
Quote:
Excelent! I was hoping I would be ok with the java issue without literal tags. I thought that ALL java had to be wrapped in the literals, but I am fidning that there are a few exceptions to the rule. So, I will proceed to your last "total Code Post" snag it, load it up and give it a try! I really appreciate the time and efforts of your work. If I can get it installed correctly, This should be an excellent mod and one worth using for sure. Thanks again!
__________________
vs 4.1.12 |
|||||||
#42
|
|||||||
|
|||||||
I've got {literal} tags flying around all over my site and no problems at all???? Yea it freaks out a bit at some of the custom html pages I made but I have never had a problem functionally.
|
|||||||
#43
|
|||||||||
|
|||||||||
Flying
Hi All
Thanks NuAlpha, the script rocks and burns the ethernet hwy. Your answer gave me clues on the path name - I have a host (and not my own server), so I normally don't use that path name normally. Here is a summary of what your script did (for others to see): It took 150seconds to clean up the files (the failed ones were 0 Byte files that are pages not completed yet) ************************************************** **************************** ************************************************** **************************** Stripping the HTML files of excess spaces... |||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||| ||||||||||||||||||||||||||||||||||||||||||||||| There were 900 successful cleanings and 288 failures out of a total of 1,188 files. Your HTML Catalog files had a total combined length of 172,069,659 characters. They now have a total length of 162,685,621 characters. That is a total of 9,384,038 excess white spaces removed from your files. The following files could not be written to: ---- it then lists all the files that couldn't be cleaned ------ ************************************************** **************************** ************************************************** **************************** After removing the 0 byte files, it took a total 35 seconds to do second time. ************************************************** **************************** ************************************************** **************************** Stripping the HTML files of excess spaces... |||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||| ||||||||||||||||||||||||| There were 900 successful cleanings and 0 failures out of a total of 900 files. Your HTML Catalog files had a total combined length of 162,164,288 characters. They now have a total length of 162,164,288 characters. That is a total of 0 excess white spaces removed from your files. ************************************************** **************************** ************************************************** **************************** The site is not finished and all the pages have not been completed (I have a lot of hidden pages). Thats why 0byte files exist. It compares well with all the compression methods I have tried on my site (approximately 10% or more comression), but the HTML files load a lot quicker than the direct shopping cart queries. It is so fast, I wouldn't bother with the manual method any more (over a 1200 files!): Your program is too hot . For everbody else: It is THE SCRIPT TO GET to clean up your HTML files. Great Job Regards Ing. Stephen Hatton
__________________
Apache Linux V1.3.33 PERL version: 5.8.0 PHP version: 4.3.11 MySQL version: 4.0.22-standard X-cart V4.0.17: Addons: X-PConfig, X-Giftreg, X-Fancycat, X-AOM |
|||||||||
#44
|
|||||||
|
|||||||
I am considering rewriting this module and releasing version 2.0. We don't use the HTML catalog but it seems that plenty of people do and could really use the features I planned on adding.
There is a fair amount of unnecessary HTML code that could be removed if you are not worried about XHTML compliance and want speed above all. The next version would also specifically state what is wrong and where and how it could possibly be improved/optimized if the script can't do so automatically. I will have to see if I can find time. Might sell version 2.0 as a $5-10 module just to cover the costs of company time. Give me a show of hands if anyone is really interested and I will see if the benefits of the modifications I have in mind would really make a difference or be truly useful.
__________________
X-Cart Pro 4.5.5 Platinum X-Payments 1.0.6 PHP 5.3.14 MySQL 5.1.68 Apache 2.2.23 |
|||||||
#45
|
|||||||||
|
|||||||||
|
|||||||||
#46
|
|||||||
|
|||||||
This mod worked great for my old verision 3.5.4
Works perfectly for my 4.0.9 also! I have about 85,000 pages. |
|||||||
#47
|
|||||||
|
|||||||
ROFL,
This script is a kicker! Kudos to NuAlpha for this script
__________________
vs 4.1.12 |
|||||||
#48
|
|||||||||
|
|||||||||
YES BUT NU ALPHA PLEASE MAKE XCART PHP BETTER. XCART PHP IS SLOW.
|
|||||||||
#49
|
|||||||
|
|||||||
Quote:
Not quite what I meant, but thanks!
__________________
X-Cart Pro 4.5.5 Platinum X-Payments 1.0.6 PHP 5.3.14 MySQL 5.1.68 Apache 2.2.23 |
|||||||
#50
|
|||||||
|
|||||||
Quote:
NuAlpha, You do as ADP has requested, and ahem, I think we all would agree, I promise to call it NuApha's XCart! what ya think? Sound great!
__________________
vs 4.1.12 |
|||||||
|
|||
X-Cart forums © 2001-2020
|