Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMP - WRU implementation #281

Open
SpandanaPatnam opened this issue Sep 14, 2020 · 2 comments
Open

AMP - WRU implementation #281

SpandanaPatnam opened this issue Sep 14, 2020 · 2 comments
Assignees
Labels
question Further information is requested task vikatan zendesk

Comments

@SpandanaPatnam
Copy link

Ticket ID: #10795

Publisher URL : https://www.vikatan.com/
Client Type: Custom
CMS: https://vikatan.quintype.com/

Task: Client is planning to load WRU stories in AMP infinite scroll, they're asking if there's any workaround to do it.

@SpandanaPatnam
Copy link
Author

@ags1773 @sramalin Please help us with an update on this

@ags1773
Copy link
Contributor

ags1773 commented Sep 16, 2020

@SpandanaPatnam I did some research on this, I don't think there is a workaround for this. We will have to build this feature for Vikatan.

Reason: In order to power infinite scroll using WRU, we will have to

  1. call WRU api to get recommended story slugs
  2. call individual stories to get story data
  3. pass it to infinite scroll component

I explored using amp-bind. Using that, we can do a few but not all the above things. Also, since custom JS isn't allowed on AMP pages, it's not possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested task vikatan zendesk
Projects
None yet
Development

No branches or pull requests

3 participants