huginn: Why Liquid can't get a field including more than two objects on huginn?

@dsander Hi dsander, it’s a new question I met recently. I’m still learning about JavaScript and then I’ll ask you for some help again on that sum issue😸. The following is output of my website agent and some page has url field or pic_list field and some has nothing else but content. For fetching the url field I set {{content-full | content-full.post_array.url}} in template and it didn’t work. But {{content-full | content-full.content}} and {{content-full | content-full.post_array}} could work. I looked up in Liquid and found some objects like blogs.myblog.articles and collections.frontpage.products. I don’t know why this can’t work on huginn and how to get the url field directly except regular expression. Thanks a lot!😁

`"content-full": {
  "content": "something",
  "post_array": [
    {
      "height": 724,
      "done": true,
      "width": 500,
      "type": "pic",
      "url": "http://ugc.qpic.cn/gbar_pic/sjNCraTC8A7zL7ibVEEFbEicE1ibMmppI8Rw2jicUptWepPZBAfzkFuicTw/"
    }`

About this issue

  • Original URL
  • State: open
  • Created 7 years ago
  • Comments: 61 (38 by maintainers)

Most upvoted comments

I’m still trying to understand these command about git. Till now the new app works very well😁. @dsander

Dominik is a very kind, talented and trustworthy man. He gave me plenty of help and I appreciate him very much. @bobbysteel

The first site is the remote used for huginn such as command git push -f heroku master but what’s the function of the second site https://github.com/huginn/huginn.git? It seems there’s no command needs to use it. Maybe it was set by bin/setup_heroku here.

The origin is the default git origin that is used to pull and push new code to GitHub, you need them when you want to update your Huginn instance to the latest version from GitHub: https://github.com/huginn/huginn/blob/master/doc/heroku/update.md