将 rdfa lite 添加到 Facebook Instant Articles

Adding rdfa lite to Facebook Instant Articles

我对所有形式的编码都是新手,所以请原谅我在尝试掌握这一点时摔倒了。

我正在尝试设置 fb 即时文章,但仍处于 "Production Articles" 模式。我在已经发表的文章上做了标记 What is dog training

我也想包含 RDFa Lite 语法,但每次我 运行 通过 google 结构化数据测试时,它都会不断标记不同的错误。

我让她做什么"BEGINNERS ERROR"???

提前致谢

    <!doctype html>
<html lang="en" prefix="op: http://media.facebook.com/op#">
<head>
  <meta charset="utf-8">
  <link rel="canonical" href="http://caninecoaching.co.uk/what-is-dog- training/">
  <link rel="stylesheet" title="default" href="#">
  <title>What is dog training?</title>
  <meta property="http://caninecoaching.co.uk" content="Dog Training Article">
</head>
<body>
  <div>
    <article typeof="http://schema.org/Article">
      <header>
        <!-- The cover image shown inside your article -->
        <figure>

<!--image-->
          <span property="http://schema.org/image"><img src="http://caninecoaching.co.uk/wp-content/uploads/2016/05/What-is-Dog-Training1a.jpg" property="http://schema.org/url"/></span>
<!--image-->

          <figcaption>Dog training is the process of teaching skills or behaviors to your dog.</figcaption>
        </figure>
        <!-- The title shown in your article -->
        <h1 property="headline">What is dog training?</h1>
        <!-- A kicker for your article -->
        <h3 class="op-kicker" property="http://schema.org/description">
Dog training is the process of teaching skills or behaviors to your dog. This can include teaching your dog to respond to certain commands, or helping your dog learn coping skills to certain environments.
</h3>
        <!-- The author of your article -->
        <address>
By <span property="http://schema.org/author">Paul Daly</span> HDipCCB Head Behaviourist at <span property="http://schema.org/publisher">Canine Coaching</span>.
        </address>

<!--Logo-->        
<img src="http://caninecoaching.co.uk/wp-content/uploads/2016/07/cc-logo-160x-160.jpg" property="https://schema.org/logo" />
<!--Logo-->

        <!-- The published and last modified time stamps -->
        <time class="op-published" dateTime="2016-5-16T13:30" property="http://schema.org/datePublished">May 14th 2016, 1:30 PM</time>
        <time class="op-modified" dateTime="2016-5-16T05:51" property="http://schema.org/dateModified">May 16th 2016, 05:51 AM</time>
      </header>

<!-- Headline -->
      <h2 property="https://schema.org/headline">What is dog training and how does it help our pets?</h2>
