Giter VIP home page Giter VIP logo

Comments (6)

smokeycam avatar smokeycam commented on June 8, 2024

Big +1 on this one

from silverstripe-googlesitemaps.

wilr avatar wilr commented on June 8, 2024

@Firesphere @smokeycam any reason you're unhappy about the PHP API? it would be easy to add support for YAML. Simply have:

GoogleSitemap:
register_dataobjects:
- Foo
- Bar

from silverstripe-googlesitemaps.

smokeycam avatar smokeycam commented on June 8, 2024

Hiya @wilr , maybe its me, that I am not doing this correctly. I have this in my modules YML files, but not having any effect.. any ideas?

GoogleSitemap:
register_dataobjects:
- Property
- 'Daily'

from silverstripe-googlesitemaps.

wilr avatar wilr commented on June 8, 2024

So that won't work, was just wondering if that sort of YAML API is what you wanted.

from silverstripe-googlesitemaps.

tractorcow avatar tractorcow commented on June 8, 2024

I think the idea is that could be the API. Someone would still need to add support for it in the module. :D

from silverstripe-googlesitemaps.

smokeycam avatar smokeycam commented on June 8, 2024

Oh yes, that would be ideal for me. I can always just use the _config.php
in the interim. As i am relatively new to Silverstipe and was just setting
up a 'standardised(?)' configuration setup. Having said that, a little off
topic, but is the YML config setup with Silverstipe the preferred way, or
is it an 'either one or both' (yml/_config.php) senario?

Thanks for clearing that all up.

Cheers!

On Wed, Jan 13, 2016 at 9:17 PM, Will Rossiter [email protected]
wrote:

So that won't work, was just wondering if that sort of YAML API is what
you wanted.


Reply to this email directly or view it on GitHub
#92 (comment)
.

from silverstripe-googlesitemaps.

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.