| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
X-Cart Product Images Sitemap Generator | ||||
|
|
Thread Tools |
#1
|
|||||||
|
|||||||
X-Cart Product Images Sitemap Generator
Quote:
Download Changelog 1st August 2018 - Updated, to handle special characters in image captions/titles better, geolocation and license info disabled by default, HTTPS urls used. 2nd April 2017 - Updated to use htmlspecialchars instead of htmlentities and added 'memory_limit' setting. 10th May 2017 - Updated, with note for v4.4.x stores.
__________________
xcartmods.co.uk |
|||||||
|
#2
|
|||||||
|
|||||||
Re: X-Cart Product Images Sitemap Generator
Hi Phil,
You are amazing..no words to describe my happiness...I just requested this stuff in forum yesterday & no time you created this module & that's also for FREE !! It's generating image sitemap but even though my site url starting from https:// the sitemap data still generated http:// links ! But that's easy to replace in text editor in no time. Also I am using CDN so can I replace image url with https://cdn.mysite.com/images/D/sample_image.jpg ? Quick Tip to users: ------------------ If you have large number of products for example more than 5000 & if you are getting 500 -Internal Server Error generating site map then in your config.php increase memory limit to 256 For example ini_set('memory_limit','256M'); After you generate sitemap successfully you revert back it to your original memory value limit.
__________________
X-Cart: 4.7.7 LIVE Skin:Ultra by xcartmods.co.uk X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9) --------------- Server: Linux php: 5.3 mysql: 5.0.89 ---------------- |
|||||||
|
#3
|
|||||||
|
|||||||
Re: X-Cart Product Images Sitemap Generator
Hi @anandat
Quote:
Phil covers that very issue in the "install.txt" file! Have a read of "Notes 4)" for help on the http -v- https @Phil Great little addon - Thank You Phil Kind regards ITVV
__________________
X-Cart Pro 4.7.12 Active and working great with reBOOT-reDUX X-Cart Pro 4.6.6 Retired after 6 years of first class service X-Cart Pro 4.1.7 Retired after 9 years of first class service Apache: 2.4.25 PHP: 7.4.5 MariaDB: 10.1.44 Arch: x86_64 |
|||||||
|
#4
|
|||||||
|
|||||||
Re: X-Cart Product Images Sitemap Generator
Hi Phil,
You are amazing! I'll get when my workload slows down some. I'm in the middle of building our new house so my orders decide to jump 300%... Can't complain Thank you so much! Paul
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template v4.7.12.9 | Always The Best |
|||||||
|
#5
|
|||||||
|
|||||||
Re: X-Cart Product Images Sitemap Generator
hi phil,
thanks for your valuable addon. i'm having some issues with products including strange chars in the name like & ™ ® and accented italian chars like àèìòù. any solution?
__________________
www.wnc2.biz 4.7.6+ fashion walk + xbanners2 + xmenusR cdseopro - xcms - OPC enterprise hosting on handsonwebhosting IMAC with Sierra 10.12 ======= 5.3.3.1 on test (maybe ready in 2031) |
|||||||
|
#6
|
|||||||
|
|||||||
Re: X-Cart Product Images Sitemap Generator
ok, I have updated the mod to use htmlspecialchars instead of htmlentities and tested with those characters.
I've also added a 'memory_limit' setting if needed (line 9).
__________________
xcartmods.co.uk |
|||||||
|
#7
|
|||||||
|
|||||||
Re: X-Cart Product Images Sitemap Generator
Quote:
problem solved THANKS
__________________
www.wnc2.biz 4.7.6+ fashion walk + xbanners2 + xmenusR cdseopro - xcms - OPC enterprise hosting on handsonwebhosting IMAC with Sierra 10.12 ======= 5.3.3.1 on test (maybe ready in 2031) |
|||||||
#8
|
|||||||
|
|||||||
Re: X-Cart Product Images Sitemap Generator
nice mod.. for old xcart versions and people using wcm_cdseo, change the query and first part of the foreach sections to this:
Code:
you have to do that for the images_p and images_t sections too. -Matt
__________________
4.7.7. php7.1, AWS RDS database memcache, reboot theme AWS EC2 load balancer, 2 c5.large instances CDSEO Shop By Filters, AC onepage checkout and checkout tools, altercart cash rewards, bcse DPM for paypal |
|||||||
|
#9
|
|||||||
|
|||||||
Re: X-Cart Product Images Sitemap Generator
I rewrote this.. There was an issue with this making a new url LOC for each image file which didnt match the specs:
https://support.google.com/webmasters/answer/178636?hl=en so google was saying there was 40k images and 40k urls in the sitemap.. not sure if I broke something or it happens to everyone.. This works perfect with xc4.1.12 with cdseo and should work with newer versions this only does detailed imgs, splits files if there's more than 40k images.. uses https filenames.. note this code only works with CDSEO urls.. you can change the part that gets the url pretty easily though. Code:
__________________
4.7.7. php7.1, AWS RDS database memcache, reboot theme AWS EC2 load balancer, 2 c5.large instances CDSEO Shop By Filters, AC onepage checkout and checkout tools, altercart cash rewards, bcse DPM for paypal |
|||||||
|
#10
|
|||||||
|
|||||||
Re: X-Cart Product Images Sitemap Generator
hello, Phil:
I installed the mod, but the sitemap it produces is blank: any ideas of what I might be missing? |
|||||||
|
|||
X-Cart forums © 2001-2020
|