Giter VIP home page Giter VIP logo

Comments (3)

Haroenv avatar Haroenv commented on May 25, 2024 1

There's an example in this repo that works, and https://github.com/StudentenBildenSchueler/homepage and https://github.com/TryGhost/docs/blob/algolia/gatsby-config.js which work too.

You sent me an email as well, but I think it's likely to do with some conflict between the two queries? Can you send me the full code with API keys (via email) so I can try it out on my end?

from gatsby-plugin-algolia.

rosettazach avatar rosettazach commented on May 25, 2024 1

this was a huge help thanks! i got it working with the help of the studenten repo !

firstly, i need the proper API key...

but also the transformer method changes when using airtable to

transformer: ({ data }) => data.items.edges.map(({ node }) => node).

then, the query i used was:

 query {
  items: allAirtableLinked(
    filter: { table: { eq: "Items" } }
  ) {
    edges {
      node {
        id
        data {
          title
          thumbnail_url
          thumbnail_alt_text
          duration
          url_slug
          asset_type
          uberflip_stream_id
          uberflip_id
        }
      }
    }
  }
} 

and it worked!

from gatsby-plugin-algolia.

ethaneisenhard avatar ethaneisenhard commented on May 25, 2024

@rosettazach do you think you could publish a working example for the site you built? I want to use the same stack and think your work would help a lot in the process. thanks!

from gatsby-plugin-algolia.

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.