1

I want to create tridion core service application to create google sitemap.xml file. My CMS server is windows server and CD server is linux server.Is it possible to push sitemap.xml from CMS server to CDA server ? If yes, please suggest how can we do it ?

  • Am I missing something? Right-click, publish? – Nuno Linhares Nov 17 '15 at 9:36
3

I suggest to use the regular tridion publish functionality for this. A more simple approach would be to use a template building block to generate the sitemap xml, in that case, you could simply use this tbb to publish a certain page. There is an example of similar functionality here http://www.tridiondeveloper.com/web-sitemap

If you really need to use core services, then I suggest to use the following approach

So, while both options are viable, but unless you have some specific requirement to use the core services, I suggest to use the first option, and create the sitemap XML using a template building block, as this is the most straight-forward way of achieving what you want.

| improve this answer | |
  • Hi Harald,Thanks for providing the different approaches. I need to use core services as all our sitemap files for different regions are published in one common "sitemaps" folder.For this activity I will be required to access different publications. That was the reason I was thinking of using core services. Can we achieve similar functionality using C#TBB ? – user3560198 Nov 17 '15 at 11:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.