Code Monkey home page Code Monkey logo

Comments (7)

michielbdejong avatar michielbdejong commented on June 2, 2024

cc @ChristopheDucamp

from webpage-webmentions.

voxpelli avatar voxpelli commented on June 2, 2024

The cause of this is an erroneous rel-canonical link on http://christopheducamp.com/2014/01/11/Webmentions-Jekyll/ which rather than avoiding the problem of multiple variations of the same URL instead causes that problem :)

I've now extended the normalization to always remove a slash that directly follows another slash in the path part of a URL.

A follow up improvement that would be even better would be to look up the rel-canonical of the targeted page and assign the comment to the rel-canonical page.

from webpage-webmentions.

voxpelli avatar voxpelli commented on June 2, 2024

@michielbdejong Are the mentions appearing as they should now?

from webpage-webmentions.

voxpelli avatar voxpelli commented on June 2, 2024

@ChristopheDucamp You should look into why your rel-canonical is weird btw, not sure how eg. Google feels about it pointing to that URL, if nothing else it will at least starting using that erroneous URL rather than your real one to link to your page from the search results.

from webpage-webmentions.

michielbdejong avatar michielbdejong commented on June 2, 2024

Thanks! The extra slash was indeed a typo in the html template, sorry we didn't catch that ourselves yesterday.

from webpage-webmentions.

ChristopheDucamp avatar ChristopheDucamp commented on June 2, 2024

Merci Michiel et Voxpelli for your attention. This typo is now corrected in the head template. Really happy now to be able to study & practice future webmention uses.
We'll be happy to welcome you @mozilla Paris for a future indiewebcamp in Paris... Mid-november to be confirmed !

from webpage-webmentions.

voxpelli avatar voxpelli commented on June 2, 2024

@ChristopheDucamp: Keep me posted when more info on that becomes available! :)

from webpage-webmentions.

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.