Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

HTML Catalog Cleaner - Removes excess white space

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #71  
Old 04-29-2005, 09:56 AM
 
NuAlpha NuAlpha is offline
 

X-Adept
  
Join Date: Aug 2003
Location: US
Posts: 598
 

Default

Quote:
Originally Posted by Owl
you forgot one thing... it strips the spaces in the titles.... wich is NOT good for seo people
http://www.electripoint.com/catalog/HiFi-bass-speakers-p-1-c-270064317.html

look at the title, that is not good. Tho the mod itself is really good, speeds up the site alot..

Can you please post what the title looked like before running the module and what it looks like after running it?

Also, please explain why extra spaces in the page title would work towards search engine optimization?

I am still working on the 2nd release of this module (which will pack about 100 times as many features and usefulness) and want to account for as much as possible.
__________________
X-Cart Pro 4.5.5 Platinum
X-Payments 1.0.6
PHP 5.3.14
MySQL 5.1.68
Apache 2.2.23
Reply With Quote
  #72  
Old 05-02-2005, 01:13 AM
  Owl's Avatar 
Owl Owl is offline
 

Advanced Member
  
Join Date: Mar 2003
Location: Sweden
Posts: 92
 

Default

Well, if you get keywords in the title that is "melted" together, the SE cant separate the words and will ignore them...
before the space remover:

HiFi bass speakers Speakers Speakers Electripoint.com

after the space remover:

HiFibassspeakersSpeakersSpeakersElectripoint.com

=)
__________________
-----------------------------------
4.2 rox...

http://www.fivestar.nu | www.nystil.se | www.hidealite.se
Reply With Quote
  #73  
Old 05-02-2005, 09:48 AM
 
NuAlpha NuAlpha is offline
 

X-Adept
  
Join Date: Aug 2003
Location: US
Posts: 598
 

Default

Quote:
Originally Posted by Owl
Well, if you get keywords in the title that is "melted" together, the SE cant separate the words and will ignore them...
before the space remover:

HiFi bass speakers Speakers Speakers Electripoint.com

after the space remover:

HiFibassspeakersSpeakersSpeakersElectripoint.com

=)

That is very odd. I have never seen that behavior before. Basically the script changes all consecutive whitespace to a single space character. It won't eliminate them. It does remove unnecessary spaces between certain HTML tags. Are each and every one of the words in your title wrapped in some formatting tag? That might cause the problem.
__________________
X-Cart Pro 4.5.5 Platinum
X-Payments 1.0.6
PHP 5.3.14
MySQL 5.1.68
Apache 2.2.23
Reply With Quote
  #74  
Old 07-06-2005, 04:30 PM
 
shirley2005 shirley2005 is offline
 

Advanced Member
  
Join Date: Jun 2005
Posts: 33
 

Default

Does this mod work for 4.0.14?
Thanks
__________________
x-cart 4.0.14 Pro
Reply With Quote
  #75  
Old 07-06-2005, 05:11 PM
 
Metal-X-Man Metal-X-Man is offline
 

eXpert
  
Join Date: Mar 2003
Location: Columbus, Ohio
Posts: 204
 

Default

I have 4.0.13 - the script runs for 5 minutes and stalls. I've been using it for the last 4 versions of my cart. I think the script is awesome.

Any ideas why the script stalls NuAlpha? Might have something to do with my new host's server.

George
__________________
X-Cart Gold
ver. 4.1.3

http://www.musicianslibrary.com
Reply With Quote
  #76  
Old 07-08-2005, 07:22 AM
 
NuAlpha NuAlpha is offline
 

X-Adept
  
Join Date: Aug 2003
Location: US
Posts: 598
 

Default

Quote:
Originally Posted by Metal-X-Man
Any ideas why the script stalls NuAlpha? Might have something to do with my new host's server.

I am not sure, however, you may wish to just let it keep running and watch for changes in the files. If the size of the files keeps changing then the script is still running.

I have seen cases where servers will run a script all the way through but not show all the progress. Something happens with the flushing of the output buffer somewhere along the way.
__________________
X-Cart Pro 4.5.5 Platinum
X-Payments 1.0.6
PHP 5.3.14
MySQL 5.1.68
Apache 2.2.23
Reply With Quote
  #77  
Old 07-08-2005, 07:29 AM
 
Metal-X-Man Metal-X-Man is offline
 

eXpert
  
Join Date: Mar 2003
Location: Columbus, Ohio
Posts: 204
 

Default

I'm getting "done" in the bottom of the browser and the script terminates. I'll check it again.

Metal-X
__________________
X-Cart Gold
ver. 4.1.3

http://www.musicianslibrary.com
Reply With Quote
  #78  
Old 08-08-2005, 06:19 PM
 
slade slade is offline
 

Advanced Member
  
Join Date: Jun 2005
Location: new zealand
Posts: 64
 

Default cool

yiah mean mod!
__________________
www.supremeroofing.co.nz
Reply With Quote
  #79  
Old 08-08-2005, 08:18 PM
 
alphastara alphastara is offline
 

Advanced Member
  
Join Date: Jul 2005
Posts: 39
 

Default

I am getting 'Warning: Invalid argument supplied for foreach() in /clientdata/www/au/a/alphastara.com.au/shop/clean.php on line 81'
__________________
Alphastara | New Age Products
www.alphastara.com.au
V: 4.1.6 + AOM
Reply With Quote
  #80  
Old 08-09-2005, 06:23 AM
 
NuAlpha NuAlpha is offline
 

X-Adept
  
Join Date: Aug 2003
Location: US
Posts: 598
 

Default

Quote:
Originally Posted by alphastara
I am getting 'Warning: Invalid argument supplied for foreach() in /clientdata/www/au/a/alphastara.com.au/shop/clean.php on line 81'

That basically means there are no recognizable HTML files in the directory you entered. Only files with ".htm" or ".html" will be recognized and stripped of white spaces.
__________________
X-Cart Pro 4.5.5 Platinum
X-Payments 1.0.6
PHP 5.3.14
MySQL 5.1.68
Apache 2.2.23
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:19 PM.

   

 
X-Cart forums © 2001-2020