1. EsSa55
  2. RO CSVI
  3. Tuesday, 07 February 2017
  4.  Subscribe via email
Hi

I am actually still using v5.21.2 on Joomla 3.6.5 + Virtuemart 3.0.18 ( I have upgraded to v7 but not yet installed).

We use CSVI to produce a google sitemap of all in stock products.

We are about to venture into the multi-lingual world, using sub-domains rather than sub-directories

e.g. nl.4footyfans.com not http://4footyfans.com/nl

We wish to produce multi-lingual versions of the sitemap do not know how to handle the product_url & product_image variables.

The attached file shows the current format and also a possible new format to handle the additional currencies but I need to be able to resolve the use of the 2 variables which point to the main site (http://www.4footyfans.com) product & image urls

Or, do we need to use a different structure?

TIA

Eddie Current Sitemap structure_.txt
Accepted Answer Pending Moderation
Hello Eddie,

Welcome to the wonderful world of multi-lingual :)

The layout you presented seems to be very similar to what you are already using except for the xhtml links. Which is this part
 <xhtml:link 
rel="alternate"
hreflang="de"
href="https://de.4footyfans.com/"
/>
<xhtml:link
rel="alternate"
hreflang="de-ch"
href="https://ch.4footyfans.com/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="https://www.4footyfans.com/"
/>
This part is not supported by CSVI. Are these xhtml links part of the Google documentation? If so, we could see if we can add this in for the next release. How that would work then is that you add a custom field with a column header like xhtml:link and a default value being the value of the hreflang field and we can construct the final layout. The href would be filled with the domain name set in the Google Base configuration link field.

That is my idea of how this could work.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hello Roland

We are using sub-domains for the languages and GTranslate for the translations.

The code I entered was lifted from Google Support and edited for our domains.

See here: https://support.google.com/webmasters/answer/2620865?hl=en

I will need to get my head round your suggested solution.

Guess I'd better upgrade to v7 now I've subscribed.

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello Eddie,

Well what I described is not yet in CSVI but rather for me to get an idea of how this might work. Now I see it is a sitemap you are talking about, while my head was stuck at Google Merchant.

The way it would work for the sitemap is that you would probably use the multi-replacement plugin to change the subdomain prefix of the URLs. Essentially that is the only thing that would would need to be changed. It may need some trial and error to get something working. I don't have anything ready to go to help you with this.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Thanks Roland

I presume the multi-replacement plugin is a v7 feature.

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hello Eddie,

That is correct.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
Hello Roland

Ok, I've installed v7 on our backup site and created a sitemap template.

The mult-replacement plugin is enabled but I do not see or understand the this feature.

Are there any examples or docs or, better still, can you instruct me how to use the plugin to change the sub-domain prefix of the urls?

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
Hello Eddie,
The mult-replacement plugin is enabled but I do not see or understand the this feature.

You can see this feature on CSVI Rules page >> Add a new rule. Give a name to the rule, select action as export, select Multi replace in the plugin drop down and click on load plugin. You need to first save these settings to continue further. Once saved, Select Operations as Find and Replace, Find and replace your main domain with sub domain urls.

Are there any examples or docs or, better still, can you instruct me how to use the plugin to change the sub-domain prefix of the urls?

Currently there is no documentation on it but we are working on them.
Kind regards,

Tharuna

=========================
If you use CSVI, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 7
Accepted Answer Pending Moderation
Hi

Ok, Please see attached.

Is that correct?

How do I then use the rule in the sitemap template?

Best

Eddie sub-domains rule.jpg
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 8
Accepted Answer Pending Moderation
Hello,
Having multiple domains in Replace field will not work instead you can add one rule for one domain. If you click on + symbol on right side you get an option of adding another set of rules. This way you can have multiple replace for one field where rule is set. Something like the attached image. Once the rule is ready, you can then apply this to your template field on CSVI template page, edit the template field and select the rule in Rules field, save the template field.

rulesetting.png
Attachments (1)
Kind regards,

Tharuna

=========================
If you use CSVI, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 9
Accepted Answer Pending Moderation
Hello Tharuna
Thanks for the quick response and advice.
I will try the replacements.
Best
Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 10
Accepted Answer Pending Moderation
Ok, I have done a separate replace for each sub-domain.

However, it seems I need to do a separate RULE for each sub-domain since the sitemap outputs just the first sub-domain in the list:

