Support » Plugin: RSS Aggregator by Feedzy - Powerful WP Autoblogging and News Aggregator » Bug: figcaption is added to start of created post

  • Resolved Joost

    (@jberculo)


    Hi!

    First of all, thanks for your plugin and the work you spend on it! There is a small issue that I found that you might want to take a look at.

    I am importing a feed item that has the following html contents (cleaned up for brevity’s sake).

    I replaced the ‘a’ tag with a ‘link’ tag, and removed the actual protocols, as this post was triggering some anti spam rules.

    <figure>
        <img src="protocol://some/location.jpg" />
        <figcaption>
            Some caption text (see <link href="protocol://some.link">some link</link>).
        </figcaption>
    </figure>
    <p>
        Actual article contents
    </p>

    The resulting html after import is:

    <p>Some caption text (see some link). Actual article contents</p>

    So the figure and image tags are (correctly) removed, but the caption is not. I guess this is a bug, because the caption without its associated image has no added value.

    So the expected result is:
    <p>Actual article contents</p>

    In the previous version this was working as expected.

    Regards,
    Joost.

    • This topic was modified 6 months, 2 weeks ago by Joost.
    • This topic was modified 6 months, 2 weeks ago by Joost.
    • This topic was modified 6 months, 2 weeks ago by Joost. Reason: removed some stuff as it seemed to trigger some sort of spam warning
    • This topic was modified 6 months, 2 weeks ago by Joost. Reason: text pasted twice
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Vytis

    (@bvytis)

    Hi @jberculo,

    Thank you for sharing this and for using Feedzy.

    Would you mind also sending the URL of the feed which such content so we can re-test it on our end and replicate the behavior described? Thanks!

    Thread Starter Joost

    (@jberculo)

    Plugin Support Vytis

    (@bvytis)

    Hi @jberculo,

    Thanks for sharing the feed, you’ve also mentioned that with the previous version of the plugin behavior was different, however, I cannot replicate any difference in the behavior. Also, I wasn’t able to find the exact behavior as you described, however, this was an example that I found:

    <figure id="attachment_49712" aria-describedby="caption-attachment-49712" style="width: 700px" class="wp-caption aligncenter"><img data-attachment-id="49712" data-permalink="https://mainzerbeobachter.com/2020/09/04/het-gallisch-dorpje-dat-wij-zo-goed-kennen/naix_aux_forges_triple_face_germain1/" data-orig-file="https://i1.wp.com/mainzerbeobachter.com/wp-content/uploads/2020/09/naix_aux_forges_triple_face_germain1.jpg?fit=700%2C874&ssl=1" data-orig-size="700,874" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="naix_aux_forges_triple_face_germain1" data-image-description="" data-medium-file="https://i1.wp.com/mainzerbeobachter.com/wp-content/uploads/2020/09/naix_aux_forges_triple_face_germain1.jpg?fit=240%2C300&ssl=1" data-large-file="https://i1.wp.com/mainzerbeobachter.com/wp-content/uploads/2020/09/naix_aux_forges_triple_face_germain1.jpg?fit=640%2C799&ssl=1" loading="lazy" class="size-full wp-image-49712" src="https://i1.wp.com/mainzerbeobachter.com/wp-content/uploads/2020/09/naix_aux_forges_triple_face_germain1.jpg?resize=640%2C799&ssl=1" alt="" width="640" height="799" srcset="https://i1.wp.com/mainzerbeobachter.com/wp-content/uploads/2020/09/naix_aux_forges_triple_face_germain1.jpg?w=700&ssl=1 700w, https://i1.wp.com/mainzerbeobachter.com/wp-content/uploads/2020/09/naix_aux_forges_triple_face_germain1.jpg?resize=240%2C300&ssl=1 240w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /><figcaption id="caption-attachment-49712" class="wp-caption-text">De driehoofdige Gallische godheid Lugus (Musée Saint-Rémi, <a href="https://www.livius.org/articles/place/durocortorum-reims/" data-wpel-link="external" rel="external noopener noreferrer">Reims</a>)</figcaption></figure>

    So After importing the item Content was left:
    De driehoofdige Gallische godheid Lugus (Musée Saint-Rémi, <a href="https://www.livius.org/articles/place/durocortorum-reims/">Reims</a>)

    The same happens with the latest version (3.7.0) and with the previous version (3.6.4).

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.