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

Place WordPress posts in your X-Cart

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #11  
Old 06-03-2009, 12:08 PM
 
Asiaplay Asiaplay is offline
 

X-Wizard
  
Join Date: Oct 2005
Posts: 1,242
 

Default Re: Place WordPress posts in your X-Cart

Ophelia,

I guess that is as your X-Cart store uses ISO-8529 (ascii) and your wordpress uses UTF-8... perhaps Dmitry has a quick fix - but real fix is the same as for languages - change your X-Cart over to use full UTF-8 - search forums for the answer on how to do that if you really want to.

Cheers - Asiaplay
__________________
X-Cart Gold version 4.1.9
(plus built in X-Cart bugs!)
Reply With Quote
  #12  
Old 06-13-2009, 01:53 AM
 
anandat anandat is offline
 

X-Adept
  
Join Date: Jan 2004
Posts: 914
 

Red face Re: Place WordPress posts in your X-Cart

Quote:
Originally Posted by Asiaplay
Ophelia,

I guess that is as your X-Cart store uses ISO-8529 (ascii) and your wordpress uses UTF-8... perhaps Dmitry has a quick fix - but real fix is the same as for languages - change your X-Cart over to use full UTF-8 - search forums for the answer on how to do that if you really want to.

Cheers - Asiaplay

I am also getting the similar problem.
It shows UTF- 8 (unicode) characters on x-cart as:

Ю╙├ Ю╙╣Ю╙╬Ю╙╟Ю╚█Ю╙╓Ю╙╬Ю ╙╦Ю╙┌Ю╙≈Ю╚█Ю╙╟Ю╙╧ Ю╙╗Ю╚─ Ю╙╓Ю╙╝Ю╙╬Ю╙╝ Ю╙╣Ю╙╬Ю╙╟Ю╚█Ю╙╓Ю╙╬Ю ╙⌠Ю╙╗Ю╙╬ Ю╙∙Ю╚┤Ю╙╗Ю╚█Ю╙╕Ю╚█Ю ╙╟ Ю╙╝Ю╙╬Ю╙┌ Ю╙╦Ю╚█Ю╙╓Ю╚█Ю╙╟Ю╚─ Ю╙⌡Ю╚┤. Ю╙├Ю╙╙Ю╙ёЮ╚┤ Ю╙╓Ю╚█Ю╙╞Ю╙╬...


how to change x-cart's ISO-8529 (ascii) to UTF-8 ?

Following is nysql database settings in phpmyadmin shows:

