0

This is my very first question and seems to be easy but coding it is somehow difficult...

So, basically I've got an Agent that should just call a URL and get the content of the website. This should then be spoken out by the smart speaker. I already have a webhook working but now I'm stuck at getting the web-content..

Would be awesome if someone could please help me out here. Best regards

  • 2
    It might be helpful to try out a codelab like https://codelabs.developers.google.com/codelabs/your-first-action-on-google-with-webhook/index.html?index=..%2F..%2Findex – Nick Felker Nov 26 '17 at 17:05
  • 1
    If you can post the code that you have working, what you've tried, and where exactly you're "stuck", we might be able to point you in a better direction. – Prisoner Nov 26 '17 at 18:16
  • 1
    We definitely need more info. Are using the node sdk on the fulfillment side? https://github.com/actions-on-google/actions-on-google-nodejs – Bela Vizy Nov 27 '17 at 02:40

1 Answers1

0

Getting the web content is not easy . you have to parse the content in a web page using program , a simple logic is to detect '<' and '>' and remove all strings in between using string functions

Best of luck with that

JISHNU T U
  • 186
  • 1
  • 11