<!-- Headline -->

      <div property="http://schema.org/mainEntityOfPage">
        <p>Dog training is called classical conditioning designed by the human get a dog performing a desired behavior or skill.</p>
        <p>A person who trains dogs is said to be a dog trainer. There are many methods of dog training and many objectives, from basics to more advanced including, Police, Security, Military, Rescue, Hunting, working with livestock, Dogs for the disabled and many more. As pack animals, wild dogs have natural instincts to cooperate with their fellow dogs. Many domestic dogs will either through instinct or breeding correctly interprets and responds to signals given by a human handler or owner.</p>
        <p>There is much controversy about what is the most effective way to train a dog. Some dog trainers are said to be ‘positive trainers’ as they mostly use positive reinforcement to elicit, motivate, and achieve desired results. An opposing camp comes from ‘traditional’ trainers encouraging the use of punishment, often a physical stimulus used to regain the control of the dog.</p>
        <p>Then there are dominance trainers, who believe all animals have an innate desire to dominate others, and that this dominating behavior needs to be overcome by owner leadership. In practice nearly all trainers use all quadrants of Classical conditioning in their training, and so use both reinforcement and punishment whether they know it or not.</p>
        <p>So what do I mean by this well corrections are a form of positive punishment. Corrections can be physical (i.e. leash correction) or mental (i.e. withdrawing a reward). The dog’s personality, the behavior, and the importance of the correct behavior should all be taken into account in using corrections with your dog.</p>
        <p>In a nutshell <a href="http://caninecoaching.co.uk/positive-or-positive-reinforcement-training/">Positive Reinforcement training </a>is in fact the use of negative corrections to eliminate a behavior and positive rewards to repeat a behavior. Pure positive training does not work because the <a href="http://caninecoaching.co.uk/positive-or-positive-reinforcement-training/">positive reinforcement</a> practice is a basic Classical conditioning technique that rewards dogs for responding accordingly to the trainer’s or owner commands.</p>
        <p>Rewards often come through treats or verbal praise or other types of positive reinforces, such as a tug toy or ball, social interaction with other dogs, or the owner’s attention. The more rewarding a dog finds a reinforce the more work it will do to obtain the reinforce. Or does it or does it just causes additional expenses to the owner and risk the dog to potential to become overweight due to overeating. Studies show that positive reinforcement can also manipulate an animal to show both desirable and undesirable behavior depending on its experience.</p>
        <p>But you add positive punishment (i.e corrections) which studies show that positive punishment has its place in dog training when combined with positive reinforcement you have a sustainable, reliable training method. Training a dog takes time and patience, however with clear and consistent communication your dog will begin to understand what you or your trainer wants from them fairly quickly.</p>
        <p>This corresponds to Animal Cognition the mental capacity of non-human animals. The dog takes in the smells, the sights and sounds to remember something it has been taught. It uses your body language and your energy to gauge how serious you are about getting them to respond to you. All dogs work differently due to the breeds we have created, however they are all they same psychology.</p>
        <p>We teach, we guide and we lead our dogs. Remember training is training whatever method you use or think you use.</p>
      </div>
      <p>&nbsp; </p>
      <footer>
        <!-- Copyright details for your article -->
        <small>© <span property="http://schema.org/copyrightHolder">Canine Coaching</span></small>
      </footer>
    </article>
  </div>
</body>
</html>

像下面那样做,直到你获得更多经验。

<!DOCTYPE html>
<html lang="en" prefix="op: http://media.facebook.com/op#">
  <head>
<meta charset="utf-8" />
<link rel="canonical" href="http://caninecoaching.co.uk/what-is-dog-training/" />
<link rel="stylesheet" title="default" href="#" />
<title>What is dog training?</title>
<meta property="http://caninecoaching.co.uk" content="Dog Training Article" />
  </head>
  <body>
