Giter Club home page Giter Club logo

Comments (4)

pfefferle avatar pfefferle commented on August 18, 2024

This is no combination of two different semantics... Your code says that the snarfed link was "mentioned" and that the twitter link is "reposted". The plugin checks the semantic of the link that was pinged and should ignore all other links (because they might be in another context). So it seems no bug that it uses the "mention" but it seems to be a bug that it uses the "repost" if you remove the first link.

from wordpress-semantic-linkbacks.

snarfed avatar snarfed commented on August 18, 2024

oops, sorry, i made a mistake trimming that example source mf2. it actually had both the snarfed.org and twitter.com links as both mentions and reposts, but i think i reproduced this behavior with just:

<div class="e-content">
RT <a href="https://twitter.com/schnarfed">@schnarfed</a>: huffduff-video lets you send @Huffduffer the audio from videos on YouTube, Vimeo, and more! snarfed.org/2015-03-07_huf… huffduff-video.snarfed.org
<a class="u-mention" href="https://snarfed.org/2015-03-07_huffduff-video"></a>
</div>
<a class="u-repost u-repost-of" href="https://snarfed.org/2015-03-07_huffduff-video"></a>

from wordpress-semantic-linkbacks.

pfefferle avatar pfefferle commented on August 18, 2024

OK, then it surely should use "repost" instead of "mention".

from wordpress-semantic-linkbacks.

pfefferle avatar pfefferle commented on August 18, 2024

the version 3.1.0 should work better, but I think I have to implement a prio list if I find the time...

from wordpress-semantic-linkbacks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.