Comments (17)
I'm removing the auth requirement, let's see how this works.
from theblog.
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.
Note that we prefixed the URLs with /ms
recently to be able to showcase Google Drive integration (#33) as well...
from theblog.
Yes, it will take a while for the stats to get updated, but in a month from now, all should be good.
from theblog.
Requires #23
from theblog.
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.
@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.
@trieloff cool! @MarquiseRosier would you like to take a stab at this?
from theblog.
@rofe sure thing! :) @trieloff I'll have to filter owner/repo! Thanks for the pointer
from theblog.
@rofe @trieloff
Is this what you guys were looking for?
from theblog.
@MarquiseRosier cool, thanks! @trieloff can you add it to the homepage?
from theblog.
@MarquiseRosier can you provide the example URL? We can then add it to the homepage and inject the contents.
from theblog.
@trieloff Example URL as in branch deployment?
from theblog.
No, it should be merged already.
from theblog.
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.
@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.
Not doing popular stories for the moment. Closing.
from theblog.
Related Issues (20)
- Locale-based formatting for dates on cards and in articles
- Add support for non latin author names HOT 1
- Blogpost list on author page doesn't show posts where author name has different case.
- JP articles do not have a description HOT 1
- Topic page: if the first card is featured, 13 cards should be loaded
- Regional keywords for interlinks
- Font problem with some regional languages
- Instagram Embed is rendered wrongly on firefox HOT 2
- breaking-202103 migration HOT 2
- [Web Vitals] 100 lighthouse score HOT 1
- Fonts: load a kit per language HOT 3
- Homepage: media_ images are streched on theblog--adobe.hlx.page
- Embed block: add Twitter support
- Korean blog homepage - auto publish doesn't work HOT 2
- Caption issues
- switch to hlx3 HOT 17
- Sidekick: preview attaches .html extension to urls ending in /
- Region picker does not work on topic pages HOT 1
- Log a warning when topic is not found in taxonomy HOT 1
- Publish taxonomy.json whenever a topic page gets publish HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from theblog.