Support » Plugin: Instant Articles for WP » Excerpting posts

  • Just attempted to post a new article after upgrading to 2.7 and it’s truncating the post severely, posting one image (of three) and only one line of text.

    When I looked at the debug, I see a vast difference… (see below).

    If I past in the markup from the source directly to the FB editor it gives me an error:

    Too Many Line Breaks: This text block uses too many line breaks (</br> elements). Please split the text block into multiple paragraphs or reduce the number of line breaks to a maximum of 5.

    Source Markup:

    <p>Sad news out of what was quickly becoming one of Santa Clarita’s favorite Mexican restaurants. Welik, the family run eatery at Bouquet Canyon and Soledad Canyon has closed suddenly, and without notice, and doesn’t appear to be coming back. Recently on the door was a letter from an local attorney, taped to the door (peculiarly, given that it was stamped and postmarked). Inside the space had been cleared of all evidence that it ever was a restaurant, and the signs were dark.<br />
    <a href="http://eatscv.com/wp-content/uploads/2016/04/image4-1.jpg"><img class="aligncenter wp-image-2116 size-large" src="http://eatscv.com/wp-content/uploads/2016/04/image4-1-1024x768.jpg" alt="image4" width="960" height="720" srcset="http://eatscv.com/wp-content/uploads/2016/04/image4-1-1024x768.jpg 1024w, http://eatscv.com/wp-content/uploads/2016/04/image4-1-300x225.jpg 300w, http://eatscv.com/wp-content/uploads/2016/04/image4-1-768x576.jpg 768w, http://eatscv.com/wp-content/uploads/2016/04/image4-1-160x120.jpg 160w" sizes="(max-width: 960px) 100vw, 960px" /></a><br />
    Emails to the owners have not been returned, and numerous people have said they’ve left voice messages for the owners without a return call.<br />
    <a href="http://eatscv.com/wp-content/uploads/2016/04/image2-1.jpg"><img class="aligncenter wp-image-2118 size-large" src="http://eatscv.com/wp-content/uploads/2016/04/image2-1-1024x768.jpg" alt="image2" width="960" height="720" srcset="http://eatscv.com/wp-content/uploads/2016/04/image2-1-1024x768.jpg 1024w, http://eatscv.com/wp-content/uploads/2016/04/image2-1-300x225.jpg 300w, http://eatscv.com/wp-content/uploads/2016/04/image2-1-768x576.jpg 768w, http://eatscv.com/wp-content/uploads/2016/04/image2-1-160x120.jpg 160w" sizes="(max-width: 960px) 100vw, 960px" /></a><br />
    Welik had it’s share of challenges from the get go, as Lady Ducayne first noted in her review. Parking was a challenge in the oddly shaped shopping center abutting the Metrolink railroad tracks behind it. Access into the center itself from any direction other than north on Bouquet or east on Soledad would be nearly impossible at peak traffic times, and it was placed among a variety of other establishments that were a hodgepodge of retail.<br />
    <a href="http://eatscv.com/wp-content/uploads/2016/04/image1-1.jpg"><img class="aligncenter wp-image-2117 size-large" src="http://eatscv.com/wp-content/uploads/2016/04/image1-1-768x1024.jpg" alt="image1" width="768" height="1024" srcset="http://eatscv.com/wp-content/uploads/2016/04/image1-1-768x1024.jpg 768w, http://eatscv.com/wp-content/uploads/2016/04/image1-1-225x300.jpg 225w" sizes="(max-width: 768px) 100vw, 768px" /></a><br />
    Rumors were that the owners were attempting to get a beer/wine license and maybe a full liquor license but were having troubles navigating the process. In addition, several of the Santa Clarita Foodies reported hearing of disputes between the owners and the property owner, and that they may be searching for a new location.</p>
    <p>Let’s hope that’s the case because, <a href="http://eatscv.com/welik-family-run-authentic-mexican-cuisine/">as Lady Ducayne found, the food was fantastic and a truly authentic Mexican experience that the west side of the SCV could use. </a></p>

    Transformed markup:

    <html>
      <head>
        <link rel="canonical" href="http://eatscv.com/welik-shuts-down/"/>
        <meta charset="utf-8"/>
        <meta property="op:generator" content="facebook-instant-articles-sdk-php"/>
        <meta property="op:generator:version" content="1.0.3"/>
        <meta property="op:transformer" content="facebook-instant-articles-sdk-php"/>
        <meta property="op:transformer:version" content="1.0.3"/>
        <meta property="op:markup_version" content="v1.0"/>
        <meta property="fb:use_automatic_ad_placement" content="true"/>
        <meta property="fb:article_style" content="default"/>
      </head>
      <body>
        <article>
          <header>
            <figure>
              <img src="http://eatscv.com/wp-content/uploads/2016/04/image3-1.jpg"/>
            </figure>
            <h1>Welik Shutters After Short Run</h1>
            <time class="op-published" datetime="2016-04-14T12:07:53-07:00">April 14th, 12:07pm</time>
            <time class="op-modified" datetime="2016-04-14T12:56:11-07:00">April 14th, 12:56pm</time>
            <address><a href="http://eatscv.com">Todd Wilson</a></address>
            <figure class="op-ad">
              <iframe src="https://www.facebook.com/adnw_request?placement=240082309678099_240082323011431&adtype=banner300x250" width="300" height="250"></iframe>
            </figure>
          </header>
          <figure>
            <img src="http://eatscv.com/wp-content/uploads/2016/04/image4-1-1024x768.jpg"/>
          </figure>
          <p>Let’s hope that’s the case because, <a href="http://eatscv.com/welik-family-run-authentic-mexican-cuisine/">as Lady Ducayne found, the food was fantastic and a truly authentic Mexican experience that the west side of the SCV could use. </a></p>
        </article>
      </body>
    </html>

    https://wordpress.org/plugins/fb-instant-articles/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Excerpting posts’ is closed to new replies.