MySQL charset: UTF-8 Unicode (utf
MySQL connection collation: UTF-8 Unicode _ci

Please help

-Anand
__________________
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
----------------
Reply With Quote
  #13  
Old 06-14-2009, 02:38 PM
 
Asiaplay Asiaplay is offline
 

X-Wizard
  
Join Date: Oct 2005
Posts: 1,242
 

Default Re: Place WordPress posts in your X-Cart

Hi Anandat,

Sorry for slow reply - I am travelling at the moment....

See this post - http://forum.x-cart.com/showpost.php?p=215307&postcount=8
Feel free to private message me if you have any questions.

Cheers - Asiaplay
__________________
X-Cart Gold version 4.1.9
(plus built in X-Cart bugs!)
Reply With Quote
  #14  
Old 06-24-2009, 04:58 AM
  Dmitri's Avatar 
Dmitri Dmitri is offline
 

Senior Member
  
Join Date: Jul 2003
Location: Toronto
Posts: 174
 

Default Re: Place WordPress posts in your X-Cart

Hello

We are just working on a Pro version of the mod, that will
- be easy to configure via easy to use interface
- be compatible with 4.1.x and 4.2.x
- support more RSS feed formats
- support different char set encoding configurations
- more...

what's not know is:
- cost (there might be free version available)
- additional functionality
__________________
CartTemplates | ASF Design Inc
~~~
CartTemplates.com | XCart Design - Custom design or Choose from thousands of templates that can be integrated with X-Cart.
tel: +1 (416) 410-9995
Reply With Quote
  #15  
Old 07-06-2009, 09:20 AM
 
fyjpm fyjpm is offline
 

Member
  
Join Date: Feb 2006
Posts: 21
 

Default Quick and Dirty fix for messed up Quotes & Characters due to UTF8

Quote:
Originally Posted by Asiaplay
Ophelia,

I guess that is as your X-Cart store uses ISO-8529 (ascii) and your wordpress uses UTF-8... perhaps Dmitry has a quick fix - but real fix is the same as for languages - change your X-Cart over to use full UTF-8 - search forums for the answer on how to do that if you really want to.

Cheers - Asiaplay

in rss.blog.php use the function below for title & description:

iconv("UTF-8", "CP1252", $data)

Here's what the new function will look like:
Code:
# # this function will be called everytime there is a string between two tags # function characterData($parser, $data){ global $rssblog_globals; if($rssblog_globals[inside_item]){ switch($rssblog_globals[current_tag]){ case "TITLE": $rssblog_globals[current_title] .= iconv("UTF-8", "CP1252", $data); break; case "DESCRIPTION": $rssblog_globals[current_description] .= iconv("UTF-8", "CP1252", $data); break; case "LINK": $rssblog_globals[current_link] .= $data; break; } } elseif($rssblog_globals[inside_image]){ } elseif($rssblog_globals[inside_channel]){ switch($rssblog_globals[current_tag]){ case "TITLE": $rssblog_globals[channel_title] .= $data; break; } } }
__________________
John Molino
888VoIP
www.888voip.com

Heavily modified:
4.1.9
4.3 <- launch date Feb 1, 2010
4.4.3
Reply With Quote
  #16  
Old 07-06-2009, 09:24 AM
 
OpheliaPayne OpheliaPayne is offline
 

Senior Member
  
Join Date: Aug 2007
Posts: 130
 

Default Re: Place WordPress posts in your X-Cart

One thing to note.. if you include this... it will try to load it before the store, so if there is any kind of delay on your site, high server load, etc., it's going to lag your store. We ran into this issue during a sale that had high server load and it took 2 days to pinpoint exactly what was causing the issue via watching the server logs. Once we removed the code, the issues stopped.
__________________
xCart 4.6.1
Reply With Quote
  #17  
Old 07-22-2009, 02:35 AM
  Dmitri's Avatar 
Dmitri Dmitri is offline
 

Senior Member
  
Join Date: Jul 2003
Location: Toronto
Posts: 174
 

Default Re: Place WordPress posts in your X-Cart

Quote:
Originally Posted by OpheliaPayne
One thing to note.. if you include this... it will try to load it before the store, so if there is any kind of delay on your site, high server load, etc., it's going to lag your store. We ran into this issue during a sale that had high server load and it took 2 days to pinpoint exactly what was causing the issue via watching the server logs. Once we removed the code, the issues stopped.

We are working on update that would cache the feed, thus eliminating this issue
__________________
CartTemplates | ASF Design Inc
~~~
CartTemplates.com | XCart Design - Custom design or Choose from thousands of templates that can be integrated with X-Cart.
tel: +1 (416) 410-9995
Reply With Quote
  #18  
Old 07-02-2010, 06:18 AM
 
maximillian maximillian is offline
 

Advanced Member
  
Join Date: Jan 2009
Posts: 73
 

Default Re: Place WordPress posts in your X-Cart

I've just installed this free mod and it works great.
Thank you!
Looking forward to the upgraded verison
__________________
X-Cart GOLD 4.1.11.
Reply With Quote
  #19  
Old 07-05-2010, 01:12 PM
  Dmitri's Avatar 
Dmitri Dmitri is offline
 

Senior Member
  
Join Date: Jul 2003
Location: Toronto
Posts: 174
 

Default Re: Place WordPress posts in your X-Cart

Quote:
Originally Posted by maximillian
I've just installed this free mod and it works great.
Thank you!
Looking forward to the upgraded verison

thanks
__________________
CartTemplates | ASF Design Inc
~~~
CartTemplates.com | XCart Design - Custom design or Choose from thousands of templates that can be integrated with X-Cart.
tel: +1 (416) 410-9995
Reply With Quote
  #20  
Old 02-02-2011, 07:56 PM
 
kgoel kgoel is offline
 

Advanced Member
  
Join Date: May 2010
Posts: 82
 

Default Re: Place WordPress posts in your X-Cart

Has anyone tried this MOD on 4.3 version of X-cart ?
__________________
Version 4.3.2
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



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 03:08 PM.

   

 
X-Cart forums © 2001-2020