Code Monkey home page Code Monkey logo

Comments (17)

trieloff avatar trieloff commented on August 23, 2024 1

I'm removing the auth requirement, let's see how this works.

from theblog.

trieloff avatar trieloff commented on August 23, 2024 1

Nice: https://adobeioruntime.net/api/v1/web/helix/helix-services/run-query@v2/top-blogposts?limit=10 @kptdobe maybe you can work with this. We don't have any of the metadata that's in the Algolia index, so we will have to find a way to gather it in the front end.

from theblog.

rofe avatar rofe commented on August 23, 2024 1

Note that we prefixed the URLs with /ms recently to be able to showcase Google Drive integration (#33) as well...

from theblog.

trieloff avatar trieloff commented on August 23, 2024 1

Yes, it will take a while for the stats to get updated, but in a month from now, all should be good.

from theblog.

rofe avatar rofe commented on August 23, 2024

Requires #23

from theblog.

rofe avatar rofe commented on August 23, 2024

The current state can be observed here:

@davidnuescheler it could use some CSS love :) and I'm not sure how we would currently implement the "popular stories" part... maybe we just skip that for the demo...

from theblog.

trieloff avatar trieloff commented on August 23, 2024

@rofe I think we can get a JSON file of the popular stories with help from @marquise Rosier - we may have to add a owner/repo filter to https://github.com/adobe/helix-run-query/blob/master/src/queries/top-pages.sql – but it should be doable.

from theblog.

rofe avatar rofe commented on August 23, 2024

@trieloff cool! @MarquiseRosier would you like to take a stab at this?

from theblog.

MarquiseRosier avatar MarquiseRosier commented on August 23, 2024

@rofe sure thing! :) @trieloff I'll have to filter owner/repo! Thanks for the pointer

from theblog.

MarquiseRosier avatar MarquiseRosier commented on August 23, 2024

@rofe @trieloff
Is this what you guys were looking for?

adobe/helix-run-query#95

from theblog.

rofe avatar rofe commented on August 23, 2024

@MarquiseRosier cool, thanks! @trieloff can you add it to the homepage?

from theblog.

trieloff avatar trieloff commented on August 23, 2024

@MarquiseRosier can you provide the example URL? We can then add it to the homepage and inject the contents.

from theblog.

MarquiseRosier avatar MarquiseRosier commented on August 23, 2024

@trieloff Example URL as in branch deployment?

from theblog.

trieloff avatar trieloff commented on August 23, 2024

No, it should be merged already.

from theblog.

MarquiseRosier avatar MarquiseRosier commented on August 23, 2024

Ahh ok
https://adobeioruntime.net/api/v1/web/helix/helix-services-private/[email protected]/top-blogposts
I'll update this in the documents. You just have to provide service, token!

from theblog.

MarquiseRosier avatar MarquiseRosier commented on August 23, 2024

@trieloff if needed I'd be glad to give absolute URL as the results. This might ensure there's less work on part of the service consumer!

from theblog.

rofe avatar rofe commented on August 23, 2024

Not doing popular stories for the moment. Closing.

from theblog.

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.