Where is frappe --build_sitemap?

I’m using bench from here https://github.com/frappe/frappe-bench but when i enter bench frappe --build_sitemap or frappe --build_sitemap i get: frappe: error: unrecognized arguments: --build_sitemap


I just follow the tutorial Not Found and he says: To build this page, run frappe --build_sitemap from the sites folder.

there is other command?


Thanks.



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/e609cb70-d913-4b79-a299-de34cafaff19%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Hi Luis,

That guide is a bit old. The new command is --build_website

-Anand.


On Thu, Aug 28, 2014 at 3:14 PM, Luis Fernandes <lu...@gmail.com> wrote:
I'm using bench from here https://github.com/frappe/frappe-bench but when i enter bench frappe --build_sitemap or frappe --build_sitemap i get: frappe: error: unrecognized arguments: --build_sitemap


I just follow the tutorial https://frappe.io/developers/guide-chat/public-pages and he says: To build this page, run frappe --build_sitemap from the sites folder.


there is other command?


Thanks.



Note:



If you are posting an issue,


  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.



    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/e609cb70-d913-4b79-a299-de34cafaff19%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.




Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAAQzbF28y%2B5eLkmoaq–_02CwOaX%3D6kx9SAVy4hwr7CHaG3tgQ%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.
Thanks. I have spend a lot of time searching for the replace!!

Sexta-feira, 29 de Agosto de 2014 17:14:48 UTC+1, Anand Doshi escreveu:
Hi Luis,

That guide is a bit old. The new command is --build_website

-Anand.


On Thu, Aug 28, 2014 at 3:14 PM, Luis Fernandes <lu...@gmail.com> wrote:
I'm using bench from here https://github.com/frappe/frappe-bench but when i enter bench frappe --build_sitemap or frappe --build_sitemap i get: frappe: error: unrecognized arguments: --build_sitemap


I just follow the tutorial https://frappe.io/developers/guide-chat/public-pages and he says: To build this page, run frappe --build_sitemap from the sites folder.


there is other command?


Thanks.



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.

  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.

  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email

  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/e609cb70-d913-4b79-a299-de34cafaff19%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.




Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/26be84ed-bc4c-410e-9b13-e15c5f3a1f87%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.

Is anyone able to point me to the process of uploading a sitemap.xml file i.e. the file should be public and is it sufficient to simply drop the file in the public folder?

A search turns up this - you may need to make sense of the code:

frappe@ubuntu:~/frappe-bench$ find . -name ‘sitemap.xml’
./apps/frappe/frappe/www/sitemap.xml
frappe@ubuntu:~/frappe-bench$ find . -name ‘*.py’ | xargs grep ‘sitemap.xml’
./apps/frappe/frappe/website/router.py: ‘’‘Get all doctype generated routes (for sitemap.xml)’‘’
./apps/frappe/frappe/tests/test_sitemap.py: xml = get_html_for_route(‘sitemap.xml’)
./apps/frappe/frappe/www/sitemap.py:base_template_path = “templates/www/sitemap.xml”

When visiting https://erpnext.com/sitemap.xml, the xml content is available. After I have generated a sitemap file at https://www.xml-sitemaps.com/ and uploaded the file to the public folder in this installation the same sitemap contents are not available and as expected the site returns “The page you are looking for is missing. This could be because it is moved or there is a typo in the link.”

I note a number of other discussions on this site -

At this discussion SEO & Startup Code - #10 by rmehta the issue of SEO is addressed, and at another url mention is made of a build in frappe / erpnext function to generate the sitemap.xml file from the command line.

I have been unable to build a sitemap.xml from the command line, instead the file was generated with an online generator and the file was uploaded to the the public directory. Using google site tools, Google was informed of the existence of the file, and the file was recognized.

I will monitor the index but so far it seems to resolve my issue on how to approach the google indexing by simply uploading a generated file in the public folder. The question now is whether a new file will need to be generated manually periodically and then uploaded.

I accept that search engines are clever enough to recognize ErpNext’s structure when crawling a site. Whether a sitemap.xml will have any specific advantage is a further open question.

On the other hand, the question of sitemaps and search engine index ranking is probably not part of this discussion -

… if you want Google to crawl every important page of your website. But sometimes, pages end up without any internal links pointing to them, making them hard to find. An XML sitemap lists a website’s important pages, making sure Google can find and crawl them all, also helping it understand your website structure.

I also ran the site against two online SEO tools both before and after uploading the sitemap.xml file. The online audit tools were randomly chosen (https://www.metaforensics.io/ and https://seositecheckup.com/tools/structured-data-test). In both cases there was no discernible difference in the results as between the availability or not of a sitemap.xml. In both cases the erpnext site was perfectly fine.

Thank you for the earlier above reply.