<div>
  <article typeof="http://schema.org/CreativeWork">
    <header>
    <!-- The cover image shown inside your article -->
    <figure>
    <span property="http://schema.org/image">
      <img src="http://caninecoaching.co.uk/wp-content/uploads/2016/05/What-is-Dog-Training1a.jpg"
      property="http://schema.org/url" />
    </span> 
    <figcaption>Dog training is the process of teaching skills or behaviors to your dog.</figcaption>
    </figure>
    <h1>What is dog training?</h1>
    <h3 class="op-kicker" property="http://schema.org/description">Dog training is the process of teaching skills or behaviors
    to your dog. This can include teaching your dog to respond to certain commands, or helping your dog learn coping skills to
    certain environments.</h3>
    <address>By 
    <span property="http://schema.org/author">Paul Daly</span> HDipCCB Head Behaviourist at 
    <span property="http://schema.org/publisher">Canine Coaching</span>.
    </address>
    <!--Logo -->
    <span property="http://schema.org/image">
      <img src="http://caninecoaching.co.uk/wp-content/uploads/2016/07/cc-logo-160x-160.jpg"
      property="http://schema.org/url" alt="canine coaching"/>
    </span> 
    <time class="op-published" datetime="2016-05-16T13:30" property="http://schema.org/datePublished">May 14th 2016, 1:30 PM</time> 
    <time class="op-modified" datetime="2016-05-16T05:51" property="http://schema.org/dateModified">May 16th 2016, 05:51 AM</time></header>
    <!-- Headline -->
    <h2 property="http://schema.org/headline">What is dog training and how does it help our pets?</h2>
    <div property="http://schema.org/mainEntityOfPage">
      <p>Dog training is called classical conditioning designed by the human get a dog performing a desired behavior or
      skill.</p>
      <p>A person who trains dogs is said to be a dog trainer. There are many methods of dog training and many objectives, from
      basics to more advanced including, Police, Security, Military, Rescue, Hunting, working with livestock, Dogs for the
      disabled and many more. As pack animals, wild dogs have natural instincts to cooperate with their fellow dogs. Many
      domestic dogs will either through instinct or breeding correctly interprets and responds to signals given by a human
      handler or owner.</p>
      <p>There is much controversy about what is the most effective way to train a dog. Some dog trainers are said to be
      ‘positive trainers’ as they mostly use positive reinforcement to elicit, motivate, and achieve desired results. An
      opposing camp comes from ‘traditional’ trainers encouraging the use of punishment, often a physical stimulus used to
      regain the control of the dog.</p>
      <p>Then there are dominance trainers, who believe all animals have an innate desire to dominate others, and that this
      dominating behavior needs to be overcome by owner leadership. In practice nearly all trainers use all quadrants of
      Classical conditioning in their training, and so use both reinforcement and punishment whether they know it or not.</p>
      <p>So what do I mean by this well corrections are a form of positive punishment. Corrections can be physical (i.e. leash
      correction) or mental (i.e. withdrawing a reward). The dog’s personality, the behavior, and the importance of the
      correct behavior should all be taken into account in using corrections with your dog.</p>
      <p>In a nutshell 
      <a href="http://caninecoaching.co.uk/positive-or-positive-reinforcement-training/">Positive Reinforcement training</a> is
      in fact the use of negative corrections to eliminate a behavior and positive rewards to repeat a behavior. Pure positive
      training does not work because the 
      <a href="http://caninecoaching.co.uk/positive-or-positive-reinforcement-training/">positive reinforcement</a> practice is
      a basic Classical conditioning technique that rewards dogs for responding accordingly to the trainer’s or owner
      commands.</p>
      <p>Rewards often come through treats or verbal praise or other types of positive reinforces, such as a tug toy or ball,
      social interaction with other dogs, or the owner’s attention. The more rewarding a dog finds a reinforce the more work
      it will do to obtain the reinforce. Or does it or does it just causes additional expenses to the owner and risk the dog
      to potential to become overweight due to overeating. Studies show that positive reinforcement can also manipulate an
      animal to show both desirable and undesirable behavior depending on its experience.</p>
      <p>But you add positive punishment (i.e corrections) which studies show that positive punishment has its place in dog
      training when combined with positive reinforcement you have a sustainable, reliable training method. Training a dog takes
      time and patience, however with clear and consistent communication your dog will begin to understand what you or your
      trainer wants from them fairly quickly.</p>
      <p>This corresponds to Animal Cognition the mental capacity of non-human animals. The dog takes in the smells, the sights
      and sounds to remember something it has been taught. It uses your body language and your energy to gauge how serious you
      are about getting them to respond to you. All dogs work differently due to the breeds we have created, however they are
      all they same psychology.</p>
      <p>We teach, we guide and we lead our dogs. Remember training is training whatever method you use or think you use.</p>
    </div>
    <p>&nbsp;</p>
    <footer>
      <small>© 
      <span property="http://schema.org/copyrightHolder">Canine Coaching</span></small>
    </footer>
  </article>
</div>
  </body>
</html>

此外,我建议您使用 W3C HTML 验证器 (https://validator.w3.org/#validate_by_input),因为您的原始来源中存在 HTML 错误。

将来,您可以学习为正在使用的词汇表分配前缀,然后使用 prefix:term 作为指定完整 IRI 的替代方法(更少的输入和更易于阅读 HTML).

下面是一个声明词汇表的例子:

<html
 prefix="
 this: http://example.com/page#
 bibo: http://purl.org/ontology/bibo/
 dbr: http://dbpedia.org/resources/
 dc: http://purl.org/dc/terms/
 foaf: http://xmlns.com/foaf/0.1/
 lcsh: http://id.loc.gov/authorities/subjects/
 og: http://ogp.me/ns#
 ore: http://www.openarchives.org/ore/terms/
"
 lang="en"
>
<body
 prefix="
 schema: http://schema.org/
 cc: http://creativecommons.org/ns#
 vivo: http://vivoweb.org/ontology/core#
 swo: http://www.ebi.ac.uk/swo/
"
 about="this:<your-term-here>"
 typeof="cc:Work bibo:Document ore:Aggregation schema:TechArticle"
>