<url>
<loc><![CDATA[https://dk.4footyfans.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=3055&virtuemart_category_id=6&Itemid=1]]></loc>;
<image:image>
<image:loc><![CDATA[https://www.4footyfans.com/images/stories/virtuemart/product/s05rddwh-4-2.jpg]]></image:loc>
</image:image>
</url>

Also, the output is not sef in spite of the setting being to output sef.

I think I also need one for the site default (http://www.4footyfans.com) which uses English as the default language?

Anything else?

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 11
Accepted Answer Pending Moderation
+

The cRON button does not seem to work.

My templates have Cron Enabled.

Do you have the full cron syntax for v7?

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 12
Accepted Answer Pending Moderation
Hello,

Also, the output is not sef in spite of the setting being to output sef.
Is SEF enabled on the site? Have you setup the Global configuration options of CSVI? On the Dashboard page you click the Options button to set these settings.

However, it seems I need to do a separate RULE for each sub-domain since the sitemap outputs just the first sub-domain in the list:
There is only one URL because there seems to be only one field in your template. I am just wondering how this would work. You are probably going to need a custom field per URL and add a placeholder for each field. The original URL field would then be copied to all the custom fields and after that the replacement rule would change the URL to the correct domain.

The cRON button does not seem to work.
Have a look at the Setting up a cron job documentation. It explains how to construct the URL and what the Cron button does.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 13
Accepted Answer Pending Moderation
Hi

SEF has been enabled on 4footyfans.com for many years.

The csvi options are prioperly set

There are 2 active fields in the template:

product_url
picture_url

Unlike in v5 which displays the cron command line, the CRON button has no effecct when pressed in v7

I have no problem with the command line for cronjobs.

However, regardless of what I enter as a secret key, the cronjob result email claims:

"The key was given but this does not match the key set in the template"

I have tried alpha, numeric and alpha-numeric keys.

Even something as simple as "mysecretkey" returns the error.

This is irrespective of whether I copy-paste the key or type it in.

So, progress made but am now stuck with the "key" error

If downloading a test set of products, the output is still NON-sef.

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 14
Accepted Answer Pending Moderation
Hello Eddie,
"The key was given but this does not match the key set in the template"

I have tried alpha, numeric and alpha-numeric keys.

Even something as simple as "mysecretkey" returns the error.

This is irrespective of whether I copy-paste the key or type it in.

This could be a because of PHP version you are running. Please check the thread here with the same issue and was fixed with PHP version.

If downloading a test set of products, the output is still NON-sef.

Can you post the template XML file? To get template XML file go to CSVI maintenance page, Select CSVI Pro on first option and Backup template on second option. Select your template and click continue. Download the XML file and post it here.
Kind regards,

Tharuna

=========================
If you use CSVI, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 15
Accepted Answer Pending Moderation
Hello Tharuna

This could be a because of PHP version you are running. Please check the thread here with the same issue and was fixed with PHP version.


Are you saying php 7 is a requirement?

The other thread implies the user switched to v7 but there is no reference to it being the ONLY version which works properly.

If downloading a test set of products, the output is still NON-sef.

Can you post the template XML file? To get template XML file go to CSVI maintenance page, Select CSVI Pro on first option and Backup template on second option. Select your template and click continue. Download the XML file and post it here.

Ok, here it is.

I also notice that when trying to switch language (from base) in Options, the option to select a Manufacturer disappears and All Manufacturers is forced.

Best

Eddie
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 16
Accepted Answer Pending Moderation
Hello,
Are you saying php 7 is a requirement?

The other thread implies the user switched to v7 but there is no reference to it being the ONLY version which works properly.

PHP7 is not a must, i wanted to say if you are running old version of PHP then upgrading may fix the issue. The minimum required version for CSVI is PHP 5.4. Can you tell me which version you are running? You should check the PHP version your CLI is running on, that could be running on a older version and so your are having problem with your cron.

Running export with your template gets the SEF urls correct. Can you check if Joomla system SEF is enabled in plugins manager?

I also notice that when trying to switch language (from base) in Options, the option to select a Manufacturer disappears and All Manufacturers is forced.

Thats correct. The manufacturers are listed from the selected language table. If the language is reset, the list of manufacturers are also reset as it will be read from the new selected VirtueMart manufacturer language table.
Kind regards,

Tharuna

=========================
If you use CSVI, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 17
Accepted Answer Pending Moderation
Hello Tharuna

php v5.5.33

Thanks for info re currecy switch. The currency tables exist but are not yet populated.

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 18
Accepted Answer Pending Moderation
Hello,
php v5.5.33

Again to confirm, is this the php version of your CLI?

Thanks for info re currecy switch. The currency tables exist but are not yet populated.

Do you have manufacturers in the language table? Can you send me your VirtueMart mysql dump to check? You can send it as a private message or email it to tharuna@csvimproved.com.
Kind regards,

Tharuna

=========================
If you use CSVI, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 19
Accepted Answer Pending Moderation
Hi

Yes, 5.5.33 is the cli version.

The only language tables that are populated are the en-GB, which is the original base currency.

The others exist but are all empty.

Best

Eddie
  1. more than a month ago
  2. RO CSVI
  3. # 20
  • Page :
  • 1
  • 2
  • 3


There are no replies made for this post yet.
Be one of the first to reply to this post!