Giter Club home page Giter Club logo

Comments (5)

v03adk avatar v03adk commented on July 17, 2024

the same here. @Mondane did you solve the problem?
[edit]
I see now, sitemap.xml shows only sections, so when you see /sitemap.default.xml it is default section, go there and you will see your sitemap

from prestasitemapbundle.

Mondane avatar Mondane commented on July 17, 2024

I haven't solved this yet. Where did you find that the XML shows sections?

What would be the purpose of that? A search engine, by defaults, looks for the file www.example.com/sitemap.xml . In my opinion, it wouldn't make sence to have sectiosn.

from prestasitemapbundle.

v03adk avatar v03adk commented on July 17, 2024

@Mondane A search engine by default looks for the file http://example.com/sitemap.xml and your sitemap is there. But, inside of sitemap.xml there are sections, group of urls. Default one is "default" section, and inside sitemap.xml http://example.com/sitemap.default.xml2016-05-30T18:36:36+00:00 something like that. If you go there http://example.com/sitemap.default.xml you will see there all urls that you have added by your annotation options={"sitemap" = true}. When you use listener and add urls by addUrl() generator method, you can set there not only 'default' section but also another one, in my case it was 'jobs', so I have in sitemap.xml another section http://example.com/sitemap.jobs.xml2016-05-30T18:36:36+00:00 and when I go there I get all jobs added by listener.

from prestasitemapbundle.

yann-eugone avatar yann-eugone commented on July 17, 2024

@Mondane did @v03adk answers let you solve your problem ? please close if it is

from prestasitemapbundle.

Mondane avatar Mondane commented on July 17, 2024

@v03adk thank you for that explanation, I've found my routes now in the default sitemap.

from prestasitemapbundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.