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

Xuru SEO Mod --> Free SEO Mod

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 09-12-2006, 07:56 AM
 
JeremyL JeremyL is offline
 

Member
  
Join Date: Sep 2006
Location: Dallas Texas
Posts: 17
 

Default Re: Xuru SEO Mod --> Free SEO Mod

xurunet is my account name
Reply With Quote
  #12  
Old 09-12-2006, 08:00 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: Xuru SEO Mod --> Free SEO Mod

acct created, check your PM inbox. when you get a chance, might want to update the initial post (if editing is allowed) to mention the SVN location (and it has Issue tracking, which is nice)
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #13  
Old 09-12-2006, 10:14 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: Xuru SEO Mod --> Free SEO Mod

Quote:
Originally Posted by intel352
i dunno if you've seen how other SEO mods work for x-cart, but DSEFU for instance, had edits for every template that referenced .php urls, which was a huge amount of work. I wanted to replace everything everywhere fairly easily, so the outputfilter parses the smarty templates before the content gets sent to the browser

While this makes for less work, it should be noted that it's a huge amount of overhead, particularily with an intensive function like preg_replace, and likely will effect performance significantly.
Reply With Quote
  #14  
Old 09-12-2006, 10:21 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: Xuru SEO Mod --> Free SEO Mod

and thus the reason that it's free

I've been tossing other ideas around for intercepting at a lower level to replace the URLs, but I haven't come up with anything solid yet. But as you said, performance does take a hit, so if we can't figure out a way to speed it up sufficiently, I'll probably go the DSEFU route of IF-statements in the template files (that method doesn't lend itself well to users that have a fully customized theme, though)

Alternatively, could provide a script with the mod, that would backup the user's specified theme, and then recreate the theme with all of the url structures rewritten to .html instead of .php (as needed). Then assuming we hook in to the proper areas with the mod and catch any urls that were generated dynamically by x-cart, that should remove any need for the outputfilter

we'll see, hopefully the solution will be painless
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #15  
Old 09-12-2006, 10:56 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: Xuru SEO Mod --> Free SEO Mod

Yeah I understand. Just wanted users to be aware that there are positives and negatives to both approaches (edits vs. filtering) and there currently isn't an in-between
Reply With Quote
  #16  
Old 09-12-2006, 11:13 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: Xuru SEO Mod --> Free SEO Mod

__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #17  
Old 09-12-2006, 07:10 PM
  Jayk's Avatar 
Jayk Jayk is offline
 

eXpert
  
Join Date: Nov 2003
Location: Calgary, Alberta, Canada
Posts: 333
 

Default Re: Xuru SEO Mod --> Free SEO Mod

Thanks intel352 for all of your work and JeremyL for picking up the torch.

I am looking forward to seeing install instructions for 4.1.x so that I can try this mod out. After reading through the threads, it looks very interesting.

Cheers,
Jason
__________________
X-Cart Gold 4.4.3
Blog: www.flashinthepan.ca
Reply With Quote
  #18  
Old 09-12-2006, 07:34 PM
 
hooter hooter is offline
 

X-Adept
  
Join Date: Dec 2004
Posts: 519
 

Default Re: Xuru SEO Mod --> Free SEO Mod

Just to clarify, DSEFU no longer requires template edits whatsoever and hasn't for over a month now.

Kudos to the free project team though, for offering their time and expertise to the xcart community.

Quote:
Originally Posted by intel352
sufficiently, I'll probably go the DSEFU route of IF-statements in the template files (that method doesn't lend itself well to users that have a fully customized theme, though)
__________________
Blog for X-Cart | Ebay Auction Manager
Reply With Quote
  #19  
Old 09-12-2006, 09:07 PM
 
geckoday geckoday is offline
 

X-Wizard
  
Join Date: Aug 2005
Posts: 1,073
 

Default Re: Xuru SEO Mod --> Free SEO Mod

Quote:
Originally Posted by Jon
While this makes for less work, it should be noted that it's a huge amount of overhead, particularily with an intensive function like preg_replace, and likely will effect performance significantly.
It actually doesn't have much of an affect on performance. I implemented a stripped down version of this mod so it works pretty similar to DSEFU. I'm now doing some profiling of X-Cart using XDebug to find where the most time is spent and I'm not seeing a noticeable difference in execution time with or without the output filter doing preg_replace on the URL's.
__________________
Manuka Bay Company
X-Cart Version 4.0.19 [Linux]

UGG Boots and other fine sheepskin products
http://www.snowriver.com
Reply With Quote
  #20  
Old 09-13-2006, 04:33 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: Xuru SEO Mod --> Free SEO Mod

awesome, glad to see you're putting some time into testing this for us geckoday
might i ask, how many products do you have in your test store? i think with stores that have less urls to display, it's not so bad, but if you were to go to a product page that had 100+ urls, it might get a bit intensive (my employer's website has a ton of cross-referencing links over the entire site, since our site is based around music, and every CDG, Artist, and Song is a product link)

so i'll be interested to see the performance difference when used in a such an environment (i'll be testing it soon on a test version of my employer's site, haven't been able to just yet)


@hooter: glad DSEFU got rid of the template edits, that's awesome
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:18 PM.

   

 
X-Cart forums © 2001-2020