Support is online

As sitemap for VM Products #7281

Open cadko opened this topic Wednesday, 08 April 2015 · 8 replies
Author

Hello. Can you please tell me, how could I use CSVI Pro for automated sitemap of VM Products? Can you give me a template for Products Export, that I can put in my website?

Support

Hello,

how could I use CSVI Pro for automated sitemap of VM Products?

To automate things, you will need to create your export template first and then either make a cronjob or make it part of your menu structure.

Can you give me a template for Products Export, that I can put in my website?

I have no template for that. You can create a product export template of course and then export the product_url and category_path fields I guess for that. It might depend on what you need.

Have a look at the Google Sitemap article for guidance with an XML sitemap.

Kind regards,

RolandD

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

Author

Have a look at the Google Sitemap article for guidance with an XML sitemap.

Its exactly that I need! But! I use Joomla SEF URLs and URL kinds of "index.php?option=com_vurtuemart&....&itemid=1" is not good enough for SEO as links in Sitemap.

I think, its good to use JRoute::_() function in two ways: to put it into your sourcecode to get "product_url" as routed URL, and create another field, for example, "product_sef_url", to use both SEF and native URLs.

Can you please help me?

Support

If you use the field product_url and you set SEF URLs to yes in the template, CSVI will try to get the SEF URLs from Joomla. Did you do that?

Kind regards,

RolandD

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

Author

So, yes. In the "Options" tag there is "Export SEF URLs" is set to "Yes". But URLs arent SEF in exported file

Support

But URLs arent SEF in exported file

That can be the result of a few things. The system sef plugin is not enabled or the languagefilter plugin is not enabled or the SEF rewrite option in Joomla is turned off. All three must be enabled otherwise Joomla won't give CSVI a SEF URL assuming you are using only the Joomla SEF URLs.

You can check those settings.

Kind regards,

RolandD

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

Author

Many many thanks! It works now, after I set "Domain name *" in "Settings->Site"

Author

Can I change the format of fields? For example, if I want to use XML-key <lastmod>[modified_on]</lastmod>, how can I change the format of [modified_on] field, cause it has format like "MM/dd/YYYY HH:mm:ss"?

Support

Look at your template, there is the Date format field on the first tab. There you can set the format of the date.

Kind regards,

RolandD

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

Log in to reply to this topic.