-
Notifications
You must be signed in to change notification settings - Fork 191
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
Install instructions error #91
Comments
Sorry AMP team, your demo is broken and these install instructions are unclear. Any way to help the community use amp-access? This is new and completely different, poor documentation. Write like a regular person, not as a superstar programmer. |
Hey @88kbbq — can you say a bit more about what you're trying to do, what documentation you're looking at, and where you're getting stuck? /cc @andreban and @sebastianbenz , who I believe worked on the paywall example at some point (?) |
Forgive me @ericlindley-g because I'm not a real programmer and nobody in Taiwan has ever even heard of AMP HTML, let alone know how to help. Being proficient in HTML, how would I implement the amp-access feature? There are plenty of files here, but what file structure should I follow (every example here is different), are they placed inside the home directory or outside, how should I modify these files, and then what? What's going on here is that you have nice code all bundled for pros, but nothing for the average joe to follow. It's making me think of going back to a CMS. My test site is at test.88k.com.tw but I can't figure out how to achieve even basic interactivity with this standard. I hate to put emotion in support requests but we need a cookbook. Without one, I simply won't be able to use AMP for our project, and that would suck. |
Can you offer a PHP version for these endpoints? For example, the authorization for amp-access and action-xhr for amp-form, these are nowhere to be found. I understand your documentation states it's the user's responsibility to provide these endpoints, but how can I do this? Where do you find examples of what you guys have done here? I see Go code but I can't find anybody in this country to help with Go. |
Hi @88kbbq, Regarding a cookbook for AMP, check out https://ampbyexample.com/. It contains a set of cookbook style samples that range from how to write a simple Hello World in AMP to more advanced and dynamic features. It also includes amp-access. The parts that you need to provide on the server-side for amp-access to work are the authorisation and pingback endpoints. You can check their implementation on api.js. You may also want to take a look at the CORS part of the demo, on the amp-access-cors.js. Unfortunately, we only have the Node.js (Javascript) based samples at the moment. If you have specific questions on how to implement amp-access, the best places to look for help are either on StackOverflow and the AMP Slack channel. |
Thank you @andreban. I've tried to use SO but I don't have karma to post questions. Joined the Slack channel but not finding any help there. Problem is the ampbyexample code never works. It works on your site, but copy/paste to my static html page and nothing works like the demo. If the AMP team wants better adoption, really they need to do what others do and offer libraries to download and learn from. I even cloned ampbyexpamle on my server but it doesn't work either. So you have some really basic issues that prevent reasonably capable people like me from learning and implementing AMP. You guys are working really hard to make this standard the best it can be, but you're locking out lots of people by not doing this. |
I followed the instructions, installed NPM and NODEJS, on Ubuntu 16.04 using Nginx. Can't even being to explain, but just nothing works. That's it! Just like you say posted on in the reaadme. But that's not it. Very frustrating trying to keep us with the AMP project. It's just getting really sloppy. Nothing works.
The text was updated successfully, but these errors were encountered: