Code Monkey home page Code Monkey logo

Comments (3)

rofe avatar rofe commented on August 25, 2024

How about...
4. Always use the latin author name in the author meta property (so its translation into an author link would be straight forward) and fetch the actual display name from the generated link? Or even better:
5. The value of the author meta property could be any string, I suppose, so it could also be a URL, right? so why not put the link to the author page there, and fetch the display name from there? Word would probably create links out of these URLs if authors aren't careful, but we could easily deal with that in the pipeline.

from blog.

kptdobe avatar kptdobe commented on August 25, 2024
  1. Only the the non-latin version is important, the rest is a trick to find the author page. The latin name might still need some filtering to find the url. It might not be one-to-one. Finally, we display the non-latin version in the LCP block, we would need to fetch it first to be able to show something.
  2. from https://www.w3.org/TR/2011/WD-html5-author-20110809/the-meta-element.html#meta-author: The value must be a free-form string giving the name of one of the page's authors + same pb than about.

from blog.

kptdobe avatar kptdobe commented on August 25, 2024

After chatting with @davidnuescheler, decision is: use a separate metadata property (Author URL).
I'll change the importer to convert the links into 2 separate properties and I'll adjust the code to handle the Author URL meta.

from blog.

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.