Support is online

XML Export version #8377

Open peterva opened this topic Thursday, 07 July 2016 · 15 replies
Author

Hi, I installed version 6.6.0 today. There seems to be a problem with the XML export. I made a new template and the XML body looks like this:

<item> <g:id>[id]</g:id> <g:title>[title]</g:title> <g:description>[description]</g:description> <g:link>[link]</g:link> <g:condition>[condition]</g:condition> <g:price>[price]</g:price> etc.

But when I save, the body looks like this:
[id]
[title]
[description]
[link]
[condition]
[price]

Also, the 'save on server' doesn't seem to work. The export looks like it's running ok, but I cannot find my file anywhere on the server (not in my output folder or in de CSVI tmp export folder).

Do you have a fix?

Support

Hello,

Hi, I installed version 6.6.0 today. There seems to be a problem with the XML export. I made a new template and the XML body looks like this:

<item> <g:id>[id]</g:id> <g:title>[title]</g:title> <g:description>[description]</g:description> <g:link>[link]</g:link> <g:condition>[condition]</g:condition> <g:price>[price]</g:price> etc.

But when I save, the body looks like this:
[id]
[title]
[description]
[link]
[condition]
[price]

Thats correct, CSVI converts it to XML fields format.

Also, the 'save on server' doesn't seem to work. The export looks like it's running ok, but I cannot find my file anywhere on the server (not in my output folder or in de CSVI tmp export folder).

Do you have a fix?

The file would have been saved in the path you have given in Save on server option. Can you check the permission of your output folder?

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Thats correct, CSVI converts it to XML fields format.

I'm sorry but that's not correct, without the tags I have no valid XML output (see attached file). In my previous install (6.5.7.) the tags remained intact.

Can you check the permission of your output folder?

This issue seems to be solved.

Author

Also, my google feed is broken now: http://www.saintbasics.com/export/google/google.xml

Didn't change anything in that template, just updated from 6.5.7. to 6.6.0.

Thanks for a quick solution!

Support

Hello Peter,
I am working on these issues you have reported. I will keep you posted as i am done.

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Support

Hello Peter,
Can you also tell me the issue you are facing with backup and restore templates?

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Support

Hello Peter,

Attached is a patch file that you can load and it will keep the XML tags as they are.

Please let me know how it goes.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Attached is a patch file that you can load and it will keep the XML tags as they are.

Thanks Tharuna!

Can you also tell me the issue you are facing with backup and restore templates?

To reproduce this issue:
Export existing templates:
Maintenance > CSVI Pro > Backup Templates > save xml file
(see attachment for saved file)

Import templates:
Maintenance > CSVI Pro > Restore Templates > load xml file

Result:
Error
FOFTable::bind(NULL)

Support

Hello Peter,

The attachment is not there. Can you zip the XML file and upload it again? Thanks.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Here it is

Author

Attached is a patch file that you can load and it will keep the XML tags as they are.

Please let me know how it goes.

The patch seems to work because on my dev site, my XML output is now ok:
http://shop.saintbasics.com/export/google/google2.xml

However, on my live site I get this output:
http://www.saintbasics.com/export/google/google.xml

I rebuilt the template on the dev site from scratch, because I could not import the template from my live site.
The template on my live site was not changed.

Any hints of what might be going wrong on the live site?

Support

Hello,

There are a couple of issues with the XML. First of all the <g:link> field has no domain name. Make sure that is set in the global configuration of CSVI. The second issue is that the & in the URL is not escaped. So there are 2 options here, either enable SEF URLs so there won't be any & in the URL or edit the field that outputs the link and set the CDATA option to Yes.

That should fix the XML feed.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Make sure that is set in the global configuration of CSVI.

Thanks! This fixed the XML feed on the live site.

Author

Another small bug in 6.6.0

In rules > export > CSVO replace (regular text), the html tags are also stripped in the search/replace fields.

This means I cannot replace a <br /> with \n anymore (e.g. in a product_desc).

Can you also patch this up? Thnx!

Support

Hello Peter,

Attached the patch file that fixes the rule saving issue. Thank you for reporting this.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Ok thanks, this fixed the problem.

Log in to reply to this topic.