Code Monkey home page Code Monkey logo

Comments (7)

dominique-pfister avatar dominique-pfister commented on August 25, 2024 1

Just remembered: fr is already automatically published.

from blog.

dominique-pfister avatar dominique-pfister commented on August 25, 2024

Please elaborate what auto publish is expected to do:

  • should it take the pattern for that day (e.g. 2021-11-01) and actually publish those pages?
  • or should the pages already "be there" and just the index updated at the designated time?

from blog.

kptdobe avatar kptdobe commented on August 25, 2024

Good point. Probably more complicated that initially thought.

I see to variables:

  • the time configured in the query-index which defines "when is the beginning of the day for a region" - i.e. when articles go from raw-index to helix-default sheets
  • some timer that publish the index automatically "at the beginning of the day of a region"

Today, if author did not hit publish, it still works. It will not anymore.

I suggest that we start simple, i.e. just update the index at a given time every day for each region. If articles are missing frequently, we could considering adding more magic.

WDYT ?

from blog.

dominique-pfister avatar dominique-pfister commented on August 25, 2024

Sounds good, that should be easily doable.

from blog.

rofe avatar rofe commented on August 25, 2024

@dominique-pfister we currently only automate en and ko, while the rest of the regions is publishing manually, right? We should keep that the same.

from blog.

dominique-pfister avatar dominique-pfister commented on August 25, 2024

Prepared switch in our Google Apps Script to invoke admin's publish index API at the designated times. Next, they will automatically be invoked by Scheduled Publishing.

from blog.

kptdobe avatar kptdobe commented on August 25, 2024

The scheduling worked yesterday. Closing issue.

from blog.

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.